@enjoys/context-engine 1.5.0 → 1.6.0

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.
Files changed (238) hide show
  1. package/README.md +214 -62
  2. package/data/codeActions/css.json +119 -111
  3. package/data/codeActions/dart.json +190 -31
  4. package/data/codeActions/nestjs.json +124 -124
  5. package/data/codeActions/r.json +69 -71
  6. package/data/codeActions/sb.json +2 -2
  7. package/data/codeActions/scala.json +154 -26
  8. package/data/codeActions/shadcn.json +112 -112
  9. package/data/codeActions/shell.json +2 -2
  10. package/data/codeActions/tailwindcss.json +83 -76
  11. package/data/codeLens/abap.json +4 -2
  12. package/data/codeLens/angular.json +141 -22
  13. package/data/codeLens/apex.json +4 -2
  14. package/data/codeLens/awk.json +2 -2
  15. package/data/codeLens/azcli.json +4 -3
  16. package/data/codeLens/bicep.json +4 -2
  17. package/data/codeLens/c.json +4 -4
  18. package/data/codeLens/caddy.json +2 -2
  19. package/data/codeLens/cameligo.json +4 -2
  20. package/data/codeLens/clojure.json +4 -2
  21. package/data/codeLens/coffee.json +4 -2
  22. package/data/codeLens/crontab.json +2 -2
  23. package/data/codeLens/doctest.json +4 -3
  24. package/data/codeLens/ecl.json +4 -2
  25. package/data/codeLens/elixir.json +4 -2
  26. package/data/codeLens/flow9.json +4 -2
  27. package/data/codeLens/freemarker2.json +4 -2
  28. package/data/codeLens/hcl.json +4 -4
  29. package/data/codeLens/html.json +4 -4
  30. package/data/codeLens/julia.json +4 -2
  31. package/data/codeLens/less.json +4 -2
  32. package/data/codeLens/lexon.json +4 -2
  33. package/data/codeLens/liquid.json +4 -2
  34. package/data/codeLens/lua.json +4 -4
  35. package/data/codeLens/m3.json +4 -2
  36. package/data/codeLens/mdx.json +4 -2
  37. package/data/codeLens/mips.json +4 -2
  38. package/data/codeLens/msdax.json +4 -2
  39. package/data/codeLens/mysql.json +4 -2
  40. package/data/codeLens/nginx.json +4 -4
  41. package/data/codeLens/objective-c.json +4 -2
  42. package/data/codeLens/pascal.json +4 -2
  43. package/data/codeLens/pascaligo.json +4 -2
  44. package/data/codeLens/pgsql.json +4 -2
  45. package/data/codeLens/pla.json +4 -3
  46. package/data/codeLens/postiats.json +4 -2
  47. package/data/codeLens/powerquery.json +4 -2
  48. package/data/codeLens/qsharp.json +4 -2
  49. package/data/codeLens/razor.json +4 -2
  50. package/data/codeLens/redshift.json +4 -2
  51. package/data/codeLens/restructuredtext.json +4 -2
  52. package/data/codeLens/sb.json +4 -2
  53. package/data/codeLens/scheme.json +4 -2
  54. package/data/codeLens/scss.json +4 -2
  55. package/data/codeLens/shadcn.json +117 -89
  56. package/data/codeLens/shell.json +4 -2
  57. package/data/codeLens/sol.json +4 -2
  58. package/data/codeLens/sparql.json +4 -2
  59. package/data/codeLens/st.json +4 -2
  60. package/data/codeLens/systemverilog.json +4 -2
  61. package/data/codeLens/tcl.json +4 -2
  62. package/data/codeLens/twig.json +4 -2
  63. package/data/codeLens/vb.json +4 -2
  64. package/data/codeLens/wgsl.json +4 -2
  65. package/data/codeLens/xml.json +4 -4
  66. package/data/commands/ab.json +80 -0
  67. package/data/commands/act.json +82 -0
  68. package/data/commands/age.json +68 -0
  69. package/data/commands/argocd.json +109 -0
  70. package/data/commands/asdf.json +102 -0
  71. package/data/commands/astro.json +106 -0
  72. package/data/commands/at.json +52 -0
  73. package/data/commands/babel.json +83 -0
  74. package/data/commands/buildah.json +105 -0
  75. package/data/commands/cabal.json +114 -0
  76. package/data/commands/cdk.json +127 -0
  77. package/data/commands/changeset.json +68 -0
  78. package/data/commands/checkov.json +75 -0
  79. package/data/commands/commitlint.json +60 -0
  80. package/data/commands/concurrently.json +62 -0
  81. package/data/commands/conventional-commits.json +30 -0
  82. package/data/commands/cosign.json +103 -0
  83. package/data/commands/crane.json +109 -0
  84. package/data/commands/cron.json +29 -0
  85. package/data/commands/crystal.json +102 -0
  86. package/data/commands/csvkit.json +96 -0
  87. package/data/commands/cut.json +62 -0
  88. package/data/commands/df.json +66 -0
  89. package/data/commands/diff.json +72 -0
  90. package/data/commands/dig.json +67 -0
  91. package/data/commands/dmesg.json +65 -0
  92. package/data/commands/dotnet.json +136 -0
  93. package/data/commands/du.json +71 -0
  94. package/data/commands/echo.json +45 -0
  95. package/data/commands/eksctl.json +101 -0
  96. package/data/commands/eleventy.json +73 -0
  97. package/data/commands/entr.json +50 -0
  98. package/data/commands/env.json +43 -0
  99. package/data/commands/erlang.json +76 -0
  100. package/data/commands/esbuild.json +91 -0
  101. package/data/commands/ffmpeg.json +115 -0
  102. package/data/commands/fnm.json +100 -0
  103. package/data/commands/free.json +63 -0
  104. package/data/commands/func.json +89 -0
  105. package/data/commands/gatsby.json +106 -0
  106. package/data/commands/ghc.json +79 -0
  107. package/data/commands/ghostscript.json +77 -0
  108. package/data/commands/git-lfs.json +95 -0
  109. package/data/commands/gpg.json +112 -0
  110. package/data/commands/grafana-cli.json +97 -0
  111. package/data/commands/grpcurl.json +74 -0
  112. package/data/commands/grype.json +75 -0
  113. package/data/commands/hadolint.json +61 -0
  114. package/data/commands/head.json +48 -0
  115. package/data/commands/hexo.json +101 -0
  116. package/data/commands/hey.json +91 -0
  117. package/data/commands/hostname.json +52 -0
  118. package/data/commands/httpie.json +101 -0
  119. package/data/commands/hugo.json +106 -0
  120. package/data/commands/husky.json +52 -0
  121. package/data/commands/id.json +50 -0
  122. package/data/commands/ifconfig.json +47 -0
  123. package/data/commands/imagemagick.json +117 -0
  124. package/data/commands/inotifywait.json +70 -0
  125. package/data/commands/ip.json +103 -0
  126. package/data/commands/istioctl.json +105 -0
  127. package/data/commands/javac.json +87 -0
  128. package/data/commands/jekyll.json +105 -0
  129. package/data/commands/kill.json +57 -0
  130. package/data/commands/killall.json +60 -0
  131. package/data/commands/kind.json +98 -0
  132. package/data/commands/ko.json +89 -0
  133. package/data/commands/kustomize.json +70 -0
  134. package/data/commands/latex.json +65 -0
  135. package/data/commands/lerna.json +125 -0
  136. package/data/commands/ln.json +54 -0
  137. package/data/commands/lsof.json +69 -0
  138. package/data/commands/manifest.json +1 -1
  139. package/data/commands/miller.json +58 -0
  140. package/data/commands/mise.json +107 -0
  141. package/data/commands/mix.json +128 -0
  142. package/data/commands/mkdir.json +43 -0
  143. package/data/commands/mount.json +63 -0
  144. package/data/commands/nc.json +71 -0
  145. package/data/commands/netstat.json +74 -0
  146. package/data/commands/nim.json +104 -0
  147. package/data/commands/nohup.json +28 -0
  148. package/data/commands/nslookup.json +46 -0
  149. package/data/commands/nvm.json +91 -0
  150. package/data/commands/ocaml.json +68 -0
  151. package/data/commands/opam.json +111 -0
  152. package/data/commands/pandoc.json +100 -0
  153. package/data/commands/parallel.json +73 -0
  154. package/data/commands/patch.json +55 -0
  155. package/data/commands/ping.json +73 -0
  156. package/data/commands/podman.json +151 -0
  157. package/data/commands/postman.json +82 -0
  158. package/data/commands/pre-commit.json +101 -0
  159. package/data/commands/prometheus.json +65 -0
  160. package/data/commands/pyenv.json +87 -0
  161. package/data/commands/q.json +63 -0
  162. package/data/commands/rbenv.json +85 -0
  163. package/data/commands/rebar3.json +110 -0
  164. package/data/commands/remix.json +80 -0
  165. package/data/commands/rollup.json +74 -0
  166. package/data/commands/route.json +53 -0
  167. package/data/commands/rustc.json +90 -0
  168. package/data/commands/sam.json +122 -0
  169. package/data/commands/sdkman.json +89 -0
  170. package/data/commands/semantic-release.json +58 -0
  171. package/data/commands/semgrep.json +97 -0
  172. package/data/commands/serverless.json +121 -0
  173. package/data/commands/shellcheck.json +61 -0
  174. package/data/commands/skopeo.json +79 -0
  175. package/data/commands/socat.json +43 -0
  176. package/data/commands/sops.json +85 -0
  177. package/data/commands/sort.json +75 -0
  178. package/data/commands/sqlite-utils.json +109 -0
  179. package/data/commands/ss.json +75 -0
  180. package/data/commands/stack.json +115 -0
  181. package/data/commands/storybook.json +90 -0
  182. package/data/commands/strace.json +71 -0
  183. package/data/commands/svelte.json +89 -0
  184. package/data/commands/swc.json +73 -0
  185. package/data/commands/swiftc.json +83 -0
  186. package/data/commands/syft.json +77 -0
  187. package/data/commands/tail.json +58 -0
  188. package/data/commands/tee.json +38 -0
  189. package/data/commands/tflint.json +83 -0
  190. package/data/commands/touch.json +57 -0
  191. package/data/commands/traceroute.json +70 -0
  192. package/data/commands/tracert.json +49 -0
  193. package/data/commands/umount.json +49 -0
  194. package/data/commands/uniq.json +59 -0
  195. package/data/commands/vagrant.json +112 -0
  196. package/data/commands/vegeta.json +59 -0
  197. package/data/commands/volta.json +87 -0
  198. package/data/commands/watch.json +58 -0
  199. package/data/commands/wc.json +50 -0
  200. package/data/commands/webpack.json +94 -0
  201. package/data/commands/which.json +34 -0
  202. package/data/commands/whoami.json +27 -0
  203. package/data/commands/wrangler.json +124 -0
  204. package/data/commands/wrk.json +63 -0
  205. package/data/commands/xargs.json +66 -0
  206. package/data/commands/xsv.json +119 -0
  207. package/data/commands/zig.json +114 -0
  208. package/data/completion/redis-cli.json +3465 -3405
  209. package/data/documentHighlight/nextjs.json +270 -212
  210. package/data/documentSymbol/azcli.json +6 -3
  211. package/data/documentSymbol/caddy.json +7 -4
  212. package/data/documentSymbol/crontab.json +6 -3
  213. package/data/documentSymbol/css.json +14 -14
  214. package/data/documentSymbol/doctest.json +6 -3
  215. package/data/documentSymbol/dotenv.json +6 -3
  216. package/data/documentSymbol/flow9.json +8 -4
  217. package/data/documentSymbol/graphql.json +1 -1
  218. package/data/documentSymbol/ini.json +6 -3
  219. package/data/documentSymbol/json.json +6 -3
  220. package/data/documentSymbol/lexon.json +6 -3
  221. package/data/documentSymbol/mips.json +6 -3
  222. package/data/documentSymbol/msdax.json +6 -3
  223. package/data/documentSymbol/pla.json +6 -3
  224. package/data/documentSymbol/powerquery.json +6 -3
  225. package/data/documentSymbol/restructuredtext.json +6 -3
  226. package/data/documentSymbol/sb.json +6 -3
  227. package/data/documentSymbol/sparql.json +6 -3
  228. package/data/documentSymbol/ssh_config.json +6 -3
  229. package/data/documentSymbol/systemd.json +6 -3
  230. package/data/documentSymbol/xml.json +6 -3
  231. package/data/hover/caddy.json +530 -458
  232. package/data/hover/dockerfile.json +355 -283
  233. package/data/hover/lua.json +1391 -971
  234. package/data/hover/nginx.json +957 -891
  235. package/data/hover/redis-cli.json +2168 -1088
  236. package/data/hover/sql.json +1405 -1273
  237. package/data/manifest.json +4 -6
  238. package/package.json +2 -2
