@enjoys/context-engine 1.3.1 → 1.4.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 (221) hide show
  1. package/data/codeActions/angular.json +126 -0
  2. package/data/codeActions/nestjs.json +124 -0
  3. package/data/codeActions/nextjs.json +198 -0
  4. package/data/codeActions/react.json +154 -0
  5. package/data/codeActions/shadcn.json +112 -0
  6. package/data/codeActions/shell.json +169 -26
  7. package/data/codeLens/angular.json +22 -0
  8. package/data/codeLens/nestjs.json +21 -0
  9. package/data/codeLens/nextjs.json +117 -0
  10. package/data/codeLens/react.json +89 -0
  11. package/data/codeLens/shadcn.json +89 -0
  12. package/data/codeLens/shell.json +59 -17
  13. package/data/codeLens/tailwindcss.json +56 -0
  14. package/data/color/angular.json +21 -0
  15. package/data/color/nestjs.json +18 -0
  16. package/data/color/nextjs.json +22 -0
  17. package/data/color/react.json +93 -0
  18. package/data/color/shadcn.json +66 -0
  19. package/data/color/shell.json +106 -80
  20. package/data/commands/angular.json +312 -0
  21. package/data/commands/manifest.json +5 -0
  22. package/data/commands/nestjs.json +273 -0
  23. package/data/commands/nextjs.json +123 -0
  24. package/data/commands/react.json +210 -0
  25. package/data/commands/shadcn.json +410 -0
  26. package/data/commands/shell.json +571 -41
  27. package/data/completion/angular.json +1490 -0
  28. package/data/completion/css.json +793 -0
  29. package/data/completion/nestjs.json +1454 -0
  30. package/data/completion/nextjs.json +1373 -0
  31. package/data/completion/react.json +1319 -0
  32. package/data/completion/shadcn.json +1202 -0
  33. package/data/completion/shell.json +2446 -510
  34. package/data/declaration/angular.json +46 -0
  35. package/data/declaration/nestjs.json +47 -0
  36. package/data/declaration/nextjs.json +274 -0
  37. package/data/declaration/react.json +199 -0
  38. package/data/declaration/shadcn.json +211 -0
  39. package/data/declaration/shell.json +343 -24
  40. package/data/declaration/tailwindcss.json +72 -0
  41. package/data/definition/angular.json +670 -0
  42. package/data/definition/nestjs.json +684 -0
  43. package/data/definition/nextjs.json +439 -0
  44. package/data/definition/react.json +397 -0
  45. package/data/definition/shadcn.json +99 -0
  46. package/data/definition/shell.json +820 -0
  47. package/data/documentHighlight/angular.json +414 -0
  48. package/data/documentHighlight/css.json +77 -2
  49. package/data/documentHighlight/nestjs.json +115 -0
  50. package/data/documentHighlight/nextjs.json +212 -0
  51. package/data/documentHighlight/react.json +119 -0
  52. package/data/documentHighlight/shadcn.json +168 -0
  53. package/data/documentHighlight/shell.json +664 -334
  54. package/data/documentHighlight/tailwindcss.json +105 -10
  55. package/data/documentRangeFormatting/angular.json +45 -0
  56. package/data/documentRangeFormatting/nestjs.json +17 -0
  57. package/data/documentRangeFormatting/nextjs.json +17 -0
  58. package/data/documentRangeFormatting/react.json +78 -0
  59. package/data/documentRangeFormatting/shadcn.json +45 -0
  60. package/data/documentRangeFormatting/shell.json +120 -53
  61. package/data/documentSymbol/angular.json +180 -0
  62. package/data/documentSymbol/nestjs.json +152 -0
  63. package/data/documentSymbol/nextjs.json +159 -0
  64. package/data/documentSymbol/react.json +145 -0
  65. package/data/documentSymbol/shadcn.json +131 -0
  66. package/data/documentSymbol/shell.json +166 -26
  67. package/data/documentSymbol/tailwindcss.json +49 -0
  68. package/data/foldingRange/angular.json +99 -0
  69. package/data/foldingRange/nestjs.json +26 -0
  70. package/data/foldingRange/nextjs.json +26 -0
  71. package/data/foldingRange/react.json +120 -0
  72. package/data/foldingRange/shadcn.json +93 -0
  73. package/data/foldingRange/shell.json +106 -46
  74. package/data/formatting/angular.json +21 -0
  75. package/data/formatting/nestjs.json +23 -0
  76. package/data/formatting/nextjs.json +23 -0
  77. package/data/formatting/react.json +71 -0
  78. package/data/formatting/shadcn.json +61 -0
  79. package/data/formatting/shell.json +103 -19
  80. package/data/hover/angular.json +455 -0
  81. package/data/hover/css.json +232 -0
  82. package/data/hover/nestjs.json +296 -0
  83. package/data/hover/nextjs.json +305 -0
  84. package/data/hover/react.json +173 -0
  85. package/data/hover/shadcn.json +450 -0
  86. package/data/hover/shell.json +684 -75
  87. package/data/implementation/angular.json +22 -0
  88. package/data/implementation/nestjs.json +24 -0
  89. package/data/implementation/nextjs.json +137 -0
  90. package/data/implementation/react.json +125 -0
  91. package/data/implementation/shadcn.json +89 -0
  92. package/data/implementation/shell.json +59 -3
  93. package/data/inlayHints/angular.json +24 -0
  94. package/data/inlayHints/nestjs.json +24 -0
  95. package/data/inlayHints/nextjs.json +143 -0
  96. package/data/inlayHints/react.json +177 -0
  97. package/data/inlayHints/shadcn.json +109 -0
  98. package/data/inlayHints/shell.json +223 -35
  99. package/data/inlineCompletions/angular.json +135 -0
  100. package/data/inlineCompletions/nestjs.json +25 -0
  101. package/data/inlineCompletions/nextjs.json +179 -0
  102. package/data/inlineCompletions/react.json +203 -0
  103. package/data/inlineCompletions/shadcn.json +115 -0
  104. package/data/inlineCompletions/shell.json +185 -35
  105. package/data/linkedEditingRange/angular.json +23 -0
  106. package/data/linkedEditingRange/nestjs.json +10 -0
  107. package/data/linkedEditingRange/nextjs.json +11 -0
  108. package/data/linkedEditingRange/react.json +75 -0
  109. package/data/linkedEditingRange/shadcn.json +23 -0
  110. package/data/linkedEditingRange/shell.json +25 -25
  111. package/data/links/angular.json +95 -0
  112. package/data/links/nestjs.json +130 -0
  113. package/data/links/nextjs.json +91 -0
  114. package/data/links/react.json +75 -0
  115. package/data/links/shadcn.json +98 -0
  116. package/data/links/shell.json +56 -0
  117. package/data/links/tailwindcss.json +25 -0
  118. package/data/manifest.json +339 -152
  119. package/data/onTypeFormatting/angular.json +14 -0
  120. package/data/onTypeFormatting/nestjs.json +16 -0
  121. package/data/onTypeFormatting/nextjs.json +17 -0
  122. package/data/onTypeFormatting/react.json +127 -0
  123. package/data/onTypeFormatting/shadcn.json +54 -0
  124. package/data/onTypeFormatting/shell.json +72 -68
  125. package/data/rangeSemanticTokens/angular.json +140 -0
  126. package/data/rangeSemanticTokens/nestjs.json +27 -0
  127. package/data/rangeSemanticTokens/nextjs.json +28 -0
  128. package/data/rangeSemanticTokens/react.json +216 -0
  129. package/data/rangeSemanticTokens/shadcn.json +140 -0
  130. package/data/rangeSemanticTokens/shell.json +247 -69
  131. package/data/rangeSemanticTokens/tailwindcss.json +99 -8
  132. package/data/references/angular.json +26 -0
  133. package/data/references/nestjs.json +24 -0
  134. package/data/references/nextjs.json +178 -0
  135. package/data/references/react.json +192 -0
  136. package/data/references/shadcn.json +101 -0
  137. package/data/references/shell.json +323 -92
  138. package/data/references/tailwindcss.json +66 -0
  139. package/data/rename/angular.json +131 -0
  140. package/data/rename/nestjs.json +32 -0
  141. package/data/rename/nextjs.json +31 -0
  142. package/data/rename/react.json +88 -0
  143. package/data/rename/shadcn.json +79 -0
  144. package/data/rename/shell.json +101 -31
  145. package/data/selectionRange/angular.json +95 -0
  146. package/data/selectionRange/nestjs.json +21 -0
  147. package/data/selectionRange/nextjs.json +22 -0
  148. package/data/selectionRange/react.json +87 -0
  149. package/data/selectionRange/shadcn.json +89 -0
  150. package/data/selectionRange/shell.json +65 -35
  151. package/data/semanticTokens/angular.json +198 -0
  152. package/data/semanticTokens/nestjs.json +35 -0
  153. package/data/semanticTokens/nextjs.json +38 -0
  154. package/data/semanticTokens/react.json +215 -0
  155. package/data/semanticTokens/shadcn.json +180 -0
  156. package/data/semanticTokens/shell.json +238 -65
  157. package/data/signatureHelp/angular.json +182 -0
  158. package/data/signatureHelp/nestjs.json +128 -0
  159. package/data/signatureHelp/nextjs.json +127 -0
  160. package/data/signatureHelp/react.json +281 -0
  161. package/data/signatureHelp/shadcn.json +237 -0
  162. package/data/signatureHelp/shell.json +797 -104
  163. package/data/typeDefinition/angular.json +362 -0
  164. package/data/typeDefinition/nestjs.json +334 -0
  165. package/data/typeDefinition/nextjs.json +285 -0
  166. package/data/typeDefinition/react.json +236 -0
  167. package/data/typeDefinition/shadcn.json +292 -0
  168. package/data/typeDefinition/shell.json +104 -40
  169. package/package.json +1 -1
  170. package/data/codeActions/bash.json +0 -169
  171. package/data/codeActions/zsh.json +0 -49
  172. package/data/codeLens/bash.json +0 -75
  173. package/data/codeLens/zsh.json +0 -19
  174. package/data/color/bash.json +0 -100
  175. package/data/color/zsh.json +0 -80
  176. package/data/commands/bash.json +0 -102
  177. package/data/commands/zsh.json +0 -166
  178. package/data/completion/bash.json +0 -1184
  179. package/data/completion/zsh.json +0 -973
  180. package/data/declaration/bash.json +0 -301
  181. package/data/declaration/zsh.json +0 -205
  182. package/data/definition/bash.json +0 -565
  183. package/data/definition/zsh.json +0 -350
  184. package/data/documentHighlight/bash.json +0 -393
  185. package/data/documentHighlight/zsh.json +0 -266
  186. package/data/documentRangeFormatting/bash.json +0 -41
  187. package/data/documentRangeFormatting/zsh.json +0 -59
  188. package/data/documentSymbol/bash.json +0 -124
  189. package/data/documentSymbol/zsh.json +0 -26
  190. package/data/foldingRange/bash.json +0 -76
  191. package/data/foldingRange/zsh.json +0 -46
  192. package/data/formatting/bash.json +0 -88
  193. package/data/formatting/zsh.json +0 -28
  194. package/data/hover/bash.json +0 -579
  195. package/data/hover/zsh.json +0 -96
  196. package/data/implementation/bash.json +0 -44
  197. package/data/implementation/zsh.json +0 -41
  198. package/data/inlayHints/bash.json +0 -207
  199. package/data/inlayHints/zsh.json +0 -43
  200. package/data/inlineCompletions/bash.json +0 -155
  201. package/data/inlineCompletions/zsh.json +0 -17
  202. package/data/linkedEditingRange/bash.json +0 -25
  203. package/data/linkedEditingRange/zsh.json +0 -25
  204. package/data/links/bash.json +0 -56
  205. package/data/links/zsh.json +0 -15
  206. package/data/onTypeFormatting/bash.json +0 -68
  207. package/data/onTypeFormatting/zsh.json +0 -68
  208. package/data/rangeSemanticTokens/bash.json +0 -90
  209. package/data/rangeSemanticTokens/zsh.json +0 -76
  210. package/data/references/bash.json +0 -221
  211. package/data/references/zsh.json +0 -166
  212. package/data/rename/bash.json +0 -37
  213. package/data/rename/zsh.json +0 -31
  214. package/data/selectionRange/bash.json +0 -35
  215. package/data/selectionRange/zsh.json +0 -35
  216. package/data/semanticTokens/bash.json +0 -71
  217. package/data/semanticTokens/zsh.json +0 -71
  218. package/data/signatureHelp/bash.json +0 -111
  219. package/data/signatureHelp/zsh.json +0 -118
  220. package/data/typeDefinition/bash.json +0 -95
  221. package/data/typeDefinition/zsh.json +0 -40
