@enjoys/context-engine 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/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 +1 -1
package/data/codeLens/razor.json
CHANGED
|
@@ -5,13 +5,15 @@
|
|
|
5
5
|
"pattern": "@model\\s+(\\S+)",
|
|
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": "@section\\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+)",
|
|
@@ -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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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/sb.json
CHANGED
|
@@ -5,13 +5,15 @@
|
|
|
5
5
|
"pattern": "^\\s*Sub\\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": "^(\\w+):",
|
|
12
13
|
"captureGroup": 1,
|
|
13
14
|
"title": "constant",
|
|
14
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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/scss.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*@mixin\\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+)",
|
|
@@ -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
|
-
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"pattern": "
|
|
30
|
-
"captureGroup":
|
|
31
|
-
"title": "Zod
|
|
32
|
-
"tooltip": "Zod
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"pattern": "(?:
|
|
54
|
-
"captureGroup": 1,
|
|
55
|
-
"title": "
|
|
56
|
-
"tooltip": "
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"pattern": "
|
|
78
|
-
"captureGroup": 1,
|
|
79
|
-
"title": "
|
|
80
|
-
"tooltip": "
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
"
|
|
86
|
-
"
|
|
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
|
+
}
|
package/data/codeLens/shell.json
CHANGED
|
@@ -5,13 +5,15 @@
|
|
|
5
5
|
"pattern": "^\\s*(?:function\\s+)?(\\w+)\\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*(\\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": "^\\s*function\\s+(\\w+)",
|
package/data/codeLens/sol.json
CHANGED
|
@@ -5,13 +5,15 @@
|
|
|
5
5
|
"pattern": "^\\s*(?:abstract\\s+)?contract\\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*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+)",
|
|
@@ -5,13 +5,15 @@
|
|
|
5
5
|
"pattern": "^PREFIX\\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": "\\?(\\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/st.json
CHANGED
|
@@ -5,13 +5,15 @@
|
|
|
5
5
|
"pattern": "^\\s*PROGRAM\\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*FUNCTION_BLOCK\\s+(\\w+)",
|
|
12
13
|
"captureGroup": 1,
|
|
13
14
|
"title": "class",
|
|
14
|
-
"
|
|
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
|
-
"
|
|
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/tcl.json
CHANGED
|
@@ -5,13 +5,15 @@
|
|
|
5
5
|
"pattern": "^\\s*proc\\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*namespace\\s+eval\\s+(\\S+)",
|
|
12
13
|
"captureGroup": 1,
|
|
13
14
|
"title": "namespace",
|
|
14
|
-
"
|
|
15
|
+
"commandId": "editor.action.referenceSearch.trigger",
|
|
16
|
+
"description": "namespace"
|
|
15
17
|
},
|
|
16
18
|
{
|
|
17
19
|
"pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
|
package/data/codeLens/twig.json
CHANGED
|
@@ -5,13 +5,15 @@
|
|
|
5
5
|
"pattern": "\\{%\\s*block\\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*macro\\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/vb.json
CHANGED
|
@@ -5,13 +5,15 @@
|
|
|
5
5
|
"pattern": "^\\s*(?:Public|Private|Friend)?\\s*(?:Partial\\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*Module\\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+)",
|
package/data/codeLens/wgsl.json
CHANGED
|
@@ -5,13 +5,15 @@
|
|
|
5
5
|
"pattern": "^\\s*(?:@\\w+\\s+)*fn\\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*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/xml.json
CHANGED
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"pattern": "<(\\w+)[^>]*\\bid=\"([^\"]+)\"",
|
|
13
|
-
"command": "editor.action.showReferences",
|
|
14
13
|
"title": "references",
|
|
15
|
-
"description": "Show references to XML element ID"
|
|
14
|
+
"description": "Show references to XML element ID",
|
|
15
|
+
"commandId": "editor.action.showReferences"
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"pattern": "<xs:(element|complexType)\\s+name=\"(\\w+)\"",
|
|
19
|
-
"command": "editor.action.showReferences",
|
|
20
19
|
"title": "references",
|
|
21
|
-
"description": "Show schema type references"
|
|
20
|
+
"description": "Show schema type references",
|
|
21
|
+
"commandId": "editor.action.showReferences"
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
|