@@ -1,22 +1,141 @@
1
- {
2
- "language": "angular",
3
- "codeLensPatterns": [
4
- { "pattern": "@Component\\s*\\([^)]*\\)\\s*(?:export\\s+)?class\\s+(\\w+)", "captureGroup": 1, "title": "Component: ${1}", "tooltip": "Angular component class" },
5
- { "pattern": "@Injectable\\s*\\([^)]*\\)\\s*(?:export\\s+)?class\\s+(\\w+)", "captureGroup": 1, "title": "Service: ${1}", "tooltip": "Angular injectable service" },
6
- { "pattern": "@NgModule\\s*\\([^)]*\\)\\s*(?:export\\s+)?class\\s+(\\w+)", "captureGroup": 1, "title": "Module: ${1}", "tooltip": "Angular NgModule" },
7
- { "pattern": "@Directive\\s*\\([^)]*\\)\\s*(?:export\\s+)?class\\s+(\\w+)", "captureGroup": 1, "title": "Directive: ${1}", "tooltip": "Angular directive class" },
8
- { "pattern": "@Pipe\\s*\\([^)]*\\)\\s*(?:export\\s+)?class\\s+(\\w+)", "captureGroup": 1, "title": "Pipe: ${1}", "tooltip": "Angular pipe class" },
9
- { "pattern": "(ngOnInit|ngOnDestroy|ngOnChanges|ngAfterViewInit|ngAfterContentInit|ngDoCheck)\\s*\\(", "captureGroup": 1, "title": "Lifecycle: ${1}", "tooltip": "Angular lifecycle hook method" },
10
- { "pattern": "\\{\\s*path:\\s*['\"]([^'\"]+)['\"].*?component:\\s*(\\w+)", "captureGroup": 1, "title": "Route: /${1}", "tooltip": "Route configuration path" },
11
- { "pattern": "(?:canActivate|canDeactivate|canMatch)(?:Fn)?.*?=.*?\\(", "captureGroup": 0, "title": "Guard", "tooltip": "Route guard definition" },
12
- { "pattern": "(?:HttpInterceptorFn|implements\\s+HttpInterceptor).*", "captureGroup": 0, "title": "Interceptor", "tooltip": "HTTP interceptor definition" },
13
- { "pattern": "describe\\s*\\(\\s*['\"]([^'\"]+)['\"]", "captureGroup": 1, "title": "Test Suite: ${1}", "tooltip": "Test describe block" },
14
- { "pattern": "\\bit\\s*\\(\\s*['\"]([^'\"]+)['\"]", "captureGroup": 1, "title": "Test: ${1}", "tooltip": "Individual test case" },
15
- { "pattern": "@Input\\s*\\([^)]*\\)\\s+(\\w+)", "captureGroup": 1, "title": "Input: ${1}", "tooltip": "Component input property" },
16
- { "pattern": "@Output\\s*\\([^)]*\\)\\s+(\\w+)", "captureGroup": 1, "title": "Output: ${1}", "tooltip": "Component output event" },
17
- { "pattern": "(\\w+)\\s*=\\s*signal\\s*(?:<[^>]*>)?\\s*\\(", "captureGroup": 1, "title": "Signal: ${1}", "tooltip": "Angular signal declaration" },
18
- { "pattern": "(\\w+)\\s*=\\s*effect\\s*\\(", "captureGroup": 1, "title": "Effect: ${1}", "tooltip": "Angular effect registration" },
19
- { "pattern": "(\\w+)\\s*=\\s*computed\\s*\\(", "captureGroup": 1, "title": "Computed: ${1}", "tooltip": "Angular computed signal declaration" },
20
- { "pattern": "(\\w+)\\s*=\\s*input(?:\\.required)?\\s*(?:<[^>]*>)?\\s*\\(", "captureGroup": 1, "title": "Signal Input: ${1}", "tooltip": "Signal-based input property" }
21
- ]
22
- }
1
+ {
2
+ "language": "angular",
3
+ "codeLensPatterns": [
4
+ {
5
+ "pattern": "@Component\\s*\\([^)]*\\)\\s*(?:export\\s+)?class\\s+(\\w+)",
6
+ "captureGroup": 1,
7
+ "title": "Component: ${1}",
8
+ "tooltip": "Angular component class",
9
+ "commandId": "editor.action.referenceSearch.trigger",
10
+ "description": "Component: ${1}"
11
+ },
12
+ {
13
+ "pattern": "@Injectable\\s*\\([^)]*\\)\\s*(?:export\\s+)?class\\s+(\\w+)",
14
+ "captureGroup": 1,
15
+ "title": "Service: ${1}",
16
+ "tooltip": "Angular injectable service",
17
+ "commandId": "editor.action.referenceSearch.trigger",
18
+ "description": "Service: ${1}"
19
+ },
20
+ {
21
+ "pattern": "@NgModule\\s*\\([^)]*\\)\\s*(?:export\\s+)?class\\s+(\\w+)",
22
+ "captureGroup": 1,
23
+ "title": "Module: ${1}",
24
+ "tooltip": "Angular NgModule",
25
+ "commandId": "editor.action.referenceSearch.trigger",
26
+ "description": "Module: ${1}"
27
+ },
28
+ {
29
+ "pattern": "@Directive\\s*\\([^)]*\\)\\s*(?:export\\s+)?class\\s+(\\w+)",
30
+ "captureGroup": 1,
31
+ "title": "Directive: ${1}",
32
+ "tooltip": "Angular directive class",
33
+ "commandId": "editor.action.referenceSearch.trigger",
34
+ "description": "Directive: ${1}"
35
+ },
36
+ {
37
+ "pattern": "@Pipe\\s*\\([^)]*\\)\\s*(?:export\\s+)?class\\s+(\\w+)",
38
+ "captureGroup": 1,
39
+ "title": "Pipe: ${1}",
40
+ "tooltip": "Angular pipe class",
41
+ "commandId": "editor.action.referenceSearch.trigger",
42
+ "description": "Pipe: ${1}"
43
+ },
44
+ {
45
+ "pattern": "(ngOnInit|ngOnDestroy|ngOnChanges|ngAfterViewInit|ngAfterContentInit|ngDoCheck)\\s*\\(",
46
+ "captureGroup": 1,
47
+ "title": "Lifecycle: ${1}",
48
+ "tooltip": "Angular lifecycle hook method",
49
+ "commandId": "editor.action.referenceSearch.trigger",
50
+ "description": "Lifecycle: ${1}"
51
+ },
52
+ {
53
+ "pattern": "\\{\\s*path:\\s*['\"]([^'\"]+)['\"].*?component:\\s*(\\w+)",
54
+ "captureGroup": 1,
55
+ "title": "Route: /${1}",
56
+ "tooltip": "Route configuration path",
57
+ "commandId": "editor.action.referenceSearch.trigger",
58
+ "description": "Route: /${1}"
59
+ },
60
+ {
61
+ "pattern": "(?:canActivate|canDeactivate|canMatch)(?:Fn)?.*?=.*?\\(",
62
+ "captureGroup": 0,
63
+ "title": "Guard",
64
+ "tooltip": "Route guard definition",
65
+ "commandId": "editor.action.referenceSearch.trigger",
66
+ "description": "Guard"
67
+ },
68
+ {
69
+ "pattern": "(?:HttpInterceptorFn|implements\\s+HttpInterceptor).*",
70
+ "captureGroup": 0,
71
+ "title": "Interceptor",
72
+ "tooltip": "HTTP interceptor definition",
73
+ "commandId": "editor.action.referenceSearch.trigger",
74
+ "description": "Interceptor"
75
+ },
76
+ {
77
+ "pattern": "describe\\s*\\(\\s*['\"]([^'\"]+)['\"]",
78
+ "captureGroup": 1,
79
+ "title": "Test Suite: ${1}",
80
+ "tooltip": "Test describe block",
81
+ "commandId": "testing.runAtCursor",
82
+ "description": "Test Suite: ${1}"
83
+ },
84
+ {
85
+ "pattern": "\\bit\\s*\\(\\s*['\"]([^'\"]+)['\"]",
86
+ "captureGroup": 1,
87
+ "title": "Test: ${1}",
88
+ "tooltip": "Individual test case",
89
+ "commandId": "testing.runAtCursor",
90
+ "description": "Test: ${1}"
91
+ },
92
+ {
93
+ "pattern": "@Input\\s*\\([^)]*\\)\\s+(\\w+)",
94
+ "captureGroup": 1,
95
+ "title": "Input: ${1}",
96
+ "tooltip": "Component input property",
97
+ "commandId": "editor.action.referenceSearch.trigger",
98
+ "description": "Input: ${1}"
99
+ },
100
+ {
101
+ "pattern": "@Output\\s*\\([^)]*\\)\\s+(\\w+)",
102
+ "captureGroup": 1,
103
+ "title": "Output: ${1}",
104
+ "tooltip": "Component output event",
105
+ "commandId": "editor.action.referenceSearch.trigger",
106
+ "description": "Output: ${1}"
107
+ },
108
+ {
109
+ "pattern": "(\\w+)\\s*=\\s*signal\\s*(?:<[^>]*>)?\\s*\\(",
110
+ "captureGroup": 1,
111
+ "title": "Signal: ${1}",
112
+ "tooltip": "Angular signal declaration",
113
+ "commandId": "editor.action.referenceSearch.trigger",
114
+ "description": "Signal: ${1}"
115
+ },
116
+ {
117
+ "pattern": "(\\w+)\\s*=\\s*effect\\s*\\(",
118
+ "captureGroup": 1,
119
+ "title": "Effect: ${1}",
120
+ "tooltip": "Angular effect registration",
121
+ "commandId": "editor.action.referenceSearch.trigger",
122
+ "description": "Effect: ${1}"
123
+ },
124
+ {
125
+ "pattern": "(\\w+)\\s*=\\s*computed\\s*\\(",
126
+ "captureGroup": 1,
127
+ "title": "Computed: ${1}",
128
+ "tooltip": "Angular computed signal declaration",
129
+ "commandId": "editor.action.referenceSearch.trigger",
130
+ "description": "Computed: ${1}"
131
+ },
132
+ {
133
+ "pattern": "(\\w+)\\s*=\\s*input(?:\\.required)?\\s*(?:<[^>]*>)?\\s*\\(",
134
+ "captureGroup": 1,
135
+ "title": "Signal Input: ${1}",
136
+ "tooltip": "Signal-based input property",
137
+ "commandId": "editor.action.referenceSearch.trigger",
138
+ "description": "Signal Input: ${1}"
139
+ }
140
+ ]
141
+ }
@@ -5,13 +5,15 @@
5
5
  "pattern": "^\\s*(?:public|private|global|protected)?\\s*(?:virtual|abstract)?\\s*class\\s+(\\w+)",
