@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.
- package/README.md +214 -62
- package/data/codeActions/css.json +119 -111
- package/data/codeActions/dart.json +190 -31
- package/data/codeActions/nestjs.json +124 -124
- package/data/codeActions/r.json +69 -71
- package/data/codeActions/sb.json +2 -2
- package/data/codeActions/scala.json +154 -26
- package/data/codeActions/shadcn.json +112 -112
- package/data/codeActions/shell.json +2 -2
- package/data/codeActions/tailwindcss.json +83 -76
- package/data/codeLens/abap.json +4 -2
- package/data/codeLens/angular.json +141 -22
- package/data/codeLens/apex.json +4 -2
- package/data/codeLens/awk.json +2 -2
- package/data/codeLens/azcli.json +4 -3
- package/data/codeLens/bicep.json +4 -2
- package/data/codeLens/c.json +4 -4
- package/data/codeLens/caddy.json +2 -2
- package/data/codeLens/cameligo.json +4 -2
- package/data/codeLens/clojure.json +4 -2
- package/data/codeLens/coffee.json +4 -2
- package/data/codeLens/crontab.json +2 -2
- package/data/codeLens/doctest.json +4 -3
- package/data/codeLens/ecl.json +4 -2
- package/data/codeLens/elixir.json +4 -2
- package/data/codeLens/flow9.json +4 -2
- package/data/codeLens/freemarker2.json +4 -2
- package/data/codeLens/hcl.json +4 -4
- package/data/codeLens/html.json +4 -4
- package/data/codeLens/julia.json +4 -2
- package/data/codeLens/less.json +4 -2
- package/data/codeLens/lexon.json +4 -2
- package/data/codeLens/liquid.json +4 -2
- package/data/codeLens/lua.json +4 -4
- package/data/codeLens/m3.json +4 -2
- package/data/codeLens/mdx.json +4 -2
- package/data/codeLens/mips.json +4 -2
- package/data/codeLens/msdax.json +4 -2
- package/data/codeLens/mysql.json +4 -2
- package/data/codeLens/nginx.json +4 -4
- package/data/codeLens/objective-c.json +4 -2
- package/data/codeLens/pascal.json +4 -2
- package/data/codeLens/pascaligo.json +4 -2
- package/data/codeLens/pgsql.json +4 -2
- package/data/codeLens/pla.json +4 -3
- package/data/codeLens/postiats.json +4 -2
- package/data/codeLens/powerquery.json +4 -2
- package/data/codeLens/qsharp.json +4 -2
- package/data/codeLens/razor.json +4 -2
- package/data/codeLens/redshift.json +4 -2
- package/data/codeLens/restructuredtext.json +4 -2
- package/data/codeLens/sb.json +4 -2
- package/data/codeLens/scheme.json +4 -2
- package/data/codeLens/scss.json +4 -2
- package/data/codeLens/shadcn.json +117 -89
- package/data/codeLens/shell.json +4 -2
- package/data/codeLens/sol.json +4 -2
- package/data/codeLens/sparql.json +4 -2
- package/data/codeLens/st.json +4 -2
- package/data/codeLens/systemverilog.json +4 -2
- package/data/codeLens/tcl.json +4 -2
- package/data/codeLens/twig.json +4 -2
- package/data/codeLens/vb.json +4 -2
- package/data/codeLens/wgsl.json +4 -2
- package/data/codeLens/xml.json +4 -4
- package/data/commands/ab.json +80 -0
- package/data/commands/act.json +82 -0
- package/data/commands/age.json +68 -0
- package/data/commands/argocd.json +109 -0
- package/data/commands/asdf.json +102 -0
- package/data/commands/astro.json +106 -0
- package/data/commands/at.json +52 -0
- package/data/commands/babel.json +83 -0
- package/data/commands/buildah.json +105 -0
- package/data/commands/cabal.json +114 -0
- package/data/commands/cdk.json +127 -0
- package/data/commands/changeset.json +68 -0
- package/data/commands/checkov.json +75 -0
- package/data/commands/commitlint.json +60 -0
- package/data/commands/concurrently.json +62 -0
- package/data/commands/conventional-commits.json +30 -0
- package/data/commands/cosign.json +103 -0
- package/data/commands/crane.json +109 -0
- package/data/commands/cron.json +29 -0
- package/data/commands/crystal.json +102 -0
- package/data/commands/csvkit.json +96 -0
- package/data/commands/cut.json +62 -0
- package/data/commands/df.json +66 -0
- package/data/commands/diff.json +72 -0
- package/data/commands/dig.json +67 -0
- package/data/commands/dmesg.json +65 -0
- package/data/commands/dotnet.json +136 -0
- package/data/commands/du.json +71 -0
- package/data/commands/echo.json +45 -0
- package/data/commands/eksctl.json +101 -0
- package/data/commands/eleventy.json +73 -0
- package/data/commands/entr.json +50 -0
- package/data/commands/env.json +43 -0
- package/data/commands/erlang.json +76 -0
- package/data/commands/esbuild.json +91 -0
- package/data/commands/ffmpeg.json +115 -0
- package/data/commands/fnm.json +100 -0
- package/data/commands/free.json +63 -0
- package/data/commands/func.json +89 -0
- package/data/commands/gatsby.json +106 -0
- package/data/commands/ghc.json +79 -0
- package/data/commands/ghostscript.json +77 -0
- package/data/commands/git-lfs.json +95 -0
- package/data/commands/gpg.json +112 -0
- package/data/commands/grafana-cli.json +97 -0
- package/data/commands/grpcurl.json +74 -0
- package/data/commands/grype.json +75 -0
- package/data/commands/hadolint.json +61 -0
- package/data/commands/head.json +48 -0
- package/data/commands/hexo.json +101 -0
- package/data/commands/hey.json +91 -0
- package/data/commands/hostname.json +52 -0
- package/data/commands/httpie.json +101 -0
- package/data/commands/hugo.json +106 -0
- package/data/commands/husky.json +52 -0
- package/data/commands/id.json +50 -0
- package/data/commands/ifconfig.json +47 -0
- package/data/commands/imagemagick.json +117 -0
- package/data/commands/inotifywait.json +70 -0
- package/data/commands/ip.json +103 -0
- package/data/commands/istioctl.json +105 -0
- package/data/commands/javac.json +87 -0
- package/data/commands/jekyll.json +105 -0
- package/data/commands/kill.json +57 -0
- package/data/commands/killall.json +60 -0
- package/data/commands/kind.json +98 -0
- package/data/commands/ko.json +89 -0
- package/data/commands/kustomize.json +70 -0
- package/data/commands/latex.json +65 -0
- package/data/commands/lerna.json +125 -0
- package/data/commands/ln.json +54 -0
- package/data/commands/lsof.json +69 -0
- package/data/commands/manifest.json +1 -1
- package/data/commands/miller.json +58 -0
- package/data/commands/mise.json +107 -0
- package/data/commands/mix.json +128 -0
- package/data/commands/mkdir.json +43 -0
- package/data/commands/mount.json +63 -0
- package/data/commands/nc.json +71 -0
- package/data/commands/netstat.json +74 -0
- package/data/commands/nim.json +104 -0
- package/data/commands/nohup.json +28 -0
- package/data/commands/nslookup.json +46 -0
- package/data/commands/nvm.json +91 -0
- package/data/commands/ocaml.json +68 -0
- package/data/commands/opam.json +111 -0
- package/data/commands/pandoc.json +100 -0
- package/data/commands/parallel.json +73 -0
- package/data/commands/patch.json +55 -0
- package/data/commands/ping.json +73 -0
- package/data/commands/podman.json +151 -0
- package/data/commands/postman.json +82 -0
- package/data/commands/pre-commit.json +101 -0
- package/data/commands/prometheus.json +65 -0
- package/data/commands/pyenv.json +87 -0
- package/data/commands/q.json +63 -0
- package/data/commands/rbenv.json +85 -0
- package/data/commands/rebar3.json +110 -0
- package/data/commands/remix.json +80 -0
- package/data/commands/rollup.json +74 -0
- package/data/commands/route.json +53 -0
- package/data/commands/rustc.json +90 -0
- package/data/commands/sam.json +122 -0
- package/data/commands/sdkman.json +89 -0
- package/data/commands/semantic-release.json +58 -0
- package/data/commands/semgrep.json +97 -0
- package/data/commands/serverless.json +121 -0
- package/data/commands/shellcheck.json +61 -0
- package/data/commands/skopeo.json +79 -0
- package/data/commands/socat.json +43 -0
- package/data/commands/sops.json +85 -0
- package/data/commands/sort.json +75 -0
- package/data/commands/sqlite-utils.json +109 -0
- package/data/commands/ss.json +75 -0
- package/data/commands/stack.json +115 -0
- package/data/commands/storybook.json +90 -0
- package/data/commands/strace.json +71 -0
- package/data/commands/svelte.json +89 -0
- package/data/commands/swc.json +73 -0
- package/data/commands/swiftc.json +83 -0
- package/data/commands/syft.json +77 -0
- package/data/commands/tail.json +58 -0
- package/data/commands/tee.json +38 -0
- package/data/commands/tflint.json +83 -0
- package/data/commands/touch.json +57 -0
- package/data/commands/traceroute.json +70 -0
- package/data/commands/tracert.json +49 -0
- package/data/commands/umount.json +49 -0
- package/data/commands/uniq.json +59 -0
- package/data/commands/vagrant.json +112 -0
- package/data/commands/vegeta.json +59 -0
- package/data/commands/volta.json +87 -0
- package/data/commands/watch.json +58 -0
- package/data/commands/wc.json +50 -0
- package/data/commands/webpack.json +94 -0
- package/data/commands/which.json +34 -0
- package/data/commands/whoami.json +27 -0
- package/data/commands/wrangler.json +124 -0
- package/data/commands/wrk.json +63 -0
- package/data/commands/xargs.json +66 -0
- package/data/commands/xsv.json +119 -0
- package/data/commands/zig.json +114 -0
- package/data/completion/redis-cli.json +3465 -3405
- package/data/documentHighlight/nextjs.json +270 -212
- package/data/documentSymbol/azcli.json +6 -3
- package/data/documentSymbol/caddy.json +7 -4
- package/data/documentSymbol/crontab.json +6 -3
- package/data/documentSymbol/css.json +14 -14
- package/data/documentSymbol/doctest.json +6 -3
- package/data/documentSymbol/dotenv.json +6 -3
- package/data/documentSymbol/flow9.json +8 -4
- package/data/documentSymbol/graphql.json +1 -1
- package/data/documentSymbol/ini.json +6 -3
- package/data/documentSymbol/json.json +6 -3
- package/data/documentSymbol/lexon.json +6 -3
- package/data/documentSymbol/mips.json +6 -3
- package/data/documentSymbol/msdax.json +6 -3
- package/data/documentSymbol/pla.json +6 -3
- package/data/documentSymbol/powerquery.json +6 -3
- package/data/documentSymbol/restructuredtext.json +6 -3
- package/data/documentSymbol/sb.json +6 -3
- package/data/documentSymbol/sparql.json +6 -3
- package/data/documentSymbol/ssh_config.json +6 -3
- package/data/documentSymbol/systemd.json +6 -3
- package/data/documentSymbol/xml.json +6 -3
- package/data/hover/caddy.json +530 -458
- package/data/hover/dockerfile.json +355 -283
- package/data/hover/lua.json +1391 -971
- package/data/hover/nginx.json +957 -891
- package/data/hover/redis-cli.json +2168 -1088
- package/data/hover/sql.json +1405 -1273
- package/data/manifest.json +4 -6
- package/package.json +2 -2
|
@@ -1,22 +1,141 @@
|
|
|
1
|
-
{
|
|
2
|
-
"language": "angular",
|
|
3
|
-
"codeLensPatterns": [
|
|
4
|
-
{
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
{
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
{
|
|
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
|
+
}
|
package/data/codeLens/apex.json
CHANGED
|
@@ -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
|
-
"
|
|
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
|
-
"
|
|
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+)",
|
package/data/codeLens/awk.json
CHANGED
|
@@ -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+)",
|
package/data/codeLens/azcli.json
CHANGED
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
"pattern": "^\\s*(az\\s+\\w+(?:\\s+\\w+)*)",
|
|
6
6
|
"captureGroup": 1,
|
|
7
7
|
"title": "function",
|
|
8
|
-
"
|
|
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+)",
|
package/data/codeLens/bicep.json
CHANGED
|
@@ -5,13 +5,15 @@
|
|
|
5
5
|
"pattern": "^\\s*resource\\s+(\\w+)",
|
|
6
6
|
"captureGroup": 1,
|
|
7
7
|
"title": "class",
|
|
8
|
-
"
|
|
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
|
-
"
|
|
15
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
16
|
+
"description": "variable"
|
|
15
17
|
},
|
|
16
18
|
{
|
|
17
19
|
"pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
|
package/data/codeLens/c.json
CHANGED
|
@@ -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+)",
|
package/data/codeLens/caddy.json
CHANGED
|
@@ -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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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+)",
|
package/data/codeLens/ecl.json
CHANGED
|
@@ -5,13 +5,15 @@
|
|
|
5
5
|
"pattern": "^\\s*(\\w+)\\s*:=",
|
|
6
6
|
"captureGroup": 1,
|
|
7
7
|
"title": "variable",
|
|
8
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
15
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
16
|
+
"description": "function"
|
|
15
17
|
},
|
|
16
18
|
{
|
|
17
19
|
"pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
|
package/data/codeLens/flow9.json
CHANGED
|
@@ -5,13 +5,15 @@
|
|
|
5
5
|
"pattern": "^\\s*(\\w+)\\s*\\(.*\\)\\s*->",
|
|
6
6
|
"captureGroup": 1,
|
|
7
7
|
"title": "function",
|
|
8
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
15
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
16
|
+
"description": "function"
|
|
15
17
|
},
|
|
16
18
|
{
|
|
17
19
|
"pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
|
package/data/codeLens/hcl.json
CHANGED
|
@@ -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+)",
|
package/data/codeLens/html.json
CHANGED
|
@@ -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+)",
|
package/data/codeLens/julia.json
CHANGED
|
@@ -5,13 +5,15 @@
|
|
|
5
5
|
"pattern": "^\\s*function\\s+(\\w+)",
|
|
6
6
|
"captureGroup": 1,
|
|
7
7
|
"title": "function",
|
|
8
|
-
"
|
|
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
|
-
"
|
|
15
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
16
|
+
"description": "struct"
|
|
15
17
|
},
|
|
16
18
|
{
|
|
17
19
|
"pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
|
package/data/codeLens/less.json
CHANGED
|
@@ -5,13 +5,15 @@
|
|
|
5
5
|
"pattern": "^\\s*(@\\w+)\\s*:",
|
|
6
6
|
"captureGroup": 1,
|
|
7
7
|
"title": "variable",
|
|
8
|
-
"
|
|
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
|
-
"
|
|
15
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
16
|
+
"description": "function"
|
|
15
17
|
},
|
|
16
18
|
{
|
|
17
19
|
"pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
|
package/data/codeLens/lexon.json
CHANGED
|
@@ -5,13 +5,15 @@
|
|
|
5
5
|
"pattern": "^LEX\\s+(\\w+)",
|
|
6
6
|
"captureGroup": 1,
|
|
7
7
|
"title": "class",
|
|
8
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
15
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
16
|
+
"description": "variable"
|
|
15
17
|
},
|
|
16
18
|
{
|
|
17
19
|
"pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
|
package/data/codeLens/lua.json
CHANGED
|
@@ -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+)",
|
package/data/codeLens/m3.json
CHANGED
|
@@ -5,13 +5,15 @@
|
|
|
5
5
|
"pattern": "^\\s*MODULE\\s+(\\w+)",
|
|
6
6
|
"captureGroup": 1,
|
|
7
7
|
"title": "module",
|
|
8
|
-
"
|
|
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
|
-
"
|
|
15
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
16
|
+
"description": "interface"
|
|
15
17
|
},
|
|
16
18
|
{
|
|
17
19
|
"pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
|
package/data/codeLens/mdx.json
CHANGED
|
@@ -5,13 +5,15 @@
|
|
|
5
5
|
"pattern": "^import\\s+.*from\\s+'([^']+)'",
|
|
6
6
|
"captureGroup": 1,
|
|
7
7
|
"title": "module",
|
|
8
|
-
"
|
|
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
|
-
"
|
|
15
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
16
|
+
"description": "variable"
|
|
15
17
|
},
|
|
16
18
|
{
|
|
17
19
|
"pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
|
package/data/codeLens/mips.json
CHANGED
|
@@ -5,13 +5,15 @@
|
|
|
5
5
|
"pattern": "^(\\w+):",
|
|
6
6
|
"captureGroup": 1,
|
|
7
7
|
"title": "constant",
|
|
8
|
-
"
|
|
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
|
-
"
|
|
15
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
16
|
+
"description": "string"
|
|
15
17
|
},
|
|
16
18
|
{
|
|
17
19
|
"pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
|