@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,212 +1,270 @@
|
|
|
1
|
-
{
|
|
2
|
-
"language": "nextjs",
|
|
3
|
-
"highlights": {
|
|
4
|
-
"'use client'": {
|
|
5
|
-
"kind":
|
|
6
|
-
"pattern": "^['\"]use client['\"];?",
|
|
7
|
-
"scope": "directive",
|
|
8
|
-
"description": "Client Component directive"
|
|
9
|
-
},
|
|
10
|
-
"'use server'": {
|
|
11
|
-
"kind":
|
|
12
|
-
"pattern": "['\"]use server['\"];?",
|
|
13
|
-
"scope": "directive",
|
|
14
|
-
"description": "Server Action directive"
|
|
15
|
-
},
|
|
16
|
-
"export default function": {
|
|
17
|
-
"kind":
|
|
18
|
-
"pattern": "export\\s+default\\s+(async\\s+)?function\\s+\\w+",
|
|
19
|
-
"scope": "declaration",
|
|
20
|
-
"description": "Page/Layout/Component default export"
|
|
21
|
-
},
|
|
22
|
-
"export async function GET": {
|
|
23
|
-
"kind":
|
|
24
|
-
"pattern": "export\\s+async\\s+function\\s+(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS)",
|
|
25
|
-
"scope": "declaration",
|
|
26
|
-
"description": "Route Handler method export"
|
|
27
|
-
},
|
|
28
|
-
"generateMetadata": {
|
|
29
|
-
"kind":
|
|
30
|
-
"pattern": "export\\s+(async\\s+)?function\\s+generateMetadata",
|
|
31
|
-
"scope": "declaration",
|
|
32
|
-
"description": "Metadata generation function"
|
|
33
|
-
},
|
|
34
|
-
"generateStaticParams": {
|
|
35
|
-
"kind":
|
|
36
|
-
"pattern": "export\\s+(async\\s+)?function\\s+generateStaticParams",
|
|
37
|
-
"scope": "declaration",
|
|
38
|
-
"description": "Static params generation function"
|
|
39
|
-
},
|
|
40
|
-
"generateViewport": {
|
|
41
|
-
"kind":
|
|
42
|
-
"pattern": "export\\s+(async\\s+)?function\\s+generateViewport",
|
|
43
|
-
"scope": "declaration",
|
|
44
|
-
"description": "Viewport generation function"
|
|
45
|
-
},
|
|
46
|
-
"export const metadata": {
|
|
47
|
-
"kind":
|
|
48
|
-
"pattern": "export\\s+const\\s+metadata\\s*:\\s*Metadata",
|
|
49
|
-
"scope": "declaration",
|
|
50
|
-
"description": "Static metadata export"
|
|
51
|
-
},
|
|
52
|
-
"export const dynamic": {
|
|
53
|
-
"kind":
|
|
54
|
-
"pattern": "export\\s+const\\s+dynamic\\s*=",
|
|
55
|
-
"scope": "config",
|
|
56
|
-
"description": "Route segment dynamic config"
|
|
57
|
-
},
|
|
58
|
-
"export const revalidate": {
|
|
59
|
-
"kind":
|
|
60
|
-
"pattern": "export\\s+const\\s+revalidate\\s*=",
|
|
61
|
-
"scope": "config",
|
|
62
|
-
"description": "Route segment revalidate config"
|
|
63
|
-
},
|
|
64
|
-
"export const runtime": {
|
|
65
|
-
"kind":
|
|
66
|
-
"pattern": "export\\s+const\\s+runtime\\s*=",
|
|
67
|
-
"scope": "config",
|
|
68
|
-
"description": "Route segment runtime config"
|
|
69
|
-
},
|
|
70
|
-
"export const preferredRegion": {
|
|
71
|
-
"kind":
|
|
72
|
-
"pattern": "export\\s+const\\s+preferredRegion\\s*=",
|
|
73
|
-
"scope": "config",
|
|
74
|
-
"description": "Route segment preferred region config"
|
|
75
|
-
},
|
|
76
|
-
"export const maxDuration": {
|
|
77
|
-
"kind":
|
|
78
|
-
"pattern": "export\\s+const\\s+maxDuration\\s*=",
|
|
79
|
-
"scope": "config",
|
|
80
|
-
"description": "Route segment max duration config"
|
|
81
|
-
},
|
|
82
|
-
"export const fetchCache": {
|
|
83
|
-
"kind":
|
|
84
|
-
"pattern": "export\\s+const\\s+fetchCache\\s*=",
|
|
85
|
-
"scope": "config",
|
|
86
|
-
"description": "Route segment fetch cache config"
|
|
87
|
-
},
|
|
88
|
-
"export const dynamicParams": {
|
|
89
|
-
"kind":
|
|
90
|
-
"pattern": "export\\s+const\\s+dynamicParams\\s*=",
|
|
91
|
-
"scope": "config",
|
|
92
|
-
"description": "Route segment dynamic params config"
|
|
93
|
-
},
|
|
94
|
-
"next/navigation import": {
|
|
95
|
-
"kind":
|
|
96
|
-
"pattern": "import\\s+\\{[^}]+\\}\\s+from\\s+['\"]next/navigation['\"]",
|
|
97
|
-
"scope": "import",
|
|
98
|
-
"description": "Next.js navigation imports"
|
|
99
|
-
},
|
|
100
|
-
"next/server import": {
|
|
101
|
-
"kind":
|
|
102
|
-
"pattern": "import\\s+\\{[^}]+\\}\\s+from\\s+['\"]next/server['\"]",
|
|
103
|
-
"scope": "import",
|
|
104
|
-
"description": "Next.js server imports"
|
|
105
|
-
},
|
|
106
|
-
"next/image import": {
|
|
107
|
-
"kind":
|
|
108
|
-
"pattern": "import\\s+Image\\s+from\\s+['\"]next/image['\"]",
|
|
109
|
-
"scope": "import",
|
|
110
|
-
"description": "Next.js Image component import"
|
|
111
|
-
},
|
|
112
|
-
"next/link import": {
|
|
113
|
-
"kind":
|
|
114
|
-
"pattern": "import\\s+Link\\s+from\\s+['\"]next/link['\"]",
|
|
115
|
-
"scope": "import",
|
|
116
|
-
"description": "Next.js Link component import"
|
|
117
|
-
},
|
|
118
|
-
"next/headers import": {
|
|
119
|
-
"kind":
|
|
120
|
-
"pattern": "import\\s+\\{[^}]+\\}\\s+from\\s+['\"]next/headers['\"]",
|
|
121
|
-
"scope": "import",
|
|
122
|
-
"description": "Next.js headers imports"
|
|
123
|
-
},
|
|
124
|
-
"next/cache import": {
|
|
125
|
-
"kind":
|
|
126
|
-
"pattern": "import\\s+\\{[^}]+\\}\\s+from\\s+['\"]next/cache['\"]",
|
|
127
|
-
"scope": "import",
|
|
128
|
-
"description": "Next.js cache imports"
|
|
129
|
-
},
|
|
130
|
-
"getServerSideProps": {
|
|
131
|
-
"kind":
|
|
132
|
-
"pattern": "export\\s+(const\\s+)?getServerSideProps",
|
|
133
|
-
"scope": "data-fetching",
|
|
134
|
-
"description": "Pages Router server-side data fetching"
|
|
135
|
-
},
|
|
136
|
-
"getStaticProps": {
|
|
137
|
-
"kind":
|
|
138
|
-
"pattern": "export\\s+(const\\s+)?getStaticProps",
|
|
139
|
-
"scope": "data-fetching",
|
|
140
|
-
"description": "Pages Router static data fetching"
|
|
141
|
-
},
|
|
142
|
-
"getStaticPaths": {
|
|
143
|
-
"kind":
|
|
144
|
-
"pattern": "export\\s+(const\\s+)?getStaticPaths",
|
|
145
|
-
"scope": "data-fetching",
|
|
146
|
-
"description": "Pages Router static paths"
|
|
147
|
-
},
|
|
148
|
-
"middleware": {
|
|
149
|
-
"kind":
|
|
150
|
-
"pattern": "export\\s+function\\s+middleware",
|
|
151
|
-
"scope": "middleware",
|
|
152
|
-
"description": "Middleware function export"
|
|
153
|
-
},
|
|
154
|
-
"fetch-cache": {
|
|
155
|
-
"kind":
|
|
156
|
-
"pattern": "fetch\\([^)]+,\\s*\\{[^}]*(cache|revalidate|tags)[^}]*\\}",
|
|
157
|
-
"scope": "data-fetching",
|
|
158
|
-
"description": "Fetch with Next.js cache options"
|
|
159
|
-
},
|
|
160
|
-
"revalidatePath-call": {
|
|
161
|
-
"kind":
|
|
162
|
-
"pattern": "revalidatePath\\([^)]+\\)",
|
|
163
|
-
"scope": "revalidation",
|
|
164
|
-
"description": "Cache revalidation by path"
|
|
165
|
-
},
|
|
166
|
-
"revalidateTag-call": {
|
|
167
|
-
"kind":
|
|
168
|
-
"pattern": "revalidateTag\\([^)]+\\)",
|
|
169
|
-
"scope": "revalidation",
|
|
170
|
-
"description": "Cache revalidation by tag"
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
"bracketPairs": [
|
|
174
|
-
{
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
{
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
"
|
|
184
|
-
"
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
"
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
{
|
|
197
|
-
"name": "
|
|
198
|
-
"keywords": [
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
"
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
1
|
+
{
|
|
2
|
+
"language": "nextjs",
|
|
3
|
+
"highlights": {
|
|
4
|
+
"'use client'": {
|
|
5
|
+
"kind": 0,
|
|
6
|
+
"pattern": "^['\"]use client['\"];?",
|
|
7
|
+
"scope": "directive",
|
|
8
|
+
"description": "Client Component directive"
|
|
9
|
+
},
|
|
10
|
+
"'use server'": {
|
|
11
|
+
"kind": 0,
|
|
12
|
+
"pattern": "['\"]use server['\"];?",
|
|
13
|
+
"scope": "directive",
|
|
14
|
+
"description": "Server Action directive"
|
|
15
|
+
},
|
|
16
|
+
"export default function": {
|
|
17
|
+
"kind": 2,
|
|
18
|
+
"pattern": "export\\s+default\\s+(async\\s+)?function\\s+\\w+",
|
|
19
|
+
"scope": "declaration",
|
|
20
|
+
"description": "Page/Layout/Component default export"
|
|
21
|
+
},
|
|
22
|
+
"export async function GET": {
|
|
23
|
+
"kind": 2,
|
|
24
|
+
"pattern": "export\\s+async\\s+function\\s+(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS)",
|
|
25
|
+
"scope": "declaration",
|
|
26
|
+
"description": "Route Handler method export"
|
|
27
|
+
},
|
|
28
|
+
"generateMetadata": {
|
|
29
|
+
"kind": 2,
|
|
30
|
+
"pattern": "export\\s+(async\\s+)?function\\s+generateMetadata",
|
|
31
|
+
"scope": "declaration",
|
|
32
|
+
"description": "Metadata generation function"
|
|
33
|
+
},
|
|
34
|
+
"generateStaticParams": {
|
|
35
|
+
"kind": 2,
|
|
36
|
+
"pattern": "export\\s+(async\\s+)?function\\s+generateStaticParams",
|
|
37
|
+
"scope": "declaration",
|
|
38
|
+
"description": "Static params generation function"
|
|
39
|
+
},
|
|
40
|
+
"generateViewport": {
|
|
41
|
+
"kind": 2,
|
|
42
|
+
"pattern": "export\\s+(async\\s+)?function\\s+generateViewport",
|
|
43
|
+
"scope": "declaration",
|
|
44
|
+
"description": "Viewport generation function"
|
|
45
|
+
},
|
|
46
|
+
"export const metadata": {
|
|
47
|
+
"kind": 2,
|
|
48
|
+
"pattern": "export\\s+const\\s+metadata\\s*:\\s*Metadata",
|
|
49
|
+
"scope": "declaration",
|
|
50
|
+
"description": "Static metadata export"
|
|
51
|
+
},
|
|
52
|
+
"export const dynamic": {
|
|
53
|
+
"kind": 2,
|
|
54
|
+
"pattern": "export\\s+const\\s+dynamic\\s*=",
|
|
55
|
+
"scope": "config",
|
|
56
|
+
"description": "Route segment dynamic config"
|
|
57
|
+
},
|
|
58
|
+
"export const revalidate": {
|
|
59
|
+
"kind": 2,
|
|
60
|
+
"pattern": "export\\s+const\\s+revalidate\\s*=",
|
|
61
|
+
"scope": "config",
|
|
62
|
+
"description": "Route segment revalidate config"
|
|
63
|
+
},
|
|
64
|
+
"export const runtime": {
|
|
65
|
+
"kind": 2,
|
|
66
|
+
"pattern": "export\\s+const\\s+runtime\\s*=",
|
|
67
|
+
"scope": "config",
|
|
68
|
+
"description": "Route segment runtime config"
|
|
69
|
+
},
|
|
70
|
+
"export const preferredRegion": {
|
|
71
|
+
"kind": 2,
|
|
72
|
+
"pattern": "export\\s+const\\s+preferredRegion\\s*=",
|
|
73
|
+
"scope": "config",
|
|
74
|
+
"description": "Route segment preferred region config"
|
|
75
|
+
},
|
|
76
|
+
"export const maxDuration": {
|
|
77
|
+
"kind": 2,
|
|
78
|
+
"pattern": "export\\s+const\\s+maxDuration\\s*=",
|
|
79
|
+
"scope": "config",
|
|
80
|
+
"description": "Route segment max duration config"
|
|
81
|
+
},
|
|
82
|
+
"export const fetchCache": {
|
|
83
|
+
"kind": 2,
|
|
84
|
+
"pattern": "export\\s+const\\s+fetchCache\\s*=",
|
|
85
|
+
"scope": "config",
|
|
86
|
+
"description": "Route segment fetch cache config"
|
|
87
|
+
},
|
|
88
|
+
"export const dynamicParams": {
|
|
89
|
+
"kind": 2,
|
|
90
|
+
"pattern": "export\\s+const\\s+dynamicParams\\s*=",
|
|
91
|
+
"scope": "config",
|
|
92
|
+
"description": "Route segment dynamic params config"
|
|
93
|
+
},
|
|
94
|
+
"next/navigation import": {
|
|
95
|
+
"kind": 1,
|
|
96
|
+
"pattern": "import\\s+\\{[^}]+\\}\\s+from\\s+['\"]next/navigation['\"]",
|
|
97
|
+
"scope": "import",
|
|
98
|
+
"description": "Next.js navigation imports"
|
|
99
|
+
},
|
|
100
|
+
"next/server import": {
|
|
101
|
+
"kind": 1,
|
|
102
|
+
"pattern": "import\\s+\\{[^}]+\\}\\s+from\\s+['\"]next/server['\"]",
|
|
103
|
+
"scope": "import",
|
|
104
|
+
"description": "Next.js server imports"
|
|
105
|
+
},
|
|
106
|
+
"next/image import": {
|
|
107
|
+
"kind": 1,
|
|
108
|
+
"pattern": "import\\s+Image\\s+from\\s+['\"]next/image['\"]",
|
|
109
|
+
"scope": "import",
|
|
110
|
+
"description": "Next.js Image component import"
|
|
111
|
+
},
|
|
112
|
+
"next/link import": {
|
|
113
|
+
"kind": 1,
|
|
114
|
+
"pattern": "import\\s+Link\\s+from\\s+['\"]next/link['\"]",
|
|
115
|
+
"scope": "import",
|
|
116
|
+
"description": "Next.js Link component import"
|
|
117
|
+
},
|
|
118
|
+
"next/headers import": {
|
|
119
|
+
"kind": 1,
|
|
120
|
+
"pattern": "import\\s+\\{[^}]+\\}\\s+from\\s+['\"]next/headers['\"]",
|
|
121
|
+
"scope": "import",
|
|
122
|
+
"description": "Next.js headers imports"
|
|
123
|
+
},
|
|
124
|
+
"next/cache import": {
|
|
125
|
+
"kind": 1,
|
|
126
|
+
"pattern": "import\\s+\\{[^}]+\\}\\s+from\\s+['\"]next/cache['\"]",
|
|
127
|
+
"scope": "import",
|
|
128
|
+
"description": "Next.js cache imports"
|
|
129
|
+
},
|
|
130
|
+
"getServerSideProps": {
|
|
131
|
+
"kind": 2,
|
|
132
|
+
"pattern": "export\\s+(const\\s+)?getServerSideProps",
|
|
133
|
+
"scope": "data-fetching",
|
|
134
|
+
"description": "Pages Router server-side data fetching"
|
|
135
|
+
},
|
|
136
|
+
"getStaticProps": {
|
|
137
|
+
"kind": 2,
|
|
138
|
+
"pattern": "export\\s+(const\\s+)?getStaticProps",
|
|
139
|
+
"scope": "data-fetching",
|
|
140
|
+
"description": "Pages Router static data fetching"
|
|
141
|
+
},
|
|
142
|
+
"getStaticPaths": {
|
|
143
|
+
"kind": 2,
|
|
144
|
+
"pattern": "export\\s+(const\\s+)?getStaticPaths",
|
|
145
|
+
"scope": "data-fetching",
|
|
146
|
+
"description": "Pages Router static paths"
|
|
147
|
+
},
|
|
148
|
+
"middleware": {
|
|
149
|
+
"kind": 2,
|
|
150
|
+
"pattern": "export\\s+function\\s+middleware",
|
|
151
|
+
"scope": "middleware",
|
|
152
|
+
"description": "Middleware function export"
|
|
153
|
+
},
|
|
154
|
+
"fetch-cache": {
|
|
155
|
+
"kind": 1,
|
|
156
|
+
"pattern": "fetch\\([^)]+,\\s*\\{[^}]*(cache|revalidate|tags)[^}]*\\}",
|
|
157
|
+
"scope": "data-fetching",
|
|
158
|
+
"description": "Fetch with Next.js cache options"
|
|
159
|
+
},
|
|
160
|
+
"revalidatePath-call": {
|
|
161
|
+
"kind": 1,
|
|
162
|
+
"pattern": "revalidatePath\\([^)]+\\)",
|
|
163
|
+
"scope": "revalidation",
|
|
164
|
+
"description": "Cache revalidation by path"
|
|
165
|
+
},
|
|
166
|
+
"revalidateTag-call": {
|
|
167
|
+
"kind": 1,
|
|
168
|
+
"pattern": "revalidateTag\\([^)]+\\)",
|
|
169
|
+
"scope": "revalidation",
|
|
170
|
+
"description": "Cache revalidation by tag"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"bracketPairs": [
|
|
174
|
+
{
|
|
175
|
+
"open": "{",
|
|
176
|
+
"close": "}"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"open": "[",
|
|
180
|
+
"close": "]"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"open": "(",
|
|
184
|
+
"close": ")"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"open": "<",
|
|
188
|
+
"close": ">"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"open": "<%",
|
|
192
|
+
"close": "%>"
|
|
193
|
+
}
|
|
194
|
+
],
|
|
195
|
+
"keywordGroups": [
|
|
196
|
+
{
|
|
197
|
+
"name": "directives",
|
|
198
|
+
"keywords": [
|
|
199
|
+
"'use client'",
|
|
200
|
+
"'use server'"
|
|
201
|
+
],
|
|
202
|
+
"style": "directive"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"name": "routeSegmentConfig",
|
|
206
|
+
"keywords": [
|
|
207
|
+
"dynamic",
|
|
208
|
+
"revalidate",
|
|
209
|
+
"runtime",
|
|
210
|
+
"preferredRegion",
|
|
211
|
+
"maxDuration",
|
|
212
|
+
"fetchCache",
|
|
213
|
+
"dynamicParams"
|
|
214
|
+
],
|
|
215
|
+
"style": "config"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"name": "fileConventions",
|
|
219
|
+
"keywords": [
|
|
220
|
+
"page",
|
|
221
|
+
"layout",
|
|
222
|
+
"loading",
|
|
223
|
+
"error",
|
|
224
|
+
"not-found",
|
|
225
|
+
"template",
|
|
226
|
+
"default",
|
|
227
|
+
"route",
|
|
228
|
+
"middleware",
|
|
229
|
+
"global-error"
|
|
230
|
+
],
|
|
231
|
+
"style": "convention"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"name": "httpMethods",
|
|
235
|
+
"keywords": [
|
|
236
|
+
"GET",
|
|
237
|
+
"POST",
|
|
238
|
+
"PUT",
|
|
239
|
+
"DELETE",
|
|
240
|
+
"PATCH",
|
|
241
|
+
"HEAD",
|
|
242
|
+
"OPTIONS"
|
|
243
|
+
],
|
|
244
|
+
"style": "method"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"name": "dataFetching",
|
|
248
|
+
"keywords": [
|
|
249
|
+
"generateMetadata",
|
|
250
|
+
"generateStaticParams",
|
|
251
|
+
"generateViewport",
|
|
252
|
+
"getServerSideProps",
|
|
253
|
+
"getStaticProps",
|
|
254
|
+
"getStaticPaths"
|
|
255
|
+
],
|
|
256
|
+
"style": "function"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"name": "caching",
|
|
260
|
+
"keywords": [
|
|
261
|
+
"revalidatePath",
|
|
262
|
+
"revalidateTag",
|
|
263
|
+
"unstable_cache",
|
|
264
|
+
"force-cache",
|
|
265
|
+
"no-store"
|
|
266
|
+
],
|
|
267
|
+
"style": "cache"
|
|
268
|
+
}
|
|
269
|
+
]
|
|
270
|
+
}
|
|
@@ -12,19 +12,22 @@
|
|
|
12
12
|
"pattern": "^az\\s+(\\w[\\w-]+)",
|
|
13
13
|
"captureGroup": 1,
|
|
14
14
|
"kind": 12,
|
|
15
|
-
"description": "Azure CLI command group"
|
|
15
|
+
"description": "Azure CLI command group",
|
|
16
|
+
"name": "Group"
|
|
16
17
|
},
|
|
17
18
|
{
|
|
18
19
|
"pattern": "--(\\w[\\w-]+)",
|
|
19
20
|
"captureGroup": 1,
|
|
20
21
|
"kind": 13,
|
|
21
|
-
"description": "CLI flag/option"
|
|
22
|
+
"description": "CLI flag/option",
|
|
23
|
+
"name": "Option"
|
|
22
24
|
},
|
|
23
25
|
{
|
|
24
26
|
"pattern": "^#\\s*(.+)",
|
|
25
27
|
"captureGroup": 1,
|
|
26
28
|
"kind": 15,
|
|
27
|
-
"description": "Comment annotation"
|
|
29
|
+
"description": "Comment annotation",
|
|
30
|
+
"name": "Comment"
|
|
28
31
|
},
|
|
29
32
|
{
|
|
30
33
|
"name": "Class",
|
|
@@ -12,26 +12,29 @@
|
|
|
12
12
|
"name": "Snippet",
|
|
13
13
|
"pattern": "^\\\\s*\\\\(([^)]+)\\\\)",
|
|
14
14
|
"captureGroup": 1,
|
|
15
|
-
"kind":
|
|
15
|
+
"kind": 12,
|
|
16
16
|
"type": "function"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"pattern": "^(\\w[\\w.]+)\\s*\\{",
|
|
20
20
|
"captureGroup": 1,
|
|
21
21
|
"kind": 5,
|
|
22
|
-
"description": "Site block / address"
|
|
22
|
+
"description": "Site block / address",
|
|
23
|
+
"name": "Block"
|
|
23
24
|
},
|
|
24
25
|
{
|
|
25
26
|
"pattern": "^\\s+(\\w+)\\b",
|
|
26
27
|
"captureGroup": 1,
|
|
27
28
|
"kind": 12,
|
|
28
|
-
"description": "Directive"
|
|
29
|
+
"description": "Directive",
|
|
30
|
+
"name": "Directive"
|
|
29
31
|
},
|
|
30
32
|
{
|
|
31
33
|
"pattern": "@(\\w+)",
|
|
32
34
|
"captureGroup": 1,
|
|
33
35
|
"kind": 13,
|
|
34
|
-
"description": "Named matcher"
|
|
36
|
+
"description": "Named matcher",
|
|
37
|
+
"name": "Symbol"
|
|
35
38
|
},
|
|
36
39
|
{
|
|
37
40
|
"name": "Class",
|
|
@@ -12,19 +12,22 @@
|
|
|
12
12
|
"pattern": "^#\\s*(.+)",
|
|
13
13
|
"captureGroup": 1,
|
|
14
14
|
"kind": 15,
|
|
15
|
-
"description": "Comment / description"
|
|
15
|
+
"description": "Comment / description",
|
|
16
|
+
"name": "Comment"
|
|
16
17
|
},
|
|
17
18
|
{
|
|
18
19
|
"pattern": "^[@\\d*].*\\s+(\\S+)$",
|
|
19
20
|
"captureGroup": 1,
|
|
20
21
|
"kind": 12,
|
|
21
|
-
"description": "Scheduled command"
|
|
22
|
+
"description": "Scheduled command",
|
|
23
|
+
"name": "Symbol"
|
|
22
24
|
},
|
|
23
25
|
{
|
|
24
26
|
"pattern": "^(\\w+)=(.*)",
|
|
25
27
|
"captureGroup": 1,
|
|
26
28
|
"kind": 13,
|
|
27
|
-
"description": "Environment variable"
|
|
29
|
+
"description": "Environment variable",
|
|
30
|
+
"name": "Symbol"
|
|
28
31
|
},
|
|
29
32
|
{
|
|
30
33
|
"name": "Class",
|