6
6
  "captureGroup": 1,
7
7
  "title": "class",
8
- "command": "editor.action.referenceSearch"
8
+ "commandId": "editor.action.referenceSearch.trigger",
9
+ "description": "class"
9
10
  },
10
11
  {
11
12
  "pattern": "@isTest\\s*\\n\\s*(?:static\\s+)?void\\s+(\\w+)",
12
13
  "captureGroup": 1,
13
14
  "title": "run test",
14
- "command": "editor.action.referenceSearch"
15
+ "commandId": "editor.action.referenceSearch.trigger",
16
+ "description": "run test"
15
17
  },
16
18
  {
17
19
  "pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
@@ -10,9 +10,9 @@
10
10
  },
11
11
  {
12
12
  "pattern": "^function\\s+(\\w+)",
13
- "command": "editor.action.showReferences",
14
13
  "title": "references",
15
- "description": "Show references to AWK function"
14
+ "description": "Show references to AWK function",
15
+ "commandId": "editor.action.showReferences"
16
16
  },
17
17
  {
18
18
  "pattern": "(?:class|struct|interface|trait|type)\\s+(\\w+)",
@@ -5,13 +5,14 @@
5
5
  "pattern": "^\\s*(az\\s+\\w+(?:\\s+\\w+)*)",
6
6
  "captureGroup": 1,
7
7
  "title": "function",
8
- "command": "editor.action.referenceSearch"
8
+ "commandId": "editor.action.referenceSearch.trigger",
9
+ "description": "function"
9
10
  },