@@ -0,0 +1,211 @@
1
+ {
2
+ "language": "shadcn",
3
+ "declarations": {
4
+ "cn": {
5
+ "signature": "cn(...inputs: ClassValue[]): string",
6
+ "description": "Merges class names using clsx and tailwind-merge, resolving Tailwind CSS conflicts",
7
+ "type": "function",
8
+ "module": "@/lib/utils"
9
+ },
10
+ "cva": {
11
+ "signature": "cva(base: string, config?: CVAConfig): VariantFunction",
12
+ "description": "Creates a class-variance-authority function for variant-based class generation",
13
+ "type": "function",
14
+ "module": "class-variance-authority"
15
+ },
16
+ "Button": {
17
+ "signature": "React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>",
18
+ "description": "Button component with variant, size, and asChild props",
19
+ "type": "component",
20
+ "module": "@/components/ui/button"
21
+ },
22
+ "Card": {
23
+ "signature": "React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>",
24
+ "description": "Card container component with sub-components: CardHeader, CardTitle, CardDescription, CardContent, CardFooter",
25
+ "type": "component",
26
+ "module": "@/components/ui/card"
27
+ },
28
+ "Dialog": {
29
+ "signature": "React.FC<DialogPrimitive.DialogProps>",
30
+ "description": "Modal dialog component built on Radix Dialog primitive",
31
+ "type": "component",
32
+ "module": "@/components/ui/dialog"
33
+ },
34
+ "Form": {
35
+ "signature": "React.FC<FormProviderProps<TFieldValues>>",
36
+ "description": "Form context provider wrapping react-hook-form FormProvider",
37
+ "type": "component",
38
+ "module": "@/components/ui/form"
39
+ },
40
+ "Input": {
41
+ "signature": "React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>",
42
+ "description": "Styled input component extending native HTML input",
43
+ "type": "component",
44
+ "module": "@/components/ui/input"
45
+ },
46
+ "Select": {
47
+ "signature": "React.FC<SelectPrimitive.SelectProps>",
48
+ "description": "Select dropdown built on Radix Select primitive",
49
+ "type": "component",
50
+ "module": "@/components/ui/select"
51
+ },
52
+ "Toast": {
53
+ "signature": "React.ForwardRefExoticComponent<ToastProps & React.RefAttributes<HTMLLIElement>>",
54
+ "description": "Toast notification component with variant support",
55
+ "type": "component",
56
+ "module": "@/components/ui/toast"
57
+ },
58
+ "useToast": {
59
+ "signature": "useToast(): { toast: (props: ToastProps) => { id: string; dismiss: () => void; update: (props: ToastProps) => void }; toasts: Toast[]; dismiss: (toastId?: string) => void }",
60
+ "description": "Hook for creating and managing toast notifications",
61
+ "type": "hook",
62
+ "module": "@/components/ui/use-toast"
63
+ },
64
+ "useFormField": {
65
+ "signature": "useFormField(): { id: string; name: string; formItemId: string; formDescriptionId: string; formMessageId: string; invalid: boolean; isDirty: boolean; isTouched: boolean; error?: FieldError }",
66
+ "description": "Hook to access form field context within FormField render prop",
67
+ "type": "hook",
68
+ "module": "@/components/ui/form"
69
+ },
70
+ "buttonVariants": {
71
+ "signature": "buttonVariants(props?: { variant?: 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link'; size?: 'default' | 'sm' | 'lg' | 'icon' }): string",
72
+ "description": "CVA function returning class string for button variants",
73
+ "type": "function",
74
+ "module": "@/components/ui/button"
75
+ },
76
+ "badgeVariants": {
77
+ "signature": "badgeVariants(props?: { variant?: 'default' | 'secondary' | 'outline' | 'destructive' }): string",
78
+ "description": "CVA function returning class string for badge variants",
79
+ "type": "function",
80
+ "module": "@/components/ui/badge"
81
+ },
82
+ "columns": {
83
+ "signature": "ColumnDef<TData, TValue>[]",
84
+ "description": "Column definitions array for TanStack Table DataTable component",
85
+ "type": "variable",
86
+ "module": "@/components/ui/data-table"
87
+ },
88
+ "TooltipProvider": {
89
+ "signature": "React.FC<TooltipPrimitive.TooltipProviderProps>",
90
+ "description": "Provider component that wraps app to enable Tooltip delay behavior",
91
+ "type": "component",
92
+ "module": "@/components/ui/tooltip"
93
+ },
94
+ "Toaster": {
95
+ "signature": "React.FC<{}>",
96
+ "description": "Toast viewport component placed in root layout to render toast notifications",
97
+ "type": "component",
98
+ "module": "@/components/ui/toaster"
99
+ },
100
+ "Textarea": {
101
+ "signature": "React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>",
102
+ "description": "Styled textarea component extending native HTML textarea",
103
+ "type": "component",
104
+ "module": "@/components/ui/textarea"
105
+ },
106
+ "Label": {
107
+ "signature": "React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>",
108
+ "description": "Label component built on Radix Label primitive",
109
+ "type": "component",
110
+ "module": "@/components/ui/label"
111
+ },
112
+ "Badge": {
113
+ "signature": "React.FC<BadgeProps & React.HTMLAttributes<HTMLDivElement>>",
114
+ "description": "Badge component with variant-based styling",
115
+ "type": "component",
116
+ "module": "@/components/ui/badge"
117
+ },
118
+ "Checkbox": {
119
+ "signature": "React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>",
120
+ "description": "Checkbox component built on Radix Checkbox primitive",
121
+ "type": "component",
122
+ "module": "@/components/ui/checkbox"
123
+ },
124
+ "Switch": {
125
+ "signature": "React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>",
126
+ "description": "Toggle switch component built on Radix Switch primitive",
127
+ "type": "component",
128
+ "module": "@/components/ui/switch"
129
+ },
130
+ "Separator": {
131
+ "signature": "React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>",
132
+ "description": "Visual separator component built on Radix Separator primitive",
133
+ "type": "component",
134
+ "module": "@/components/ui/separator"
135
+ }
136
+ },
137
+ "declarationPatterns": [
138
+ {
139
+ "name": "ForwardRef Component",
140
+ "pattern": "const\\s+(\\w+)\\s*=\\s*React\\.forwardRef<",
141
+ "captureGroup": 1,
142
+ "description": "Component declared with React.forwardRef"
143
+ },
144
+ {
145
+ "name": "Function Component",
146
+ "pattern": "(?:export\\s+)?function\\s+(\\w+)\\s*\\(\\s*(?:\\{|props)",
147
+ "captureGroup": 1,
148
+ "description": "Named function component declaration"
149
+ },
150
+ {
151
+ "name": "CVA Const",
152
+ "pattern": "const\\s+(\\w+Variants?)\\s*=\\s*cva\\(",
153
+ "captureGroup": 1,
154
+ "description": "CVA variant function declaration"
155
+ },
156
+ {
157
+ "name": "Interface Declaration",
158
+ "pattern": "(?:export\\s+)?interface\\s+(\\w+)",
159
+ "captureGroup": 1,
160
+ "description": "TypeScript interface declaration"
161
+ },
162
+ {
163
+ "name": "Type Alias",
164
+ "pattern": "(?:export\\s+)?type\\s+(\\w+)\\s*=",
165
+ "captureGroup": 1,
166
+ "description": "TypeScript type alias declaration"
167
+ },
168
+ {
169
+ "name": "Zod Schema",
170
+ "pattern": "const\\s+(\\w+Schema)\\s*=\\s*z\\.",
171
+ "captureGroup": 1,
172
+ "description": "Zod validation schema declaration"
173
+ },
174
+ {
175
+ "name": "Hook Function",
176
+ "pattern": "(?:export\\s+)?function\\s+(use\\w+)\\s*\\(",
177
+ "captureGroup": 1,
178
+ "description": "Custom React hook function declaration"
179
+ },
180
+ {
181
+ "name": "Arrow Hook",
182
+ "pattern": "(?:export\\s+)?const\\s+(use\\w+)\\s*=\\s*(?:\\(|\\<)",
183
+ "captureGroup": 1,
184
+ "description": "Custom React hook declared as arrow function"
185
+ },
186
+ {
187
+ "name": "Export Default",
188
+ "pattern": "export\\s+default\\s+(?:function|class)\\s+(\\w+)",
189
+ "captureGroup": 1,
190
+ "description": "Default export declaration"
191
+ },
192
+ {
193
+ "name": "Export Const",
194
+ "pattern": "export\\s+const\\s+(\\w+)\\s*[:=]",
195
+ "captureGroup": 1,
196
+ "description": "Named const export declaration"
197
+ },
198
+ {
199
+ "name": "Context Declaration",
200
+ "pattern": "const\\s+(\\w+)\\s*=\\s*(?:React\\.)?createContext",
201
+ "captureGroup": 1,
202
+ "description": "React context object declaration"
203
+ },
204
+ {
205
+ "name": "Column Definition Array",
206
+ "pattern": "const\\s+(columns)\\s*(?::\\s*ColumnDef)?\\s*=\\s*\\[",
207
+ "captureGroup": 1,
208
+ "description": "DataTable column definitions array declaration"
209
+ }
210
+ ]
211
+ }
@@ -1,24 +1,343 @@
1
- {
2
- "language": "shell",
3
- "declarations": {},
4
- "declarationPatterns": [
5
- {
6
- "name": "Function",
7
- "pattern": "^\\s*(?:function\\s+)?(\\w+)\\s*\\(\\)",
8
- "captureGroup": 1,
9
- "type": "function"
10
- },
11
- {
12
- "name": "Variable",
13
- "pattern": "^\\s*(\\w+)=",
14
- "captureGroup": 1,
15
- "type": "variable"
16
- },
17
- {
18
- "name": "Alias",
19
- "pattern": "^\\s*alias\\s+(\\w+)",
20
- "captureGroup": 1,
21
- "type": "variable"
22
- }
23
- ]
24
- }
1
+ {
2
+ "language": "shell",
3
+ "declarations": {
4
+ "echo": {
5
+ "signature": "echo",
6
+ "description": "Built-in: echo",
7
+ "type": "function",
8
+ "module": "builtin"
9
+ },
10
+ "printf": {
11
+ "signature": "printf",
12
+ "description": "Built-in: printf",
13
+ "type": "function",
14
+ "module": "builtin"
15
+ },
16
+ "read": {
17
+ "signature": "read",
18
+ "description": "Built-in: read",
19
+ "type": "function",
20
+ "module": "builtin"
21
+ },
22
+ "test": {
23
+ "signature": "test",
24
+ "description": "Built-in: test",
25
+ "type": "function",
26
+ "module": "builtin"
27
+ },
28
+ "[": {
29
+ "signature": "[",
30
+ "description": "Built-in: [",
31
+ "type": "function",
32
+ "module": "builtin"
33
+ },
34
+ "[[": {
35
+ "signature": "[[",
36
+ "description": "Built-in: [[",
37
+ "type": "function",
38
+ "module": "builtin"
39
+ },
40
+ "cd": {
41
+ "signature": "cd",
42
+ "description": "Built-in: cd",
43
+ "type": "function",
44
+ "module": "builtin"
45
+ },
46
+ "pwd": {
47
+ "signature": "pwd",
48
+ "description": "Built-in: pwd",
49
+ "type": "function",
50
+ "module": "builtin"
51
+ },
52
+ "pushd": {
53
+ "signature": "pushd",
54
+ "description": "Built-in: pushd",
55
+ "type": "function",
56
+ "module": "builtin"
57
+ },
58
+ "popd": {
59
+ "signature": "popd",
60
+ "description": "Built-in: popd",
61
+ "type": "function",
62
+ "module": "builtin"
63
+ },
64
+ "dirs": {
65
+ "signature": "dirs",
66
+ "description": "Built-in: dirs",
67
+ "type": "function",
68
+ "module": "builtin"
69
+ },
70
+ "alias": {
71
+ "signature": "alias",
72
+ "description": "Built-in: alias",
73
+ "type": "function",
74
+ "module": "builtin"
75
+ },
76
+ "unalias": {
77
+ "signature": "unalias",
78
+ "description": "Built-in: unalias",
79
+ "type": "function",
80
+ "module": "builtin"
81
+ },
82
+ "type": {
83
+ "signature": "type",
84
+ "description": "Built-in: type",
85
+ "type": "function",
86
+ "module": "builtin"
87
+ },
88
+ "which": {
89
+ "signature": "which",
90
+ "description": "Built-in: which",
91
+ "type": "function",
92
+ "module": "builtin"
93
+ },
94
+ "command": {
95
+ "signature": "command",
96
+ "description": "Built-in: command",
97
+ "type": "function",
98
+ "module": "builtin"
99
+ },
100
+ "hash": {
101
+ "signature": "hash",
102
+ "description": "Built-in: hash",
103
+ "type": "function",
104
+ "module": "builtin"
105
+ },
106
+ "help": {
107
+ "signature": "help",
108
+ "description": "Built-in: help",
109
+ "type": "function",
110
+ "module": "builtin"
111
+ },
112
+ "let": {
113
+ "signature": "let",
114
+ "description": "Built-in: let",
115
+ "type": "function",
116
+ "module": "builtin"
117
+ },
118
+ "expr": {
119
+ "signature": "expr",
120
+ "description": "Built-in: expr",
121
+ "type": "function",
122
+ "module": "builtin"
123
+ },
124
+ "true": {
125
+ "signature": "true",
126
+ "description": "Built-in: true",
127
+ "type": "function",
128
+ "module": "builtin"
129
+ },
130
+ "false": {
131
+ "signature": "false",
132
+ "description": "Built-in: false",
133
+ "type": "function",
134
+ "module": "builtin"
135
+ },
136
+ "kill": {
137
+ "signature": "kill",
138
+ "description": "Built-in: kill",
139
+ "type": "function",
140
+ "module": "builtin"
141
+ },
142
+ "wait": {
143
+ "signature": "wait",
144
+ "description": "Built-in: wait",
145
+ "type": "function",
146
+ "module": "builtin"
147
+ },
148
+ "jobs": {
149
+ "signature": "jobs",
150
+ "description": "Built-in: jobs",
151
+ "type": "function",
152
+ "module": "builtin"
153
+ },
154
+ "bg": {
155
+ "signature": "bg",
156
+ "description": "Built-in: bg",
157
+ "type": "function",
158
+ "module": "builtin"
159
+ },
160
+ "fg": {
161
+ "signature": "fg",
162
+ "description": "Built-in: fg",
163
+ "type": "function",
164
+ "module": "builtin"
165
+ },
166
+ "disown": {
167
+ "signature": "disown",
168
+ "description": "Built-in: disown",
169
+ "type": "function",
170
+ "module": "builtin"
171
+ },
172
+ "suspend": {
173
+ "signature": "suspend",
174
+ "description": "Built-in: suspend",
175
+ "type": "function",
176
+ "module": "builtin"
177
+ },
178
+ "logout": {
179
+ "signature": "logout",
180
+ "description": "Built-in: logout",
181
+ "type": "function",
182
+ "module": "builtin"
183
+ },
184
+ "print": {
185
+ "signature": "print",
186
+ "description": "Built-in: print",
187
+ "type": "function",
188
+ "module": "builtin"
189
+ },
190
+ "whence": {
191
+ "signature": "whence",
192
+ "description": "Built-in: whence",
193
+ "type": "function",
194
+ "module": "builtin"
195
+ }
196
+ },
197
+ "declarationPatterns": [
198
+ {
199
+ "name": "Function",
200
+ "pattern": "^\\s*(?:function\\s+)?(\\w+)\\s*\\(\\)",
201
+ "captureGroup": 1,
202
+ "type": "function"
203
+ },
204
+ {
205
+ "name": "Variable",
206
+ "pattern": "^\\s*(\\w+)=",
207
+ "captureGroup": 1,
208
+ "type": "variable"
209
+ },
210
+ {
211
+ "name": "Alias",
212
+ "pattern": "^\\s*alias\\s+(\\w+)",
213
+ "captureGroup": 1,
214
+ "type": "variable"
215
+ },
216
+ {
217
+ "name": "Function (keyword form)",
218
+ "pattern": "^\\s*function\\s+(\\w[\\w-]*)",
219
+ "captureGroup": 1,
220
+ "type": "function"
221
+ },
222
+ {
223
+ "name": "Function (parens form)",
224
+ "pattern": "^\\s*(\\w[\\w-]*)\\s*\\(\\s*\\)",
225
+ "captureGroup": 1,
226
+ "type": "function"
227
+ },
228
+ {
229
+ "name": "Local variable declaration",
230
+ "pattern": "^\\s*local\\s+(?:-\\w+\\s+)*(\\w+)",
231
+ "captureGroup": 1,
232
+ "type": "variable"
233
+ },
234
+ {
235
+ "name": "Declare variable",
236
+ "pattern": "^\\s*declare\\s+(?:-\\w+\\s+)*(\\w+)",
237
+ "captureGroup": 1,
238
+ "type": "variable"
239
+ },
240
+ {
241
+ "name": "Exported variable",
242
+ "pattern": "^\\s*export\\s+(\\w+)(?:=|$)",
243
+ "captureGroup": 1,
244
+ "type": "variable"
245
+ },
246
+ {
247
+ "name": "Readonly variable",
248
+ "pattern": "^\\s*readonly\\s+(\\w+)",
249
+ "captureGroup": 1,
250
+ "type": "constant"
251
+ },
252
+ {
253
+ "name": "Indexed array (declare)",
254
+ "pattern": "^\\s*declare\\s+-a\\s+(\\w+)",
255
+ "captureGroup": 1,
256
+ "type": "variable"
257
+ },
258
+ {
259
+ "name": "Associative array (declare)",
260
+ "pattern": "^\\s*declare\\s+-A\\s+(\\w+)",
261
+ "captureGroup": 1,
262
+ "type": "variable"
263
+ },
264
+ {
265
+ "name": "Integer variable",
266
+ "pattern": "^\\s*declare\\s+-i\\s+(\\w+)",
267
+ "captureGroup": 1,
268
+ "type": "variable"
269
+ },
270
+ {
271
+ "name": "Nameref variable",
272
+ "pattern": "^\\s*declare\\s+-n\\s+(\\w+)",
273
+ "captureGroup": 1,
274
+ "type": "variable"
275
+ },
276
+ {
277
+ "name": "Alias definition",
278
+ "pattern": "^\\s*alias\\s+([\\w-]+)=",
279
+ "captureGroup": 1,
280
+ "type": "variable"
281
+ },
282
+ {
283
+ "name": "For loop variable",
284
+ "pattern": "^\\s*for\\s+(\\w+)\\s+in",
285
+ "captureGroup": 1,
286
+ "type": "variable"
287
+ },
288
+ {
289
+ "name": "Read into variable",
290
+ "pattern": "\\bread\\s+(?:-[a-zA-Z]+\\s+)*(?:-p\\s+['\"][^'\"]+['\"]\\s+)*(\\w+)",
291
+ "captureGroup": 1,
292
+ "type": "variable"
293
+ },
294
+ {
295
+ "name": "Mapfile into array",
296
+ "pattern": "\\bmapfile\\s+(?:-\\w+\\s+)*(\\w+)",
297
+ "captureGroup": 1,
298
+ "type": "variable"
299
+ },
300
+ {
301
+ "name": "Select variable",
302
+ "pattern": "^\\s*select\\s+(\\w+)\\s+in",
303
+ "captureGroup": 1,
304
+ "type": "variable"
305
+ },
306
+ {
307
+ "name": "Getopts variable",
308
+ "pattern": "\\bgetopts\\s+[\"']?\\w+[\"']?\\s+(\\w+)",
309
+ "captureGroup": 1,
310
+ "type": "variable"
311
+ },
312
+ {
313
+ "name": "Completion function",
314
+ "pattern": "^\\s*complete\\s+.*-F\\s+(\\w+)",
315
+ "captureGroup": 1,
316
+ "type": "function"
317
+ },
318
+ {
319
+ "name": "C-style for loop variable",
320
+ "pattern": "^\\s*for\\s*\\(\\(\\s*(\\w+)\\s*=",
321
+ "captureGroup": 1,
322
+ "type": "variable"
323
+ },
324
+ {
325
+ "name": "Function (keyword)",
326
+ "pattern": "^\\\\s*function\\\\s+(\\\\w+)",
327
+ "captureGroup": 1,
328
+ "type": "function"
329
+ },
330
+ {
331
+ "name": "Function (parens)",
332
+ "pattern": "^\\\\s*(\\\\w+)\\\\s*\\\\(\\\\)",
333
+ "captureGroup": 1,
334
+ "type": "function"
335
+ },
336
+ {
337
+ "name": "Variable",
338
+ "pattern": "^\\\\s*(\\\\w+)=",
339
+ "captureGroup": 1,
340
+ "type": "variable"
341
+ }
342
+ ]
343
+ }
@@ -60,6 +60,78 @@
60
60
  "captureGroup": 0,
