@enjoys/context-engine 1.0.9 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -0
- package/data/codeActions/awk.json +41 -0
- package/data/codeActions/bash.json +169 -0
- package/data/codeActions/c.json +35 -0
- package/data/codeActions/caddy.json +35 -0
- package/data/codeActions/cpp.json +35 -0
- package/data/codeActions/crontab.json +27 -0
- package/data/codeActions/csharp.json +35 -0
- package/data/codeActions/dart.json +31 -0
- package/data/codeActions/docker-compose.json +112 -0
- package/data/codeActions/dockerfile.json +35 -0
- package/data/codeActions/dotenv.json +27 -0
- package/data/codeActions/go.json +49 -0
- package/data/codeActions/graphql.json +41 -0
- package/data/codeActions/hcl.json +35 -0
- package/data/codeActions/html.json +27 -0
- package/data/codeActions/ini.json +27 -0
- package/data/codeActions/java.json +35 -0
- package/data/codeActions/javascript.json +49 -0
- package/data/codeActions/json.json +27 -0
- package/data/codeActions/kotlin.json +18 -0
- package/data/codeActions/lua.json +49 -0
- package/data/codeActions/makefile.json +35 -0
- package/data/codeActions/markdown.json +27 -0
- package/data/codeActions/nginx.json +35 -0
- package/data/codeActions/perl.json +49 -0
- package/data/codeActions/php.json +49 -0
- package/data/codeActions/powershell.json +49 -0
- package/data/codeActions/protobuf.json +49 -0
- package/data/codeActions/python.json +49 -0
- package/data/codeActions/redis-cli.json +27 -0
- package/data/codeActions/ruby.json +49 -0
- package/data/codeActions/rust.json +49 -0
- package/data/codeActions/scala.json +26 -0
- package/data/codeActions/sql.json +41 -0
- package/data/codeActions/ssh_config.json +35 -0
- package/data/codeActions/swift.json +26 -0
- package/data/codeActions/systemd.json +27 -0
- package/data/codeActions/toml.json +27 -0
- package/data/codeActions/typescript.json +49 -0
- package/data/codeActions/xml.json +27 -0
- package/data/codeActions/yaml.json +27 -0
- package/data/codeActions/zsh.json +49 -0
- package/data/codeLens/awk.json +12 -0
- package/data/codeLens/bash.json +75 -0
- package/data/codeLens/c.json +12 -0
- package/data/codeLens/caddy.json +12 -0
- package/data/codeLens/cpp.json +26 -0
- package/data/codeLens/crontab.json +12 -0
- package/data/codeLens/csharp.json +33 -0
- package/data/codeLens/dart.json +15 -0
- package/data/codeLens/docker-compose.json +4 -0
- package/data/codeLens/dockerfile.json +4 -0
- package/data/codeLens/dotenv.json +4 -0
- package/data/codeLens/go.json +26 -0
- package/data/codeLens/graphql.json +33 -0
- package/data/codeLens/hcl.json +12 -0
- package/data/codeLens/html.json +12 -0
- package/data/codeLens/ini.json +4 -0
- package/data/codeLens/java.json +33 -0
- package/data/codeLens/javascript.json +40 -0
- package/data/codeLens/json.json +4 -0
- package/data/codeLens/kotlin.json +10 -0
- package/data/codeLens/lua.json +12 -0
- package/data/codeLens/makefile.json +19 -0
- package/data/codeLens/markdown.json +4 -0
- package/data/codeLens/nginx.json +12 -0
- package/data/codeLens/perl.json +19 -0
- package/data/codeLens/php.json +40 -0
- package/data/codeLens/powershell.json +26 -0
- package/data/codeLens/protobuf.json +26 -0
- package/data/codeLens/python.json +26 -0
- package/data/codeLens/redis-cli.json +4 -0
- package/data/codeLens/ruby.json +26 -0
- package/data/codeLens/rust.json +40 -0
- package/data/codeLens/scala.json +18 -0
- package/data/codeLens/sql.json +33 -0
- package/data/codeLens/ssh_config.json +4 -0
- package/data/codeLens/swift.json +15 -0
- package/data/codeLens/systemd.json +4 -0
- package/data/codeLens/toml.json +4 -0
- package/data/codeLens/typescript.json +47 -0
- package/data/codeLens/xml.json +12 -0
- package/data/codeLens/yaml.json +4 -0
- package/data/codeLens/zsh.json +19 -0
- package/data/color/awk.json +6 -0
- package/data/color/bash.json +100 -0
- package/data/color/c.json +6 -0
- package/data/color/caddy.json +6 -0
- package/data/color/cpp.json +6 -0
- package/data/color/crontab.json +6 -0
- package/data/color/csharp.json +6 -0
- package/data/color/dart.json +37 -0
- package/data/color/docker-compose.json +6 -0
- package/data/color/dockerfile.json +6 -0
- package/data/color/dotenv.json +6 -0
- package/data/color/go.json +6 -0
- package/data/color/graphql.json +6 -0
- package/data/color/hcl.json +6 -0
- package/data/color/html.json +85 -0
- package/data/color/ini.json +6 -0
- package/data/color/java.json +6 -0
- package/data/color/javascript.json +85 -0
- package/data/color/json.json +6 -0
- package/data/color/kotlin.json +12 -0
- package/data/color/lua.json +6 -0
- package/data/color/makefile.json +6 -0
- package/data/color/markdown.json +6 -0
- package/data/color/nginx.json +6 -0
- package/data/color/perl.json +6 -0
- package/data/color/php.json +85 -0
- package/data/color/powershell.json +6 -0
- package/data/color/protobuf.json +6 -0
- package/data/color/python.json +6 -0
- package/data/color/redis-cli.json +6 -0
- package/data/color/ruby.json +6 -0
- package/data/color/rust.json +6 -0
- package/data/color/scala.json +13 -0
- package/data/color/sql.json +6 -0
- package/data/color/ssh_config.json +6 -0
- package/data/color/swift.json +37 -0
- package/data/color/systemd.json +6 -0
- package/data/color/toml.json +6 -0
- package/data/color/typescript.json +85 -0
- package/data/color/xml.json +6 -0
- package/data/color/yaml.json +6 -0
- package/data/color/zsh.json +6 -0
- package/data/commands/bash.json +102 -0
- package/data/commands/kotlin.json +45 -0
- package/data/commands/manifest.json +1 -0
- package/data/commands/scala.json +171 -0
- package/data/commands/swift.json +67 -0
- package/data/completion/dart.json +1436 -0
- package/data/completion/docker-compose.json +959 -0
- package/data/completion/kotlin.json +1580 -0
- package/data/completion/scala.json +1076 -0
- package/data/completion/swift.json +1742 -0
- package/data/declaration/awk.json +175 -0
- package/data/declaration/bash.json +301 -0
- package/data/declaration/c.json +205 -0
- package/data/declaration/caddy.json +115 -0
- package/data/declaration/cpp.json +217 -0
- package/data/declaration/crontab.json +12 -0
- package/data/declaration/csharp.json +205 -0
- package/data/declaration/dart.json +25 -0
- package/data/declaration/docker-compose.json +42 -0
- package/data/declaration/dockerfile.json +24 -0
- package/data/declaration/dotenv.json +12 -0
- package/data/declaration/go.json +139 -0
- package/data/declaration/graphql.json +42 -0
- package/data/declaration/hcl.json +211 -0
- package/data/declaration/html.json +18 -0
- package/data/declaration/ini.json +18 -0
- package/data/declaration/java.json +217 -0
- package/data/declaration/javascript.json +217 -0
- package/data/declaration/json.json +12 -0
- package/data/declaration/kotlin.json +14 -0
- package/data/declaration/lua.json +199 -0
- package/data/declaration/makefile.json +199 -0
- package/data/declaration/markdown.json +18 -0
- package/data/declaration/nginx.json +24 -0
- package/data/declaration/perl.json +199 -0
- package/data/declaration/php.json +223 -0
- package/data/declaration/powershell.json +211 -0
- package/data/declaration/protobuf.json +30 -0
- package/data/declaration/python.json +205 -0
- package/data/declaration/redis-cli.json +186 -0
- package/data/declaration/ruby.json +211 -0
- package/data/declaration/rust.json +241 -0
- package/data/declaration/scala.json +23 -0
- package/data/declaration/sql.json +217 -0
- package/data/declaration/ssh_config.json +18 -0
- package/data/declaration/swift.json +18 -0
- package/data/declaration/systemd.json +18 -0
- package/data/declaration/toml.json +24 -0
- package/data/declaration/typescript.json +235 -0
- package/data/declaration/xml.json +18 -0
- package/data/declaration/yaml.json +24 -0
- package/data/declaration/zsh.json +205 -0
- package/data/defination/dart.json +369 -0
- package/data/defination/docker-compose.json +347 -0
- package/data/defination/kotlin.json +789 -0
- package/data/defination/scala.json +285 -0
- package/data/defination/swift.json +551 -0
- package/data/documentHighlight/awk.json +135 -0
- package/data/documentHighlight/bash.json +393 -0
- package/data/documentHighlight/c.json +183 -0
- package/data/documentHighlight/caddy.json +135 -0
- package/data/documentHighlight/cpp.json +314 -0
- package/data/documentHighlight/crontab.json +39 -0
- package/data/documentHighlight/csharp.json +363 -0
- package/data/documentHighlight/dart.json +84 -0
- package/data/documentHighlight/docker-compose.json +233 -0
- package/data/documentHighlight/dockerfile.json +113 -0
- package/data/documentHighlight/dotenv.json +19 -0
- package/data/documentHighlight/go.json +234 -0
- package/data/documentHighlight/graphql.json +104 -0
- package/data/documentHighlight/hcl.json +145 -0
- package/data/documentHighlight/html.json +180 -0
- package/data/documentHighlight/ini.json +36 -0
- package/data/documentHighlight/java.json +318 -0
- package/data/documentHighlight/javascript.json +262 -0
- package/data/documentHighlight/json.json +28 -0
- package/data/documentHighlight/kotlin.json +37 -0
- package/data/documentHighlight/lua.json +141 -0
- package/data/documentHighlight/makefile.json +280 -0
- package/data/documentHighlight/markdown.json +23 -0
- package/data/documentHighlight/nginx.json +215 -0
- package/data/documentHighlight/perl.json +288 -0
- package/data/documentHighlight/php.json +321 -0
- package/data/documentHighlight/powershell.json +320 -0
- package/data/documentHighlight/protobuf.json +131 -0
- package/data/documentHighlight/python.json +222 -0
- package/data/documentHighlight/redis-cli.json +23 -0
- package/data/documentHighlight/ruby.json +342 -0
- package/data/documentHighlight/rust.json +238 -0
- package/data/documentHighlight/scala.json +79 -0
- package/data/documentHighlight/sql.json +547 -0
- package/data/documentHighlight/ssh_config.json +236 -0
- package/data/documentHighlight/swift.json +89 -0
- package/data/documentHighlight/systemd.json +363 -0
- package/data/documentHighlight/toml.json +32 -0
- package/data/documentHighlight/typescript.json +364 -0
- package/data/documentHighlight/xml.json +97 -0
- package/data/documentHighlight/yaml.json +48 -0
- package/data/documentHighlight/zsh.json +266 -0
- package/data/documentSymbol/awk.json +12 -0
- package/data/documentSymbol/bash.json +124 -0
- package/data/documentSymbol/c.json +26 -0
- package/data/documentSymbol/caddy.json +19 -0
- package/data/documentSymbol/cpp.json +40 -0
- package/data/documentSymbol/crontab.json +12 -0
- package/data/documentSymbol/csharp.json +47 -0
- package/data/documentSymbol/dart.json +20 -0
- package/data/documentSymbol/docker-compose.json +75 -0
- package/data/documentSymbol/dockerfile.json +26 -0
- package/data/documentSymbol/dotenv.json +12 -0
- package/data/documentSymbol/go.json +33 -0
- package/data/documentSymbol/graphql.json +47 -0
- package/data/documentSymbol/hcl.json +33 -0
- package/data/documentSymbol/html.json +19 -0
- package/data/documentSymbol/ini.json +19 -0
- package/data/documentSymbol/java.json +40 -0
- package/data/documentSymbol/javascript.json +40 -0
- package/data/documentSymbol/json.json +12 -0
- package/data/documentSymbol/kotlin.json +15 -0
- package/data/documentSymbol/lua.json +19 -0
- package/data/documentSymbol/makefile.json +19 -0
- package/data/documentSymbol/markdown.json +19 -0
- package/data/documentSymbol/nginx.json +26 -0
- package/data/documentSymbol/perl.json +26 -0
- package/data/documentSymbol/php.json +47 -0
- package/data/documentSymbol/powershell.json +33 -0
- package/data/documentSymbol/protobuf.json +33 -0
- package/data/documentSymbol/python.json +26 -0
- package/data/documentSymbol/redis-cli.json +4 -0
- package/data/documentSymbol/ruby.json +33 -0
- package/data/documentSymbol/rust.json +68 -0
- package/data/documentSymbol/scala.json +21 -0
- package/data/documentSymbol/sql.json +40 -0
- package/data/documentSymbol/ssh_config.json +19 -0
- package/data/documentSymbol/swift.json +17 -0
- package/data/documentSymbol/systemd.json +19 -0
- package/data/documentSymbol/toml.json +26 -0
- package/data/documentSymbol/typescript.json +61 -0
- package/data/documentSymbol/xml.json +19 -0
- package/data/documentSymbol/yaml.json +26 -0
- package/data/documentSymbol/zsh.json +26 -0
- package/data/formatting/awk.json +28 -0
- package/data/formatting/bash.json +88 -0
- package/data/formatting/c.json +28 -0
- package/data/formatting/caddy.json +23 -0
- package/data/formatting/cpp.json +28 -0
- package/data/formatting/crontab.json +19 -0
- package/data/formatting/csharp.json +28 -0
- package/data/formatting/dart.json +16 -0
- package/data/formatting/docker-compose.json +24 -0
- package/data/formatting/dockerfile.json +19 -0
- package/data/formatting/dotenv.json +19 -0
- package/data/formatting/go.json +28 -0
- package/data/formatting/graphql.json +23 -0
- package/data/formatting/hcl.json +23 -0
- package/data/formatting/html.json +23 -0
- package/data/formatting/ini.json +19 -0
- package/data/formatting/java.json +28 -0
- package/data/formatting/javascript.json +28 -0
- package/data/formatting/json.json +23 -0
- package/data/formatting/kotlin.json +14 -0
- package/data/formatting/lua.json +28 -0
- package/data/formatting/makefile.json +24 -0
- package/data/formatting/markdown.json +19 -0
- package/data/formatting/nginx.json +28 -0
- package/data/formatting/perl.json +28 -0
- package/data/formatting/php.json +28 -0
- package/data/formatting/powershell.json +28 -0
- package/data/formatting/protobuf.json +23 -0
- package/data/formatting/python.json +28 -0
- package/data/formatting/redis-cli.json +19 -0
- package/data/formatting/ruby.json +28 -0
- package/data/formatting/rust.json +28 -0
- package/data/formatting/scala.json +17 -0
- package/data/formatting/sql.json +28 -0
- package/data/formatting/ssh_config.json +22 -0
- package/data/formatting/swift.json +19 -0
- package/data/formatting/systemd.json +19 -0
- package/data/formatting/toml.json +19 -0
- package/data/formatting/typescript.json +28 -0
- package/data/formatting/xml.json +23 -0
- package/data/formatting/yaml.json +22 -0
- package/data/formatting/zsh.json +28 -0
- package/data/hover/bash.json +579 -245
- package/data/hover/dart.json +161 -0
- package/data/hover/docker-compose.json +404 -0
- package/data/hover/kotlin.json +341 -0
- package/data/hover/scala.json +209 -0
- package/data/hover/swift.json +239 -0
- package/data/implementation/awk.json +7 -0
- package/data/implementation/bash.json +44 -0
- package/data/implementation/c.json +7 -0
- package/data/implementation/caddy.json +7 -0
- package/data/implementation/cpp.json +20 -0
- package/data/implementation/crontab.json +7 -0
- package/data/implementation/csharp.json +27 -0
- package/data/implementation/dart.json +14 -0
- package/data/implementation/docker-compose.json +7 -0
- package/data/implementation/dockerfile.json +7 -0
- package/data/implementation/dotenv.json +7 -0
- package/data/implementation/go.json +9 -0
- package/data/implementation/graphql.json +20 -0
- package/data/implementation/hcl.json +7 -0
- package/data/implementation/html.json +7 -0
- package/data/implementation/ini.json +7 -0
- package/data/implementation/java.json +27 -0
- package/data/implementation/javascript.json +20 -0
- package/data/implementation/json.json +7 -0
- package/data/implementation/kotlin.json +13 -0
- package/data/implementation/lua.json +7 -0
- package/data/implementation/makefile.json +7 -0
- package/data/implementation/markdown.json +7 -0
- package/data/implementation/nginx.json +7 -0
- package/data/implementation/perl.json +7 -0
- package/data/implementation/php.json +34 -0
- package/data/implementation/powershell.json +9 -0
- package/data/implementation/protobuf.json +9 -0
- package/data/implementation/python.json +10 -0
- package/data/implementation/redis-cli.json +7 -0
- package/data/implementation/ruby.json +20 -0
- package/data/implementation/rust.json +20 -0
- package/data/implementation/scala.json +16 -0
- package/data/implementation/sql.json +7 -0
- package/data/implementation/ssh_config.json +7 -0
- package/data/implementation/swift.json +14 -0
- package/data/implementation/systemd.json +7 -0
- package/data/implementation/toml.json +7 -0
- package/data/implementation/typescript.json +27 -0
- package/data/implementation/xml.json +7 -0
- package/data/implementation/yaml.json +7 -0
- package/data/implementation/zsh.json +7 -0
- package/data/inlayHints/awk.json +35 -0
- package/data/inlayHints/bash.json +207 -0
- package/data/inlayHints/c.json +35 -0
- package/data/inlayHints/caddy.json +35 -0
- package/data/inlayHints/cpp.json +43 -0
- package/data/inlayHints/crontab.json +26 -0
- package/data/inlayHints/csharp.json +43 -0
- package/data/inlayHints/dart.json +29 -0
- package/data/inlayHints/docker-compose.json +43 -0
- package/data/inlayHints/dockerfile.json +35 -0
- package/data/inlayHints/dotenv.json +26 -0
- package/data/inlayHints/go.json +43 -0
- package/data/inlayHints/graphql.json +26 -0
- package/data/inlayHints/hcl.json +43 -0
- package/data/inlayHints/html.json +26 -0
- package/data/inlayHints/ini.json +26 -0
- package/data/inlayHints/java.json +43 -0
- package/data/inlayHints/javascript.json +43 -0
- package/data/inlayHints/json.json +26 -0
- package/data/inlayHints/kotlin.json +23 -0
- package/data/inlayHints/lua.json +43 -0
- package/data/inlayHints/makefile.json +35 -0
- package/data/inlayHints/markdown.json +26 -0
- package/data/inlayHints/nginx.json +35 -0
- package/data/inlayHints/perl.json +43 -0
- package/data/inlayHints/php.json +43 -0
- package/data/inlayHints/powershell.json +43 -0
- package/data/inlayHints/protobuf.json +26 -0
- package/data/inlayHints/python.json +35 -0
- package/data/inlayHints/redis-cli.json +35 -0
- package/data/inlayHints/ruby.json +35 -0
- package/data/inlayHints/rust.json +43 -0
- package/data/inlayHints/scala.json +42 -0
- package/data/inlayHints/sql.json +43 -0
- package/data/inlayHints/ssh_config.json +26 -0
- package/data/inlayHints/swift.json +37 -0
- package/data/inlayHints/systemd.json +26 -0
- package/data/inlayHints/toml.json +26 -0
- package/data/inlayHints/typescript.json +43 -0
- package/data/inlayHints/xml.json +26 -0
- package/data/inlayHints/yaml.json +26 -0
- package/data/inlayHints/zsh.json +43 -0
- package/data/inlineCompletions/awk.json +17 -0
- package/data/inlineCompletions/bash.json +155 -0
- package/data/inlineCompletions/c.json +17 -0
- package/data/inlineCompletions/caddy.json +11 -0
- package/data/inlineCompletions/cpp.json +17 -0
- package/data/inlineCompletions/crontab.json +11 -0
- package/data/inlineCompletions/csharp.json +23 -0
- package/data/inlineCompletions/dart.json +27 -0
- package/data/inlineCompletions/docker-compose.json +89 -0
- package/data/inlineCompletions/dockerfile.json +11 -0
- package/data/inlineCompletions/dotenv.json +4 -0
- package/data/inlineCompletions/go.json +23 -0
- package/data/inlineCompletions/graphql.json +17 -0
- package/data/inlineCompletions/hcl.json +17 -0
- package/data/inlineCompletions/html.json +11 -0
- package/data/inlineCompletions/ini.json +4 -0
- package/data/inlineCompletions/java.json +17 -0
- package/data/inlineCompletions/javascript.json +17 -0
- package/data/inlineCompletions/json.json +4 -0
- package/data/inlineCompletions/kotlin.json +19 -0
- package/data/inlineCompletions/lua.json +17 -0
- package/data/inlineCompletions/makefile.json +11 -0
- package/data/inlineCompletions/markdown.json +4 -0
- package/data/inlineCompletions/nginx.json +17 -0
- package/data/inlineCompletions/perl.json +17 -0
- package/data/inlineCompletions/php.json +17 -0
- package/data/inlineCompletions/powershell.json +17 -0
- package/data/inlineCompletions/protobuf.json +17 -0
- package/data/inlineCompletions/python.json +23 -0
- package/data/inlineCompletions/redis-cli.json +4 -0
- package/data/inlineCompletions/ruby.json +17 -0
- package/data/inlineCompletions/rust.json +23 -0
- package/data/inlineCompletions/scala.json +26 -0
- package/data/inlineCompletions/sql.json +17 -0
- package/data/inlineCompletions/ssh_config.json +11 -0
- package/data/inlineCompletions/swift.json +23 -0
- package/data/inlineCompletions/systemd.json +4 -0
- package/data/inlineCompletions/toml.json +4 -0
- package/data/inlineCompletions/typescript.json +17 -0
- package/data/inlineCompletions/xml.json +4 -0
- package/data/inlineCompletions/yaml.json +4 -0
- package/data/inlineCompletions/zsh.json +17 -0
- package/data/links/awk.json +10 -0
- package/data/links/bash.json +56 -0
- package/data/links/c.json +15 -0
- package/data/links/caddy.json +15 -0
- package/data/links/cpp.json +15 -0
- package/data/links/crontab.json +10 -0
- package/data/links/csharp.json +15 -0
- package/data/links/dart.json +16 -0
- package/data/links/docker-compose.json +47 -0
- package/data/links/dockerfile.json +15 -0
- package/data/links/dotenv.json +10 -0
- package/data/links/go.json +15 -0
- package/data/links/graphql.json +10 -0
- package/data/links/hcl.json +15 -0
- package/data/links/html.json +15 -0
- package/data/links/ini.json +10 -0
- package/data/links/java.json +15 -0
- package/data/links/javascript.json +15 -0
- package/data/links/json.json +10 -0
- package/data/links/kotlin.json +10 -0
- package/data/links/lua.json +15 -0
- package/data/links/makefile.json +15 -0
- package/data/links/markdown.json +15 -0
- package/data/links/nginx.json +15 -0
- package/data/links/perl.json +15 -0
- package/data/links/php.json +15 -0
- package/data/links/powershell.json +15 -0
- package/data/links/protobuf.json +15 -0
- package/data/links/python.json +15 -0
- package/data/links/redis-cli.json +10 -0
- package/data/links/ruby.json +15 -0
- package/data/links/rust.json +15 -0
- package/data/links/scala.json +17 -0
- package/data/links/sql.json +10 -0
- package/data/links/ssh_config.json +15 -0
- package/data/links/swift.json +13 -0
- package/data/links/systemd.json +10 -0
- package/data/links/toml.json +10 -0
- package/data/links/typescript.json +15 -0
- package/data/links/xml.json +15 -0
- package/data/links/yaml.json +10 -0
- package/data/links/zsh.json +15 -0
- package/data/manifest.json +1535 -470
- package/data/references/awk.json +166 -0
- package/data/references/bash.json +221 -0
- package/data/references/c.json +166 -0
- package/data/references/caddy.json +134 -0
- package/data/references/cpp.json +166 -0
- package/data/references/crontab.json +5 -0
- package/data/references/csharp.json +166 -0
- package/data/references/dart.json +15 -0
- package/data/references/docker-compose.json +42 -0
- package/data/references/dockerfile.json +5 -0
- package/data/references/dotenv.json +5 -0
- package/data/references/go.json +150 -0
- package/data/references/graphql.json +5 -0
- package/data/references/hcl.json +166 -0
- package/data/references/html.json +5 -0
- package/data/references/ini.json +5 -0
- package/data/references/java.json +166 -0
- package/data/references/javascript.json +166 -0
- package/data/references/json.json +5 -0
- package/data/references/kotlin.json +12 -0
- package/data/references/lua.json +166 -0
- package/data/references/makefile.json +166 -0
- package/data/references/markdown.json +5 -0
- package/data/references/nginx.json +5 -0
- package/data/references/perl.json +166 -0
- package/data/references/php.json +166 -0
- package/data/references/powershell.json +166 -0
- package/data/references/protobuf.json +5 -0
- package/data/references/python.json +166 -0
- package/data/references/redis-cli.json +166 -0
- package/data/references/ruby.json +166 -0
- package/data/references/rust.json +166 -0
- package/data/references/scala.json +15 -0
- package/data/references/sql.json +166 -0
- package/data/references/ssh_config.json +5 -0
- package/data/references/swift.json +14 -0
- package/data/references/systemd.json +5 -0
- package/data/references/toml.json +5 -0
- package/data/references/typescript.json +166 -0
- package/data/references/xml.json +5 -0
- package/data/references/yaml.json +5 -0
- package/data/references/zsh.json +166 -0
- package/data/typeDefinition/awk.json +29 -0
- package/data/typeDefinition/bash.json +95 -0
- package/data/typeDefinition/c.json +149 -0
- package/data/typeDefinition/caddy.json +4 -0
- package/data/typeDefinition/cpp.json +257 -0
- package/data/typeDefinition/crontab.json +4 -0
- package/data/typeDefinition/csharp.json +251 -0
- package/data/typeDefinition/dart.json +35 -0
- package/data/typeDefinition/docker-compose.json +4 -0
- package/data/typeDefinition/dockerfile.json +4 -0
- package/data/typeDefinition/dotenv.json +4 -0
- package/data/typeDefinition/go.json +173 -0
- package/data/typeDefinition/graphql.json +35 -0
- package/data/typeDefinition/hcl.json +59 -0
- package/data/typeDefinition/html.json +4 -0
- package/data/typeDefinition/ini.json +4 -0
- package/data/typeDefinition/java.json +311 -0
- package/data/typeDefinition/javascript.json +293 -0
- package/data/typeDefinition/json.json +41 -0
- package/data/typeDefinition/kotlin.json +33 -0
- package/data/typeDefinition/lua.json +53 -0
- package/data/typeDefinition/makefile.json +4 -0
- package/data/typeDefinition/markdown.json +4 -0
- package/data/typeDefinition/nginx.json +4 -0
- package/data/typeDefinition/perl.json +47 -0
- package/data/typeDefinition/php.json +311 -0
- package/data/typeDefinition/powershell.json +167 -0
- package/data/typeDefinition/protobuf.json +197 -0
- package/data/typeDefinition/python.json +293 -0
- package/data/typeDefinition/redis-cli.json +59 -0
- package/data/typeDefinition/ruby.json +317 -0
- package/data/typeDefinition/rust.json +521 -0
- package/data/typeDefinition/scala.json +52 -0
- package/data/typeDefinition/sql.json +281 -0
- package/data/typeDefinition/ssh_config.json +4 -0
- package/data/typeDefinition/swift.json +56 -0
- package/data/typeDefinition/systemd.json +4 -0
- package/data/typeDefinition/toml.json +65 -0
- package/data/typeDefinition/typescript.json +425 -0
- package/data/typeDefinition/xml.json +4 -0
- package/data/typeDefinition/yaml.json +71 -0
- package/data/typeDefinition/zsh.json +35 -0
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "cpp",
|
|
3
|
+
"codeLensPatterns": [
|
|
4
|
+
{
|
|
5
|
+
"pattern": "^\\\\s*(?:[\\\\w:<>&*]+\\\\s+)+\\\\*?(\\\\w+)\\\\s*\\\\(",
|
|
6
|
+
"captureGroup": 1,
|
|
7
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
8
|
+
"title": "Find References",
|
|
9
|
+
"description": "Show all references to this function"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"pattern": "^\\\\s*(?:template\\\\s*<[^>]*>\\\\s*)?class\\\\s+(\\\\w+)",
|
|
13
|
+
"captureGroup": 1,
|
|
14
|
+
"commandId": "editor.action.goToImplementation",
|
|
15
|
+
"title": "Find Implementations",
|
|
16
|
+
"description": "Show all implementations of this class"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"pattern": "^\\\\s*TEST(?:_F|_P)?\\\\s*\\\\(",
|
|
20
|
+
"captureGroup": 0,
|
|
21
|
+
"commandId": "testing.runAtCursor",
|
|
22
|
+
"title": "Run Test",
|
|
23
|
+
"description": "Run this test case"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "crontab",
|
|
3
|
+
"codeLensPatterns": [
|
|
4
|
+
{
|
|
5
|
+
"pattern": "^\\\\s*(\\\\S+\\\\s+\\\\S+\\\\s+\\\\S+\\\\s+\\\\S+\\\\s+\\\\S+)\\\\s+(.+)",
|
|
6
|
+
"captureGroup": 0,
|
|
7
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
8
|
+
"title": "Find References",
|
|
9
|
+
"description": "Show all references to this function"
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "csharp",
|
|
3
|
+
"codeLensPatterns": [
|
|
4
|
+
{
|
|
5
|
+
"pattern": "^\\\\s*(?:public|private|protected|internal|static|abstract|sealed|partial)?\\\\s*class\\\\s+(\\\\w+)",
|
|
6
|
+
"captureGroup": 1,
|
|
7
|
+
"commandId": "editor.action.goToImplementation",
|
|
8
|
+
"title": "Find Implementations",
|
|
9
|
+
"description": "Show all implementations of this class"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"pattern": "^\\\\s*(?:public|private|protected|internal)?\\\\s*interface\\\\s+(\\\\w+)",
|
|
13
|
+
"captureGroup": 1,
|
|
14
|
+
"commandId": "editor.action.goToImplementation",
|
|
15
|
+
"title": "Find Implementations",
|
|
16
|
+
"description": "Show all implementations of this interface"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"pattern": "^\\\\s*(?:public|private|protected|internal|static|virtual|override|abstract|async)?\\\\s*[\\\\w<>\\\\[\\\\],?]+\\\\s+(\\\\w+)\\\\s*\\\\(",
|
|
20
|
+
"captureGroup": 1,
|
|
21
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
22
|
+
"title": "Find References",
|
|
23
|
+
"description": "Show all references to this method"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"pattern": "^\\\\s*\\\\[(?:Test|Fact|Theory|TestMethod)\\\\]",
|
|
27
|
+
"captureGroup": 0,
|
|
28
|
+
"commandId": "testing.runAtCursor",
|
|
29
|
+
"title": "Run Test",
|
|
30
|
+
"description": "Run this test case"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "dart",
|
|
3
|
+
"codeLensPatterns": [
|
|
4
|
+
{"pattern": "^\\s*(?:(?:abstract|sealed|interface|base|final|mixin)\\s+)*class\\s+(\\w+)", "captureGroup": 1, "commandId": "editor.action.goToImplementation", "title": "Find Implementations", "description": "Show all implementations of this class"},
|
|
5
|
+
{"pattern": "^\\s*(?:(?:static|external)\\s+)*(?:\\w+(?:<[^>]*>)?\\s+)?(\\w+)\\s*(?:<[^>]*>)?\\s*\\([^)]*\\)\\s*(?:async\\*?|sync\\*)?\\s*[{=]", "captureGroup": 1, "commandId": "editor.action.referenceSearch.trigger", "title": "Find References", "description": "Show all references to this function"},
|
|
6
|
+
{"pattern": "^\\s*void\\s+main\\s*\\(", "captureGroup": 0, "commandId": "workbench.action.debug.start", "title": "Run", "description": "Run main function"},
|
|
7
|
+
{"pattern": "^\\s*test\\s*\\(\\s*'([^']+)'", "captureGroup": 1, "commandId": "testing.runAtCursor", "title": "Run Test", "description": "Run this test"},
|
|
8
|
+
{"pattern": "^\\s*group\\s*\\(\\s*'([^']+)'", "captureGroup": 1, "commandId": "testing.runAtCursor", "title": "Run Group", "description": "Run this test group"},
|
|
9
|
+
{"pattern": "^\\s*testWidgets\\s*\\(\\s*'([^']+)'", "captureGroup": 1, "commandId": "testing.runAtCursor", "title": "Run Widget Test", "description": "Run this widget test"},
|
|
10
|
+
{"pattern": "^\\s*(?:(?:abstract|sealed|interface|base|final|mixin)\\s+)*class\\s+(\\w+)\\s+extends\\s+(?:Stateless|Stateful)Widget", "captureGroup": 1, "commandId": "editor.action.referenceSearch.trigger", "title": "Find References", "description": "Show all references to this widget class"},
|
|
11
|
+
{"pattern": "^\\s*enum\\s+(\\w+)", "captureGroup": 1, "commandId": "editor.action.referenceSearch.trigger", "title": "Find References", "description": "Show all references to this enum"},
|
|
12
|
+
{"pattern": "^\\s*mixin\\s+(\\w+)", "captureGroup": 1, "commandId": "editor.action.referenceSearch.trigger", "title": "Find References", "description": "Show all references to this mixin"},
|
|
13
|
+
{"pattern": "^\\s*extension\\s+(\\w+)\\s+on", "captureGroup": 1, "commandId": "editor.action.referenceSearch.trigger", "title": "Find References", "description": "Show all references to this extension"}
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "go",
|
|
3
|
+
"codeLensPatterns": [
|
|
4
|
+
{
|
|
5
|
+
"pattern": "^\\\\s*func\\\\s+(?:\\\\([^)]*\\\\)\\\\s+)?(\\\\w+)",
|
|
6
|
+
"captureGroup": 1,
|
|
7
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
8
|
+
"title": "Find References",
|
|
9
|
+
"description": "Show all references to this function"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"pattern": "^\\\\s*type\\\\s+(\\\\w+)",
|
|
13
|
+
"captureGroup": 1,
|
|
14
|
+
"commandId": "editor.action.goToImplementation",
|
|
15
|
+
"title": "Find Implementations",
|
|
16
|
+
"description": "Show all implementations of this class"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"pattern": "^\\\\s*func\\\\s+Test\\\\w+\\\\(",
|
|
20
|
+
"captureGroup": 0,
|
|
21
|
+
"commandId": "testing.runAtCursor",
|
|
22
|
+
"title": "Run Test",
|
|
23
|
+
"description": "Run this test case"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "graphql",
|
|
3
|
+
"codeLensPatterns": [
|
|
4
|
+
{
|
|
5
|
+
"pattern": "^\\\\s*type\\\\s+(\\\\w+)",
|
|
6
|
+
"captureGroup": 1,
|
|
7
|
+
"commandId": "editor.action.goToImplementation",
|
|
8
|
+
"title": "Find Implementations",
|
|
9
|
+
"description": "Show all implementations of this class"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"pattern": "^\\\\s*interface\\\\s+(\\\\w+)",
|
|
13
|
+
"captureGroup": 1,
|
|
14
|
+
"commandId": "editor.action.goToImplementation",
|
|
15
|
+
"title": "Find Implementations",
|
|
16
|
+
"description": "Show all implementations of this interface"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"pattern": "^\\\\s*fragment\\\\s+(\\\\w+)",
|
|
20
|
+
"captureGroup": 1,
|
|
21
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
22
|
+
"title": "Find References",
|
|
23
|
+
"description": "Show all references to this function"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"pattern": "^\\\\s*(?:query|mutation|subscription)\\\\s+(\\\\w+)",
|
|
27
|
+
"captureGroup": 1,
|
|
28
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
29
|
+
"title": "Find References",
|
|
30
|
+
"description": "Show all references to this function"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "hcl",
|
|
3
|
+
"codeLensPatterns": [
|
|
4
|
+
{
|
|
5
|
+
"pattern": "^\\\\s*resource\\\\s+\"(\\\\w+)\"\\\\s+\"(\\\\w+)\"",
|
|
6
|
+
"captureGroup": 0,
|
|
7
|
+
"commandId": "editor.action.goToImplementation",
|
|
8
|
+
"title": "Find Implementations",
|
|
9
|
+
"description": "Show all implementations of this class"
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "html",
|
|
3
|
+
"codeLensPatterns": [
|
|
4
|
+
{
|
|
5
|
+
"pattern": "class=\"([^\"]+)\"",
|
|
6
|
+
"captureGroup": 1,
|
|
7
|
+
"commandId": "editor.action.goToImplementation",
|
|
8
|
+
"title": "Find Implementations",
|
|
9
|
+
"description": "Show all implementations of this class"
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "java",
|
|
3
|
+
"codeLensPatterns": [
|
|
4
|
+
{
|
|
5
|
+
"pattern": "^\\\\s*(?:public|private|protected|abstract|final|static|sealed)?\\\\s*class\\\\s+(\\\\w+)",
|
|
6
|
+
"captureGroup": 1,
|
|
7
|
+
"commandId": "editor.action.goToImplementation",
|
|
8
|
+
"title": "Find Implementations",
|
|
9
|
+
"description": "Show all implementations of this class"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"pattern": "^\\\\s*(?:public|private|protected)?\\\\s*interface\\\\s+(\\\\w+)",
|
|
13
|
+
"captureGroup": 1,
|
|
14
|
+
"commandId": "editor.action.goToImplementation",
|
|
15
|
+
"title": "Find Implementations",
|
|
16
|
+
"description": "Show all implementations of this interface"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"pattern": "^\\\\s*(?:public|private|protected|static|final|abstract|synchronized|native)?\\\\s*(?:[\\\\w<>\\\\[\\\\],?]+\\\\s+)(\\\\w+)\\\\s*\\\\(",
|
|
20
|
+
"captureGroup": 1,
|
|
21
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
22
|
+
"title": "Find References",
|
|
23
|
+
"description": "Show all references to this method"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"pattern": "^\\\\s*@(?:Test|ParameterizedTest|RepeatedTest)\\\\b",
|
|
27
|
+
"captureGroup": 0,
|
|
28
|
+
"commandId": "testing.runAtCursor",
|
|
29
|
+
"title": "Run Test",
|
|
30
|
+
"description": "Run this test case"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "javascript",
|
|
3
|
+
"codeLensPatterns": [
|
|
4
|
+
{
|
|
5
|
+
"pattern": "^\\\\s*(?:export\\\\s+)?(?:async\\\\s+)?function\\\\s*\\\\*?\\\\s*(\\\\w+)",
|
|
6
|
+
"captureGroup": 1,
|
|
7
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
8
|
+
"title": "Find References",
|
|
9
|
+
"description": "Show all references to this function"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"pattern": "^\\\\s*(?:export\\\\s+)?class\\\\s+(\\\\w+)",
|
|
13
|
+
"captureGroup": 1,
|
|
14
|
+
"commandId": "editor.action.goToImplementation",
|
|
15
|
+
"title": "Find Implementations",
|
|
16
|
+
"description": "Show all implementations of this class"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"pattern": "^\\\\s*(?:export\\\\s+)?(?:const|let|var)\\\\s+(\\\\w+)\\\\s*=\\\\s*(?:async\\\\s+)?(?:\\\\([^)]*\\\\)|\\\\w+)\\\\s*=>",
|
|
20
|
+
"captureGroup": 1,
|
|
21
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
22
|
+
"title": "Find References",
|
|
23
|
+
"description": "Show all references to this function"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"pattern": "^\\\\s*(?:async\\\\s+)?(?:static\\\\s+)?(?:get\\\\s+|set\\\\s+)?(\\\\w+)\\\\s*\\\\(",
|
|
27
|
+
"captureGroup": 1,
|
|
28
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
29
|
+
"title": "Find References",
|
|
30
|
+
"description": "Show all references to this method"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"pattern": "^\\\\s*(?:it|test|describe)\\\\s*\\\\(",
|
|
34
|
+
"captureGroup": 0,
|
|
35
|
+
"commandId": "testing.runAtCursor",
|
|
36
|
+
"title": "Run Test",
|
|
37
|
+
"description": "Run this test case"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "kotlin",
|
|
3
|
+
"codeLensPatterns": [
|
|
4
|
+
{"pattern": "^\\s*(?:(?:private|protected|internal|public|override|open|abstract|suspend|inline)\\s+)*fun\\s+(\\w+)", "captureGroup": 1, "commandId": "editor.action.referenceSearch.trigger", "title": "Find References", "description": "Show all references to this function"},
|
|
5
|
+
{"pattern": "^\\s*(?:(?:abstract|open|sealed|data|enum|inner|annotation)\\s+)*class\\s+(\\w+)", "captureGroup": 1, "commandId": "editor.action.goToImplementation", "title": "Find Implementations", "description": "Show all implementations"},
|
|
6
|
+
{"pattern": "^\\s*interface\\s+(\\w+)", "captureGroup": 1, "commandId": "editor.action.goToImplementation", "title": "Find Implementations", "description": "Show all implementations of this interface"},
|
|
7
|
+
{"pattern": "^\\s*@Test\\s*\\n\\s*fun\\s+(\\w+)", "captureGroup": 1, "commandId": "testing.runAtCursor", "title": "Run Test", "description": "Run this test"},
|
|
8
|
+
{"pattern": "^\\s*fun\\s+main\\s*\\(", "captureGroup": 0, "commandId": "workbench.action.debug.start", "title": "Run", "description": "Run main function"}
|
|
9
|
+
]
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "lua",
|
|
3
|
+
"codeLensPatterns": [
|
|
4
|
+
{
|
|
5
|
+
"pattern": "^\\\\s*(?:local\\\\s+)?function\\\\s+(\\\\w+[\\\\w.:]*)",
|
|
6
|
+
"captureGroup": 1,
|
|
7
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
8
|
+
"title": "Find References",
|
|
9
|
+
"description": "Show all references to this function"
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "makefile",
|
|
3
|
+
"codeLensPatterns": [
|
|
4
|
+
{
|
|
5
|
+
"pattern": "^([a-zA-Z_][a-zA-Z0-9_./-]*)\\\\s*:",
|
|
6
|
+
"captureGroup": 1,
|
|
7
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
8
|
+
"title": "Find References",
|
|
9
|
+
"description": "Show all references to this function"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"pattern": "^test",
|
|
13
|
+
"captureGroup": 0,
|
|
14
|
+
"commandId": "testing.runAtCursor",
|
|
15
|
+
"title": "Run Test",
|
|
16
|
+
"description": "Run this test case"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "nginx",
|
|
3
|
+
"codeLensPatterns": [
|
|
4
|
+
{
|
|
5
|
+
"pattern": "^\\\\s*location\\\\s+(\\\\S+)",
|
|
6
|
+
"captureGroup": 1,
|
|
7
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
8
|
+
"title": "Find References",
|
|
9
|
+
"description": "Show all references to this function"
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "perl",
|
|
3
|
+
"codeLensPatterns": [
|
|
4
|
+
{
|
|
5
|
+
"pattern": "^\\\\s*sub\\\\s+(\\\\w+)",
|
|
6
|
+
"captureGroup": 1,
|
|
7
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
8
|
+
"title": "Find References",
|
|
9
|
+
"description": "Show all references to this function"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"pattern": "^\\\\s*(?:ok|is|isnt|like|unlike|cmp_ok|is_deeply|subtest)\\\\s*\\\\(",
|
|
13
|
+
"captureGroup": 0,
|
|
14
|
+
"commandId": "testing.runAtCursor",
|
|
15
|
+
"title": "Run Test",
|
|
16
|
+
"description": "Run this test case"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "php",
|
|
3
|
+
"codeLensPatterns": [
|
|
4
|
+
{
|
|
5
|
+
"pattern": "^\\\\s*(?:public|private|protected|static)?\\\\s*function\\\\s+(\\\\w+)",
|
|
6
|
+
"captureGroup": 1,
|
|
7
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
8
|
+
"title": "Find References",
|
|
9
|
+
"description": "Show all references to this function"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"pattern": "^\\\\s*(?:abstract|final)?\\\\s*class\\\\s+(\\\\w+)",
|
|
13
|
+
"captureGroup": 1,
|
|
14
|
+
"commandId": "editor.action.goToImplementation",
|
|
15
|
+
"title": "Find Implementations",
|
|
16
|
+
"description": "Show all implementations of this class"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"pattern": "^\\\\s*interface\\\\s+(\\\\w+)",
|
|
20
|
+
"captureGroup": 1,
|
|
21
|
+
"commandId": "editor.action.goToImplementation",
|
|
22
|
+
"title": "Find Implementations",
|
|
23
|
+
"description": "Show all implementations of this interface"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"pattern": "^\\\\s*trait\\\\s+(\\\\w+)",
|
|
27
|
+
"captureGroup": 1,
|
|
28
|
+
"commandId": "editor.action.goToImplementation",
|
|
29
|
+
"title": "Find Implementations",
|
|
30
|
+
"description": "Show all implementations of this class"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"pattern": "^\\\\s*(?:public\\\\s+)?function\\\\s+test\\\\w+\\\\(",
|
|
34
|
+
"captureGroup": 0,
|
|
35
|
+
"commandId": "testing.runAtCursor",
|
|
36
|
+
"title": "Run Test",
|
|
37
|
+
"description": "Run this test case"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "powershell",
|
|
3
|
+
"codeLensPatterns": [
|
|
4
|
+
{
|
|
5
|
+
"pattern": "^\\\\s*function\\\\s+(\\\\w[\\\\w-]*)",
|
|
6
|
+
"captureGroup": 1,
|
|
7
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
8
|
+
"title": "Find References",
|
|
9
|
+
"description": "Show all references to this function"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"pattern": "^\\\\s*class\\\\s+(\\\\w+)",
|
|
13
|
+
"captureGroup": 1,
|
|
14
|
+
"commandId": "editor.action.goToImplementation",
|
|
15
|
+
"title": "Find Implementations",
|
|
16
|
+
"description": "Show all implementations of this class"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"pattern": "^\\\\s*(?:Describe|Context|It)\\\\s+",
|
|
20
|
+
"captureGroup": 0,
|
|
21
|
+
"commandId": "testing.runAtCursor",
|
|
22
|
+
"title": "Run Test",
|
|
23
|
+
"description": "Run this test case"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "protobuf",
|
|
3
|
+
"codeLensPatterns": [
|
|
4
|
+
{
|
|
5
|
+
"pattern": "^\\\\s*message\\\\s+(\\\\w+)",
|
|
6
|
+
"captureGroup": 1,
|
|
7
|
+
"commandId": "editor.action.goToImplementation",
|
|
8
|
+
"title": "Find Implementations",
|
|
9
|
+
"description": "Show all implementations of this class"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"pattern": "^\\\\s*service\\\\s+(\\\\w+)",
|
|
13
|
+
"captureGroup": 1,
|
|
14
|
+
"commandId": "editor.action.goToImplementation",
|
|
15
|
+
"title": "Find Implementations",
|
|
16
|
+
"description": "Show all implementations of this interface"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"pattern": "^\\\\s*rpc\\\\s+(\\\\w+)",
|
|
20
|
+
"captureGroup": 1,
|
|
21
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
22
|
+
"title": "Find References",
|
|
23
|
+
"description": "Show all references to this method"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "python",
|
|
3
|
+
"codeLensPatterns": [
|
|
4
|
+
{
|
|
5
|
+
"pattern": "^\\\\s*(?:async\\\\s+)?def\\\\s+(\\\\w+)",
|
|
6
|
+
"captureGroup": 1,
|
|
7
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
8
|
+
"title": "Find References",
|
|
9
|
+
"description": "Show all references to this function"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"pattern": "^\\\\s*class\\\\s+(\\\\w+)",
|
|
13
|
+
"captureGroup": 1,
|
|
14
|
+
"commandId": "editor.action.goToImplementation",
|
|
15
|
+
"title": "Find Implementations",
|
|
16
|
+
"description": "Show all implementations of this class"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"pattern": "^\\\\s*(?:def\\\\s+test_|class\\\\s+Test)",
|
|
20
|
+
"captureGroup": 0,
|
|
21
|
+
"commandId": "testing.runAtCursor",
|
|
22
|
+
"title": "Run Test",
|
|
23
|
+
"description": "Run this test case"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "ruby",
|
|
3
|
+
"codeLensPatterns": [
|
|
4
|
+
{
|
|
5
|
+
"pattern": "^\\\\s*def\\\\s+(\\\\w+[!?=]?)",
|
|
6
|
+
"captureGroup": 1,
|
|
7
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
8
|
+
"title": "Find References",
|
|
9
|
+
"description": "Show all references to this method"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"pattern": "^\\\\s*class\\\\s+(\\\\w+)",
|
|
13
|
+
"captureGroup": 1,
|
|
14
|
+
"commandId": "editor.action.goToImplementation",
|
|
15
|
+
"title": "Find Implementations",
|
|
16
|
+
"description": "Show all implementations of this class"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"pattern": "^\\\\s*(?:def\\\\s+test_|it\\\\s+['\"]|describe\\\\s+|context\\\\s+)",
|
|
20
|
+
"captureGroup": 0,
|
|
21
|
+
"commandId": "testing.runAtCursor",
|
|
22
|
+
"title": "Run Test",
|
|
23
|
+
"description": "Run this test case"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "rust",
|
|
3
|
+
"codeLensPatterns": [
|
|
4
|
+
{
|
|
5
|
+
"pattern": "^\\\\s*(?:pub\\\\s+)?(?:async\\\\s+)?fn\\\\s+(\\\\w+)",
|
|
6
|
+
"captureGroup": 1,
|
|
7
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
8
|
+
"title": "Find References",
|
|
9
|
+
"description": "Show all references to this function"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"pattern": "^\\\\s*(?:pub\\\\s+)?(?:unsafe\\\\s+)?trait\\\\s+(\\\\w+)",
|
|
13
|
+
"captureGroup": 1,
|
|
14
|
+
"commandId": "editor.action.goToImplementation",
|
|
15
|
+
"title": "Find Implementations",
|
|
16
|
+
"description": "Show all implementations of this interface"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"pattern": "^\\\\s*impl(?:<[^>]*>)?\\\\s+(\\\\w+)",
|
|
20
|
+
"captureGroup": 1,
|
|
21
|
+
"commandId": "editor.action.goToImplementation",
|
|
22
|
+
"title": "Find Implementations",
|
|
23
|
+
"description": "Show all implementations of this class"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"pattern": "^\\\\s*(?:pub\\\\s+)?type\\\\s+(\\\\w+)",
|
|
27
|
+
"captureGroup": 1,
|
|
28
|
+
"commandId": "editor.action.goToImplementation",
|
|
29
|
+
"title": "Find Implementations",
|
|
30
|
+
"description": "Show all implementations of this class"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"pattern": "^\\\\s*#\\\\[test\\\\]",
|
|
34
|
+
"captureGroup": 0,
|
|
35
|
+
"commandId": "testing.runAtCursor",
|
|
36
|
+
"title": "Run Test",
|
|
37
|
+
"description": "Run this test case"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "scala",
|
|
3
|
+
"codeLensPatterns": [
|
|
4
|
+
{"pattern": "^\\s*(?:(?:override|private|protected|final|abstract|implicit|inline|transparent)\\s+)*def\\s+(\\w+)", "captureGroup": 1, "commandId": "editor.action.referenceSearch.trigger", "title": "Find References", "description": "Show all references to this method"},
|
|
5
|
+
{"pattern": "^\\s*(?:(?:abstract|sealed|final|open|case|implicit)\\s+)*class\\s+(\\w+)", "captureGroup": 1, "commandId": "editor.action.goToImplementation", "title": "Find Implementations", "description": "Show all implementations of this class"},
|
|
6
|
+
{"pattern": "^\\s*(?:sealed\\s+)?trait\\s+(\\w+)", "captureGroup": 1, "commandId": "editor.action.goToImplementation", "title": "Find Implementations", "description": "Show all implementations of this trait"},
|
|
7
|
+
{"pattern": "^\\s*(?:case\\s+)?object\\s+(\\w+)", "captureGroup": 1, "commandId": "editor.action.referenceSearch.trigger", "title": "Find References", "description": "Show all references to this object"},
|
|
8
|
+
{"pattern": "^\\s*(?:(?:override|private|protected|final|lazy|implicit)\\s+)*val\\s+(\\w+)", "captureGroup": 1, "commandId": "editor.action.referenceSearch.trigger", "title": "Find References", "description": "Show all references to this val"},
|
|
9
|
+
{"pattern": "^\\s*def\\s+main\\s*\\(", "captureGroup": 0, "commandId": "workbench.action.debug.start", "title": "Run", "description": "Run main method"},
|
|
10
|
+
{"pattern": "^\\s*@main\\s+def\\s+(\\w+)", "captureGroup": 1, "commandId": "workbench.action.debug.start", "title": "Run", "description": "Run @main method"},
|
|
11
|
+
{"pattern": "^\\s*object\\s+(\\w+)\\s+extends\\s+App", "captureGroup": 1, "commandId": "workbench.action.debug.start", "title": "Run", "description": "Run App object"},
|
|
12
|
+
{"pattern": "^\\s*\"(.*?)\"\\s+in\\s*\\{", "captureGroup": 1, "commandId": "testing.runAtCursor", "title": "Run Test", "description": "Run this test (ScalaTest)"},
|
|
13
|
+
{"pattern": "^\\s*test\\s*\\(\\s*\"([^\"]+)\"", "captureGroup": 1, "commandId": "testing.runAtCursor", "title": "Run Test", "description": "Run this test"},
|
|
14
|
+
{"pattern": "^\\s*it\\s+should\\s+\"([^\"]+)\"", "captureGroup": 1, "commandId": "testing.runAtCursor", "title": "Run Test", "description": "Run this test spec"},
|
|
15
|
+
{"pattern": "^\\s*enum\\s+(\\w+)", "captureGroup": 1, "commandId": "editor.action.referenceSearch.trigger", "title": "Find References", "description": "Show all references to this enum"},
|
|
16
|
+
{"pattern": "^\\s*given\\s+(\\w+)\\s*:", "captureGroup": 1, "commandId": "editor.action.referenceSearch.trigger", "title": "Find References", "description": "Show all references to this given instance"}
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "sql",
|
|
3
|
+
"codeLensPatterns": [
|
|
4
|
+
{
|
|
5
|
+
"pattern": "^\\\\s*CREATE\\\\s+TABLE\\\\s+(?:IF\\\\s+NOT\\\\s+EXISTS\\\\s+)?(\\\\w+)",
|
|
6
|
+
"captureGroup": 1,
|
|
7
|
+
"commandId": "editor.action.goToImplementation",
|
|
8
|
+
"title": "Find Implementations",
|
|
9
|
+
"description": "Show all implementations of this class"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"pattern": "^\\\\s*CREATE\\\\s+(?:OR\\\\s+REPLACE\\\\s+)?VIEW\\\\s+(\\\\w+)",
|
|
13
|
+
"captureGroup": 1,
|
|
14
|
+
"commandId": "editor.action.goToImplementation",
|
|
15
|
+
"title": "Find Implementations",
|
|
16
|
+
"description": "Show all implementations of this class"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"pattern": "^\\\\s*CREATE\\\\s+(?:OR\\\\s+REPLACE\\\\s+)?FUNCTION\\\\s+(\\\\w+)",
|
|
20
|
+
"captureGroup": 1,
|
|
21
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
22
|
+
"title": "Find References",
|
|
23
|
+
"description": "Show all references to this function"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"pattern": "^\\\\s*CREATE\\\\s+(?:OR\\\\s+REPLACE\\\\s+)?PROCEDURE\\\\s+(\\\\w+)",
|
|
27
|
+
"captureGroup": 1,
|
|
28
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
29
|
+
"title": "Find References",
|
|
30
|
+
"description": "Show all references to this function"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|