10
11
  {
11
12
  "pattern": "^az\\s+(\\w[\\w-]+\\s+\\w[\\w-]+)",
12
- "command": "editor.action.showReferences",
13
13
  "title": "references",
14
- "description": "Show related Azure CLI commands"
14
+ "description": "Show related Azure CLI commands",
15
+ "commandId": "editor.action.showReferences"
15
16
  },
16
17
  {
17
18
  "pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
@@ -5,13 +5,15 @@
5
5
  "pattern": "^\\s*resource\\s+(\\w+)",
6
6
  "captureGroup": 1,
7
7
  "title": "class",
8
- "command": "editor.action.referenceSearch"
8
+ "commandId": "editor.action.referenceSearch.trigger",
9
+ "description": "class"
9
10
  },
10
11
  {
11
12
  "pattern": "^\\s*param\\s+(\\w+)",
12
13
  "captureGroup": 1,
13
14
  "title": "variable",
14
- "command": "editor.action.referenceSearch"
15
+ "commandId": "editor.action.referenceSearch.trigger",
16
+ "description": "variable"
15
17
  },
16
18
  {
17
19
  "pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
@@ -10,15 +10,15 @@
10
10
  },
11
11
  {
12
12
  "pattern": "^\\w+\\s+\\*?(\\w+)\\s*\\(",
13
- "command": "editor.action.showReferences",
14
13
  "title": "references",
15
- "description": "Show references to C function"
14
+ "description": "Show references to C function",
15
+ "commandId": "editor.action.showReferences"
16
16
  },