61
61
  "kind": "function",
62
62
  "description": "Tailwind plugin API — registers dynamic utilities that accept arbitrary values."
63
+ },
64
+ {
65
+ "pattern": "matchComponents\\s*\\(",
66
+ "captureGroup": 0,
67
+ "kind": "function",
68
+ "description": "Tailwind plugin API — registers dynamic component classes that accept arbitrary values."
69
+ },
70
+ {
71
+ "pattern": "addBase\\s*\\(",
72
+ "captureGroup": 0,
73
+ "kind": "function",
74
+ "description": "Tailwind plugin API — registers base layer styles (global defaults, resets)."
75
+ },
76
+ {
77
+ "pattern": "addVariant\\s*\\(",
78
+ "captureGroup": 0,
79
+ "kind": "function",
80
+ "description": "Tailwind plugin API — registers a custom variant (modifier prefix)."
81
+ },
82
+ {
83
+ "pattern": "matchVariant\\s*\\(",
84
+ "captureGroup": 0,
85
+ "kind": "function",
86
+ "description": "Tailwind plugin API — registers a dynamic variant that accepts arbitrary values."
87
+ },
88
+ {
89
+ "pattern": "@screen\\s+(\\w+)\\s*\\{",
90
+ "captureGroup": 1,
91
+ "kind": "module",
92
+ "description": "Tailwind @screen directive — wraps rules in a responsive breakpoint media query."
93
+ },
94
+ {
95
+ "pattern": "@source\\s+['\"]([^'\"]+)['\"]\\s*;",
96
+ "captureGroup": 1,
97
+ "kind": "file",
98
+ "description": "Tailwind @source directive — specifies additional content source paths for class detection."
99
+ },
100
+ {
101
+ "pattern": "@plugin\\s+['\"]([^'\"]+)['\"]\\s*;",
102
+ "captureGroup": 1,
103
+ "kind": "file",
104
+ "description": "Tailwind @plugin directive — loads a Tailwind plugin by path or package name."
105
+ },
106
+ {
107
+ "pattern": "@keyframes\\s+([\\w-]+)\\s*\\{",
108
+ "captureGroup": 1,
109
+ "kind": "enum",
110
+ "description": "CSS @keyframes declaration used with Tailwind animation utilities."
111
+ },
112
+ {
113
+ "pattern": "content:\\s*\\[([^\\]]+)\\]",
114
+ "captureGroup": 1,
115
+ "kind": "file",
116
+ "description": "Tailwind config content paths — glob patterns for scanning class names."
117
+ },
118
+ {
119
+ "pattern": "screens:\\s*\\{([^}]+)\\}",
120
+ "captureGroup": 1,
121
+ "kind": "enum",
122
+ "description": "Tailwind config screens — responsive breakpoint definitions."
123
+ },
124
+ {
125
+ "pattern": "prefix:\\s*['\"]([^'\"]+)['\"]",
126
+ "captureGroup": 1,
127
+ "kind": "variable",
128
+ "description": "Tailwind config prefix — class name prefix for all generated utilities."
129
+ },
130
+ {
131
+ "pattern": "extend:\\s*\\{[^}]*([\\w]+):\\s*\\{",
132
+ "captureGroup": 1,
133
+ "kind": "property",
134
+ "description": "Tailwind config theme extend block — extends the default theme with custom values."
63
135
  }
64
136
  ]
65
137
  }