@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
@@ -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*VAR\\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": "CREATE\\s+TABLE\\s+(?:IF\\s+NOT\\s+EXISTS\\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": "CREATE\\s+PROCEDURE\\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": "^(server|location|upstream)\\s",
13
- "command": "editor.action.showReferences",
14
13
  "title": "references",
15
- "description": "Show block references"
14
+ "description": "Show block references",
15
+ "commandId": "editor.action.showReferences"
16
16
  },
17
17
  {
18
18
  "pattern": "^\\s*(proxy_pass|root|alias)\\s",
19
- "command": "editor.action.showReferences",
20
19
  "title": "references",
21
- "description": "Show directive references"
20
+ "description": "Show directive 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": "@interface\\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": "@implementation\\s+(\\w+)",
12
13
  "captureGroup": 1,
13
14
  "title": "class",
14
- "command": "editor.action.referenceSearch"
15
+ "commandId": "editor.action.referenceSearch.trigger",
16
+ "description": "class"
15
17
  },
16
18
  {
17
19
  "pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
@@ -5,13 +5,15 @@
5
5
  "pattern": "^\\s*program\\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*unit\\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*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*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": "CREATE\\s+TABLE\\s+(?:IF\\s+NOT\\s+EXISTS\\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": "CREATE\\s+(?:OR\\s+REPLACE\\s+)?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+)",
@@ -5,13 +5,14 @@
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": "^\\.(i|o)\\s+(\\d+)",
12
- "command": "editor.action.showReferences",
13
13
  "title": "references",
14
- "description": "Show input/output references"
14
+ "description": "Show input/output references",
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*fun\\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*implement\\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*=",
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*section\\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*namespace\\s+(\\S+)",
6
6
  "captureGroup": 1,
7
7
  "title": "namespace",
8
- "command": "editor.action.referenceSearch"
8
+ "commandId": "editor.action.referenceSearch.trigger",
9
+ "description": "namespace"
9
10
  },
10
11
  {
11
12
  "pattern": "^\\s*operation\\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": "@model\\s+(\\S+)",
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": "@section\\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": "CREATE\\s+TABLE\\s+(?:IF\\s+NOT\\s+EXISTS\\s+)?(\\S+)",
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": "CREATE\\s+VIEW\\s+(\\S+)",
12
13
  "captureGroup": 1,
13
14
  "title": "class",
14
- "command": "editor.action.referenceSearch"
15
+ "commandId": "editor.action.referenceSearch.trigger",
16
+ "description": "class"
15
17
  },
16
18
  {
17
19
  "pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
@@ -5,13 +5,15 @@
5
5
  "pattern": "^(.+)\\n[=\\-~^]+$",
6
6
  "captureGroup": 1,
7
7
  "title": "string",
8
- "command": "editor.action.referenceSearch"
8
+ "commandId": "editor.action.referenceSearch.trigger",
9
+ "description": "string"
9
10
  },
10
11
  {
11
12
  "pattern": "^\\.\\. (\\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*Sub\\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": "^(\\w+):",
12
13
  "captureGroup": 1,
13
14
  "title": "constant",
14
- "command": "editor.action.referenceSearch"
15
+ "commandId": "editor.action.referenceSearch.trigger",
16
+ "description": "constant"
15
17
  },