17
17
  {
18
18
  "pattern": "^struct\\s+(\\w+)",
19
- "command": "editor.action.showReferences",
20
19
  "title": "references",
21
- "description": "Show references to struct"
20
+ "description": "Show references to struct",
21
+ "commandId": "editor.action.showReferences"
22
22
  },
23
23
  {
24
24
  "pattern": "(?:class|struct|interface|trait|type)\\s+(\\w+)",
@@ -10,9 +10,9 @@
10
10
  },
11
11
  {
12
12
  "pattern": "^(\\w[\\w.]+)\\s*\\{",
13
- "command": "editor.action.showReferences",
14
13
  "title": "references",
15
- "description": "Show references to site block"
14
+ "description": "Show references to site block",
15
+ "commandId": "editor.action.showReferences"
16
16
  },
17
17
  {
18
18
  "pattern": "(?:class|struct|interface|trait|type)\\s+(\\w+)",
@@ -5,13 +5,15 @@
5
5
  "pattern": "^\\s*let\\s+(\\w+)",
6
6
  "captureGroup": 1,
7
7
  "title": "variable",
8
- "command": "editor.action.referenceSearch"
8
+ "commandId": "editor.action.referenceSearch.trigger",
9
+ "description": "variable"
9
10
  },
10
11
  {
11
12
  "pattern": "^\\s*type\\s+(\\w+)",
12
13
  "captureGroup": 1,
13
14
  "title": "type",
14
- "command": "editor.action.referenceSearch"
15
+ "commandId": "editor.action.referenceSearch.trigger",
16
+ "description": "type"
15
17
  },
