@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.
Files changed (95) hide show
  1. package/data/codeActions/css.json +119 -111
  2. package/data/codeActions/dart.json +190 -31
  3. package/data/codeActions/nestjs.json +124 -124
  4. package/data/codeActions/r.json +69 -71
  5. package/data/codeActions/sb.json +2 -2
  6. package/data/codeActions/scala.json +154 -26
  7. package/data/codeActions/shadcn.json +112 -112
  8. package/data/codeActions/shell.json +2 -2
  9. package/data/codeActions/tailwindcss.json +83 -76
  10. package/data/codeLens/abap.json +4 -2
  11. package/data/codeLens/angular.json +141 -22
  12. package/data/codeLens/apex.json +4 -2
  13. package/data/codeLens/awk.json +2 -2
  14. package/data/codeLens/azcli.json +4 -3
  15. package/data/codeLens/bicep.json +4 -2
  16. package/data/codeLens/c.json +4 -4
  17. package/data/codeLens/caddy.json +2 -2
  18. package/data/codeLens/cameligo.json +4 -2
  19. package/data/codeLens/clojure.json +4 -2
  20. package/data/codeLens/coffee.json +4 -2
  21. package/data/codeLens/crontab.json +2 -2
  22. package/data/codeLens/doctest.json +4 -3
  23. package/data/codeLens/ecl.json +4 -2
  24. package/data/codeLens/elixir.json +4 -2
  25. package/data/codeLens/flow9.json +4 -2
  26. package/data/codeLens/freemarker2.json +4 -2
  27. package/data/codeLens/hcl.json +4 -4
  28. package/data/codeLens/html.json +4 -4
  29. package/data/codeLens/julia.json +4 -2
  30. package/data/codeLens/less.json +4 -2
  31. package/data/codeLens/lexon.json +4 -2
  32. package/data/codeLens/liquid.json +4 -2
  33. package/data/codeLens/lua.json +4 -4
  34. package/data/codeLens/m3.json +4 -2
  35. package/data/codeLens/mdx.json +4 -2
  36. package/data/codeLens/mips.json +4 -2
  37. package/data/codeLens/msdax.json +4 -2
  38. package/data/codeLens/mysql.json +4 -2
  39. package/data/codeLens/nginx.json +4 -4
  40. package/data/codeLens/objective-c.json +4 -2
  41. package/data/codeLens/pascal.json +4 -2
  42. package/data/codeLens/pascaligo.json +4 -2
  43. package/data/codeLens/pgsql.json +4 -2
  44. package/data/codeLens/pla.json +4 -3
  45. package/data/codeLens/postiats.json +4 -2
  46. package/data/codeLens/powerquery.json +4 -2
  47. package/data/codeLens/qsharp.json +4 -2
  48. package/data/codeLens/razor.json +4 -2
  49. package/data/codeLens/redshift.json +4 -2
  50. package/data/codeLens/restructuredtext.json +4 -2
  51. package/data/codeLens/sb.json +4 -2
  52. package/data/codeLens/scheme.json +4 -2
  53. package/data/codeLens/scss.json +4 -2
  54. package/data/codeLens/shadcn.json +117 -89
  55. package/data/codeLens/shell.json +4 -2
  56. package/data/codeLens/sol.json +4 -2
  57. package/data/codeLens/sparql.json +4 -2
  58. package/data/codeLens/st.json +4 -2
  59. package/data/codeLens/systemverilog.json +4 -2
  60. package/data/codeLens/tcl.json +4 -2
  61. package/data/codeLens/twig.json +4 -2
  62. package/data/codeLens/vb.json +4 -2
  63. package/data/codeLens/wgsl.json +4 -2
  64. package/data/codeLens/xml.json +4 -4
  65. package/data/completion/redis-cli.json +3465 -3405
  66. package/data/documentHighlight/nextjs.json +270 -212
  67. package/data/documentSymbol/azcli.json +6 -3
  68. package/data/documentSymbol/caddy.json +7 -4
  69. package/data/documentSymbol/crontab.json +6 -3
  70. package/data/documentSymbol/css.json +14 -14
  71. package/data/documentSymbol/doctest.json +6 -3
  72. package/data/documentSymbol/dotenv.json +6 -3
  73. package/data/documentSymbol/flow9.json +8 -4
  74. package/data/documentSymbol/graphql.json +1 -1
  75. package/data/documentSymbol/ini.json +6 -3
  76. package/data/documentSymbol/json.json +6 -3
  77. package/data/documentSymbol/lexon.json +6 -3
  78. package/data/documentSymbol/mips.json +6 -3
  79. package/data/documentSymbol/msdax.json +6 -3
  80. package/data/documentSymbol/pla.json +6 -3
  81. package/data/documentSymbol/powerquery.json +6 -3
  82. package/data/documentSymbol/restructuredtext.json +6 -3
  83. package/data/documentSymbol/sb.json +6 -3
  84. package/data/documentSymbol/sparql.json +6 -3
  85. package/data/documentSymbol/ssh_config.json +6 -3
  86. package/data/documentSymbol/systemd.json +6 -3
  87. package/data/documentSymbol/xml.json +6 -3
  88. package/data/hover/caddy.json +530 -458
  89. package/data/hover/dockerfile.json +355 -283
  90. package/data/hover/lua.json +1391 -971
  91. package/data/hover/nginx.json +957 -891
  92. package/data/hover/redis-cli.json +2168 -1088
  93. package/data/hover/sql.json +1405 -1273
  94. package/data/manifest.json +4 -6
  95. package/package.json +1 -1
@@ -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+)",
@@ -5,13 +5,15 @@
5
5
  "pattern": "^\\s*proc\\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*namespace\\s+eval\\s+(\\S+)",
12
13
  "captureGroup": 1,
13
14
  "title": "namespace",
14
- "command": "editor.action.referenceSearch"
15
+ "commandId": "editor.action.referenceSearch.trigger",
16
+ "description": "namespace"
15
17
  },
16
18
  {
17
19
  "pattern": "(?:function|def|fn|func|sub|proc)\\s+(\\w+)",
@@ -5,13 +5,15 @@
5
5
  "pattern": "\\{%\\s*block\\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*macro\\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*(?:Public|Private|Friend)?\\s*(?:Partial\\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*Module\\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*(?:@\\w+\\s+)*fn\\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*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+)",
@@ -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+)",