16
18
  {
17
19
  "pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
@@ -5,13 +5,15 @@
5
5
  "pattern": "^\\s*\\(define\\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*\\(define\\s+(\\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*(\\$[\\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*@mixin\\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+)",
@@ -1,89 +1,117 @@
1
- {
2
- "language": "shadcn",
3
- "codeLensPatterns": [
4
- {
5
- "pattern": "const\\s+(\\w+)\\s*=\\s*React\\.forwardRef",
6
- "captureGroup": 1,
7
- "title": "shadcn Component",
8
- "tooltip": "shadcn/ui component defined with React.forwardRef"
9
- },
10
- {
11
- "pattern": "const\\s+(\\w+Variants?)\\s*=\\s*cva\\(",
12
- "captureGroup": 1,
13
- "title": "CVA Variants",
14
- "tooltip": "Class-variance-authority variant definition"
15
- },
16
- {
17
- "pattern": "(\\w+)\\.displayName\\s*=\\s*[\"']",
18
- "captureGroup": 1,
19
- "title": "Display Name",
20
- "tooltip": "Component displayName assignment"
21
- },
22
- {
23
- "pattern": "const\\s+(\\w+Schema)\\s*=\\s*z\\.",
24
- "captureGroup": 1,
25
- "title": "Zod Schema",
26
- "tooltip": "Zod validation schema definition"
27
- },
28
- {
29
- "pattern": "z\\.(string|number|boolean|object|array|enum|union|intersection|literal)\\(",
30
- "captureGroup": 0,
31
- "title": "Zod Validator",
32
- "tooltip": "Zod type validator"
33
- },
34
- {
35
- "pattern": "(?:export\\s+)?function\\s+(use\\w+)\\s*\\(",
36
- "captureGroup": 1,
37
- "title": "Hook",
38
- "tooltip": "Custom React hook definition"
39
- },
40
- {
41
- "pattern": "export\\s+(?:default\\s+)?(?:function|const|class)\\s+(\\w+)",
42
- "captureGroup": 1,
43
- "title": "Export",
44
- "tooltip": "Exported symbol definition"
45
- },
46
- {
47
- "pattern": "(?:accessorKey|id):\\s*[\"'](\\w+)[\"']",
48
- "captureGroup": 1,
49
- "title": "Column",
50
- "tooltip": "DataTable column definition"
51
- },
52
- {
53
- "pattern": "(?:describe|it|test)\\([\"'](.*?)[\"']",
54
- "captureGroup": 1,
55
- "title": "Test",
56
- "tooltip": "Test block definition"
57
- },
58
- {
59
- "pattern": "export\\s+default\\s+function\\s+(\\w*(?:Page|Layout))\\b",
60
- "captureGroup": 1,
61
- "title": "Route Component",
62
- "tooltip": "Next.js page or layout component"
63
- },
64
- {
65
- "pattern": "(?:export\\s+)?(?:function|const)\\s+(\\w+)\\s*[:=]\\s*\\(",
66
- "captureGroup": 1,
67
- "title": "Utility",
68
- "tooltip": "Utility function definition"
69
- },
70
- {
71
- "pattern": "(?:export\\s+)?(?:interface|type)\\s+(\\w+)",
72
- "captureGroup": 1,
73
- "title": "Type",
74
- "tooltip": "TypeScript type or interface definition"
75
- },
76
- {
77
- "pattern": "const\\s+(\\w+Context)\\s*=\\s*(?:React\\.)?createContext",
78
- "captureGroup": 1,
79
- "title": "Context",
80
- "tooltip": "React context provider definition"
81
- },
82
- {
83
- "pattern": "export\\s+\\{([^}]+)\\}",
84
- "captureGroup": 1,
85
- "title": "Named Exports",
86
- "tooltip": "Named export group"
87
- }
88
- ]
89
- }
1
+ {
2
+ "language": "shadcn",
3
+ "codeLensPatterns": [
4
+ {
5
+ "pattern": "const\\s+(\\w+)\\s*=\\s*React\\.forwardRef",
6
+ "captureGroup": 1,
7
+ "title": "shadcn Component",
8
+ "tooltip": "shadcn/ui component defined with React.forwardRef",
9
+ "commandId": "editor.action.referenceSearch.trigger",
10
+ "description": "shadcn Component"
11
+ },
12
+ {
13
+ "pattern": "const\\s+(\\w+Variants?)\\s*=\\s*cva\\(",
14
+ "captureGroup": 1,
15
+ "title": "CVA Variants",
16
+ "tooltip": "Class-variance-authority variant definition",
17
+ "commandId": "editor.action.referenceSearch.trigger",
18
+ "description": "CVA Variants"
19
+ },
20
+ {
21
+ "pattern": "(\\w+)\\.displayName\\s*=\\s*[\"']",
22
+ "captureGroup": 1,
23
+ "title": "Display Name",
24
+ "tooltip": "Component displayName assignment",
25
+ "commandId": "editor.action.referenceSearch.trigger",
26
+ "description": "Display Name"
27
+ },
28
+ {
29
+ "pattern": "const\\s+(\\w+Schema)\\s*=\\s*z\\.",
30
+ "captureGroup": 1,
31
+ "title": "Zod Schema",
32
+ "tooltip": "Zod validation schema definition",
33
+ "commandId": "editor.action.referenceSearch.trigger",
34
+ "description": "Zod Schema"
35
+ },
36
+ {
37
+ "pattern": "z\\.(string|number|boolean|object|array|enum|union|intersection|literal)\\(",
38
+ "captureGroup": 0,
39
+ "title": "Zod Validator",
40
+ "tooltip": "Zod type validator",
41
+ "commandId": "editor.action.referenceSearch.trigger",
42
+ "description": "Zod Validator"
43
+ },
44
+ {
45
+ "pattern": "(?:export\\s+)?function\\s+(use\\w+)\\s*\\(",
46
+ "captureGroup": 1,
47
+ "title": "Hook",
48
+ "tooltip": "Custom React hook definition",
49
+ "commandId": "editor.action.referenceSearch.trigger",
50
+ "description": "Hook"
51
+ },
52
+ {
53
+ "pattern": "export\\s+(?:default\\s+)?(?:function|const|class)\\s+(\\w+)",
54
+ "captureGroup": 1,
55
+ "title": "Export",
56
+ "tooltip": "Exported symbol definition",
57
+ "commandId": "editor.action.referenceSearch.trigger",
58
+ "description": "Export"
59
+ },
60
+ {
61
+ "pattern": "(?:accessorKey|id):\\s*[\"'](\\w+)[\"']",
62
+ "captureGroup": 1,
63
+ "title": "Column",
64
+ "tooltip": "DataTable column definition",
65
+ "commandId": "editor.action.referenceSearch.trigger",
66
+ "description": "Column"
67
+ },
68
+ {
69
+ "pattern": "(?:describe|it|test)\\([\"'](.*?)[\"']",
70
+ "captureGroup": 1,
71
+ "title": "Test",
72
+ "tooltip": "Test block definition",
73
+ "commandId": "testing.runAtCursor",
74
+ "description": "Test"
75
+ },
76
+ {
77
+ "pattern": "export\\s+default\\s+function\\s+(\\w*(?:Page|Layout))\\b",
78
+ "captureGroup": 1,
79
+ "title": "Route Component",
80
+ "tooltip": "Next.js page or layout component",
81
+ "commandId": "editor.action.referenceSearch.trigger",
82
+ "description": "Route Component"
83
+ },
84
+ {
85
+ "pattern": "(?:export\\s+)?(?:function|const)\\s+(\\w+)\\s*[:=]\\s*\\(",
86
+ "captureGroup": 1,
87
+ "title": "Utility",
88
+ "tooltip": "Utility function definition",
89
+ "commandId": "editor.action.referenceSearch.trigger",
90
+ "description": "Utility"
91
+ },
92
+ {
93
+ "pattern": "(?:export\\s+)?(?:interface|type)\\s+(\\w+)",
94
+ "captureGroup": 1,
95
+ "title": "Type",
96
+ "tooltip": "TypeScript type or interface definition",
97
+ "commandId": "editor.action.referenceSearch.trigger",
98
+ "description": "Type"
99
+ },
100
+ {
101
+ "pattern": "const\\s+(\\w+Context)\\s*=\\s*(?:React\\.)?createContext",
102
+ "captureGroup": 1,
103
+ "title": "Context",
104
+ "tooltip": "React context provider definition",
105
+ "commandId": "editor.action.referenceSearch.trigger",
106
+ "description": "Context"
107
+ },
108
+ {
109
+ "pattern": "export\\s+\\{([^}]+)\\}",
110
+ "captureGroup": 1,
111
+ "title": "Named Exports",
112
+ "tooltip": "Named export group",
113
+ "commandId": "editor.action.referenceSearch.trigger",
114
+ "description": "Named Exports"
115
+ }
116
+ ]
117
+ }
@@ -5,13 +5,15 @@
5
5
  "pattern": "^\\s*(?:function\\s+)?(\\w+)\\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*(\\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": "^\\s*function\\s+(\\w+)",
@@ -5,13 +5,15 @@
5
5
  "pattern": "^\\s*(?:abstract\\s+)?contract\\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*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": "^PREFIX\\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": "\\?(\\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": "^\\s*PROGRAM\\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*FUNCTION_BLOCK\\s+(\\w+)",
12
13
  "captureGroup": 1,
13
14
  "title": "class",
14
- "command": "editor.action.referenceSearch"
15
+ "commandId": "editor.action.referenceSearch.trigger",
16
+ "description": "class"
15
17
  },
16
18
  {
17
19
  "pattern": "(?:function|def|fn|func|sub|proc)\\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+)",