16
18
  {
17
19
  "pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
@@ -5,13 +5,15 @@
5
5
  "pattern": "^\\s*\\(defn-?\\s+(\\S+)",
6
6
  "captureGroup": 1,
7
7
  "title": "function",
8
- "command": "editor.action.referenceSearch"
8
+ "commandId": "editor.action.referenceSearch.trigger",
9
+ "description": "function"
9
10
  },
10
11
  {
11
12
  "pattern": "^\\s*\\(def\\s+(\\S+)",
12
13
  "captureGroup": 1,
13
14
  "title": "variable",
14
- "command": "editor.action.referenceSearch"
15
+ "commandId": "editor.action.referenceSearch.trigger",
16
+ "description": "variable"
15
17
  },
16
18
  {
17
19
  "pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
@@ -5,13 +5,15 @@
5
5
  "pattern": "^\\s*class\\s+(\\w+)",
6
6
  "captureGroup": 1,
7
7
  "title": "class",
8
- "command": "editor.action.referenceSearch"
8
+ "commandId": "editor.action.referenceSearch.trigger",
9
+ "description": "class"
9
10
  },
10
11
  {
11
12
  "pattern": "^\\s*(\\w+)\\s*[:=]\\s*(?:\\(.*\\))?\\s*[-=]>",
12
13
  "captureGroup": 1,
13
14
  "title": "function",
14
- "command": "editor.action.referenceSearch"
15
+ "commandId": "editor.action.referenceSearch.trigger",
16
+ "description": "function"
15
17
  },
16
18
  {
17
19
  "pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
@@ -10,9 +10,9 @@
10
10
  },
11
11
  {
12
12
  "pattern": "^[^#].*\\s(\\S+)$",
13
- "command": "editor.action.showReferences",
14
13
  "title": "references",
15
- "description": "Show command references"
14
+ "description": "Show command references",
15
+ "commandId": "editor.action.showReferences"
16
16
  },
17
17
  {
18
18
  "pattern": "(?:class|struct|interface|trait|type)\\s+(\\w+)",
@@ -5,13 +5,14 @@
5
5
  "pattern": "^>>>\\s+(\\w+)",
6
6
  "captureGroup": 1,
7
7
  "title": "function",
8
- "command": "editor.action.referenceSearch"
8
+ "commandId": "editor.action.referenceSearch.trigger",
9
+ "description": "function"
9
10
  },
10
11
  {
11
12
  "pattern": "^>>>\\s+def\\s+(\\w+)",
12
- "command": "editor.action.showReferences",
13
13
  "title": "references",
14
- "description": "Show references in doctest"
14
+ "description": "Show references in doctest",
15
+ "commandId": "editor.action.showReferences"
15
16
  },
16
17
  {
17
18
  "pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
@@ -5,13 +5,15 @@
5
5
  "pattern": "^\\s*(\\w+)\\s*:=",
6
6
  "captureGroup": 1,
7
7
  "title": "variable",
8
- "command": "editor.action.referenceSearch"
8
+ "commandId": "editor.action.referenceSearch.trigger",
9
+ "description": "variable"
9
10
  },
10
11
  {
11
12
  "pattern": "^\\s*EXPORT\\s+(\\w+)",
12
13
  "captureGroup": 1,
13
14
  "title": "module",
14
- "command": "editor.action.referenceSearch"
15
+ "commandId": "editor.action.referenceSearch.trigger",
16
+ "description": "module"
15
17
  },
16
18
  {
17
19
  "pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
@@ -5,13 +5,15 @@
5
5
  "pattern": "^\\s*defmodule\\s+(\\S+)",
6
6
  "captureGroup": 1,
7
7
  "title": "module",
8
- "command": "editor.action.referenceSearch"
8
+ "commandId": "editor.action.referenceSearch.trigger",
9
+ "description": "module"
9
10
  },
10
11
  {
11
12
  "pattern": "^\\s*def[p]?\\s+(\\w+)",
12
13
  "captureGroup": 1,
13
14
  "title": "function",
14
- "command": "editor.action.referenceSearch"
15
+ "commandId": "editor.action.referenceSearch.trigger",
16
+ "description": "function"
15
17
  },
16
18
  {
17
19
  "pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
@@ -5,13 +5,15 @@
5
5
  "pattern": "^\\s*(\\w+)\\s*\\(.*\\)\\s*->",
6
6
  "captureGroup": 1,
7
7
  "title": "function",
8
- "command": "editor.action.referenceSearch"
8
+ "commandId": "editor.action.referenceSearch.trigger",
9
+ "description": "function"
9
10
  },
10
11
  {
11
12
  "pattern": "^\\s*import\\s+(\\S+)",
12
13
  "captureGroup": 1,
13
14
  "title": "module",
14
- "command": "editor.action.referenceSearch"
15
+ "commandId": "editor.action.referenceSearch.trigger",
16
+ "description": "module"
15
17
  },
16
18
  {
17
19
  "pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
@@ -5,13 +5,15 @@
5
5
  "pattern": "<#macro\\s+(\\w+)",
6
6
  "captureGroup": 1,
7
7
  "title": "function",
8
- "command": "editor.action.referenceSearch"
8
+ "commandId": "editor.action.referenceSearch.trigger",
9
+ "description": "function"
9
10
  },
10
11
  {
11
12
  "pattern": "<#function\\s+(\\w+)",
12
13
  "captureGroup": 1,
13
14
  "title": "function",
14
- "command": "editor.action.referenceSearch"
15
+ "commandId": "editor.action.referenceSearch.trigger",
16
+ "description": "function"
15
17
  },
16
18
  {
17
19
  "pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
@@ -10,15 +10,15 @@
10
10
  },
11
11
  {
12
12
  "pattern": "^(resource|data|module)\\s+\"(\\w+)\"",
13
- "command": "editor.action.showReferences",
14
13
  "title": "references",
15
- "description": "Show resource references"
14
+ "description": "Show resource references",
15
+ "commandId": "editor.action.showReferences"
16
16
  },
17
17
  {
18
18
  "pattern": "^variable\\s+\"(\\w+)\"",
19
- "command": "editor.action.showReferences",
20
19
  "title": "references",
21
- "description": "Show variable references"
20
+ "description": "Show variable references",
21
+ "commandId": "editor.action.showReferences"
22
22
  },
23
23
  {
24
24
  "pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
@@ -10,15 +10,15 @@
10
10
  },
11
11
  {
12
12
  "pattern": "<(\\w+)[^>]*id=\"([^\"]+)\"",
13
- "command": "editor.action.showReferences",
14
13
  "title": "references",
15
- "description": "Show references to element ID"
14
+ "description": "Show references to element ID",
15
+ "commandId": "editor.action.showReferences"
16
16
  },
17
17
  {
18
18
  "pattern": "<(\\w+)[^>]*class=\"([^\"]+)\"",
19
- "command": "editor.action.showReferences",
20
19
  "title": "references",
21
- "description": "Show references to CSS class"
20
+ "description": "Show references to CSS class",
21
+ "commandId": "editor.action.showReferences"
22
22
  },
23
23
  {
24
24
  "pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
@@ -5,13 +5,15 @@
5
5
  "pattern": "^\\s*function\\s+(\\w+)",
6
6
  "captureGroup": 1,
7
7
  "title": "function",
8
- "command": "editor.action.referenceSearch"
8
+ "commandId": "editor.action.referenceSearch.trigger",
9
+ "description": "function"
9
10
  },
10
11
  {
11
12
  "pattern": "^\\s*(?:mutable\\s+)?struct\\s+(\\w+)",
12
13
  "captureGroup": 1,
13
14
  "title": "struct",
14
- "command": "editor.action.referenceSearch"
15
+ "commandId": "editor.action.referenceSearch.trigger",
16
+ "description": "struct"
15
17
  },
16
18
  {
17
19
  "pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
@@ -5,13 +5,15 @@
5
5
  "pattern": "^\\s*(@\\w+)\\s*:",
6
6
  "captureGroup": 1,
7
7
  "title": "variable",
8
- "command": "editor.action.referenceSearch"
8
+ "commandId": "editor.action.referenceSearch.trigger",
9
+ "description": "variable"
9
10
  },
10
11
  {
11
12
  "pattern": "^\\s*\\.([\\w-]+)\\s*\\(",
12
13
  "captureGroup": 1,
13
14
  "title": "function",
14
- "command": "editor.action.referenceSearch"
15
+ "commandId": "editor.action.referenceSearch.trigger",
16
+ "description": "function"
15
17
  },
16
18
  {
17
19
  "pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
@@ -5,13 +5,15 @@
5
5
  "pattern": "^LEX\\s+(\\w+)",
6
6
  "captureGroup": 1,
7
7
  "title": "class",
8
- "command": "editor.action.referenceSearch"
8
+ "commandId": "editor.action.referenceSearch.trigger",
9
+ "description": "class"
9
10
  },
10
11
  {
11
12
  "pattern": "^CLAUSE:\\s+(.+)\\.",
12
13
  "captureGroup": 1,
13
14
  "title": "function",
14
- "command": "editor.action.referenceSearch"
15
+ "commandId": "editor.action.referenceSearch.trigger",
16
+ "description": "function"
15
17
  },
16
18
  {
17
19
  "pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
@@ -5,13 +5,15 @@
5
5
  "pattern": "\\{%\\s*assign\\s+(\\w+)",
6
6
  "captureGroup": 1,
7
7
  "title": "variable",
8
- "command": "editor.action.referenceSearch"
8
+ "commandId": "editor.action.referenceSearch.trigger",
9
+ "description": "variable"
9
10
  },
10
11
  {
11
12
  "pattern": "\\{%\\s*capture\\s+(\\w+)",
12
13
  "captureGroup": 1,
13
14
  "title": "variable",
14
- "command": "editor.action.referenceSearch"
15
+ "commandId": "editor.action.referenceSearch.trigger",
16
+ "description": "variable"
15
17
  },
16
18
  {
17
19
  "pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
@@ -10,15 +10,15 @@
10
10
  },
11
11
  {
12
12
  "pattern": "^function\\s+(\\w[\\w.:]+)\\s*\\(",
13
- "command": "editor.action.showReferences",
14
13
  "title": "references",
15
- "description": "Show references to Lua function"
14
+ "description": "Show references to Lua function",
15
+ "commandId": "editor.action.showReferences"
16
16
  },
17
17
  {
18
18
  "pattern": "^local\\s+function\\s+(\\w+)",
19
- "command": "editor.action.showReferences",
20
19
  "title": "references",
21
- "description": "Show local function references"
20
+ "description": "Show local function references",
21
+ "commandId": "editor.action.showReferences"
22
22
  },
23
23
  {
24
24
  "pattern": "(?:class|struct|interface|trait|type)\\s+(\\w+)",
@@ -5,13 +5,15 @@
5
5
  "pattern": "^\\s*MODULE\\s+(\\w+)",
6
6
  "captureGroup": 1,
7
7
  "title": "module",
8
- "command": "editor.action.referenceSearch"
8
+ "commandId": "editor.action.referenceSearch.trigger",
9
+ "description": "module"
9
10
  },
10
11
  {
11
12
  "pattern": "^\\s*INTERFACE\\s+(\\w+)",
12
13
  "captureGroup": 1,
13
14
  "title": "interface",
14
- "command": "editor.action.referenceSearch"
15
+ "commandId": "editor.action.referenceSearch.trigger",
16
+ "description": "interface"
15
17
  },
16
18
  {
17
19
  "pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
@@ -5,13 +5,15 @@
5
5
  "pattern": "^import\\s+.*from\\s+'([^']+)'",
6
6
  "captureGroup": 1,
7
7
  "title": "module",
8
- "command": "editor.action.referenceSearch"
8
+ "commandId": "editor.action.referenceSearch.trigger",
9
+ "description": "module"
9
10
  },
10
11
  {
11
12
  "pattern": "^export\\s+(?:default\\s+)?(?:function|const|class)\\s+(\\w+)",
12
13
  "captureGroup": 1,
13
14
  "title": "variable",
14
- "command": "editor.action.referenceSearch"
15
+ "commandId": "editor.action.referenceSearch.trigger",
16
+ "description": "variable"
15
17
  },
16
18
  {
17
19
  "pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
@@ -5,13 +5,15 @@
5
5
  "pattern": "^(\\w+):",
6
6
  "captureGroup": 1,
7
7
  "title": "constant",
8
- "command": "editor.action.referenceSearch"
8
+ "commandId": "editor.action.referenceSearch.trigger",
9
+ "description": "constant"
9
10
  },
10
11
  {
11
12
  "pattern": "^\\s*(\\.\\w+)",
12
13
  "captureGroup": 1,
13
14
  "title": "string",
14
- "command": "editor.action.referenceSearch"
15
+ "commandId": "editor.action.referenceSearch.trigger",
16
+ "description": "string"
15
17
  },
16
18
  {
17
19
  "pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",