@enjoys/context-engine 1.4.1 → 1.4.2
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/codeLens/awk.json +1 -1
- package/data/codeLens/azcli.json +10 -10
- package/data/codeLens/c.json +1 -1
- package/data/codeLens/caddy.json +1 -1
- package/data/codeLens/crontab.json +1 -1
- package/data/codeLens/doctest.json +10 -10
- package/data/codeLens/hcl.json +1 -1
- package/data/codeLens/html.json +1 -1
- package/data/codeLens/lua.json +1 -1
- package/data/codeLens/nginx.json +1 -1
- package/data/codeLens/pla.json +10 -10
- package/data/codeLens/xml.json +1 -1
- package/data/commands/angular.json +670 -312
- package/data/commands/c.json +30 -30
- package/data/commands/cpp.json +30 -30
- package/data/commands/crontab.json +25 -30
- package/data/commands/cypher.json +26 -30
- package/data/commands/dockerfile.json +26 -2
- package/data/commands/doctest.json +23 -24
- package/data/commands/dotenv.json +24 -11
- package/data/commands/ecl.json +26 -30
- package/data/commands/flow9.json +24 -24
- package/data/commands/freemarker2.json +24 -18
- package/data/commands/graphql.json +25 -11
- package/data/commands/html.json +25 -11
- package/data/commands/ini.json +26 -12
- package/data/commands/javascript.json +29 -30
- package/data/commands/less.json +25 -29
- package/data/commands/lexon.json +23 -11
- package/data/commands/liquid.json +26 -11
- package/data/commands/m3.json +26 -12
- package/data/commands/manifest.json +35 -731
- package/data/commands/markdown.json +26 -12
- package/data/commands/mdx.json +23 -10
- package/data/commands/mips.json +26 -18
- package/data/commands/msdax.json +23 -11
- package/data/commands/nestjs.json +516 -273
- package/data/commands/nextjs.json +250 -123
- package/data/commands/objective-c.json +26 -24
- package/data/commands/pascal.json +27 -24
- package/data/commands/pascaligo.json +26 -24
- package/data/commands/perl.json +30 -30
- package/data/commands/pla.json +23 -11
- package/data/commands/postiats.json +26 -24
- package/data/commands/powerquery.json +23 -11
- package/data/commands/powershell.json +28 -30
- package/data/commands/protobuf.json +27 -30
- package/data/commands/qsharp.json +26 -30
- package/data/commands/razor.json +25 -29
- package/data/commands/react.json +244 -210
- package/data/commands/redshift.json +27 -18
- package/data/commands/restructuredtext.json +29 -30
- package/data/commands/sb.json +23 -11
- package/data/commands/scheme.json +25 -18
- package/data/commands/scss.json +26 -29
- package/data/commands/shadcn.json +564 -410
- package/data/commands/sol.json +27 -30
- package/data/commands/sparql.json +25 -11
- package/data/commands/sql.json +16 -2
- package/data/commands/ssh_config.json +31 -30
- package/data/commands/st.json +23 -11
- package/data/commands/systemverilog.json +26 -24
- package/data/commands/tailwindcss.json +60 -53
- package/data/commands/tcl.json +23 -18
- package/data/commands/toml.json +25 -11
- package/data/commands/twig.json +23 -10
- package/data/commands/vb.json +27 -24
- package/data/commands/wgsl.json +24 -11
- package/data/commands/yaml.json +29 -30
- package/data/completion/awk.json +906 -202
- package/data/completion/azcli.json +886 -237
- package/data/completion/bicep.json +862 -367
- package/data/completion/crontab.json +906 -202
- package/data/completion/dotenv.json +895 -169
- package/data/completion/graphql.json +895 -180
- package/data/completion/hcl.json +906 -191
- package/data/completion/ini.json +906 -136
- package/data/completion/json.json +895 -169
- package/data/completion/lexon.json +856 -295
- package/data/completion/makefile.json +906 -202
- package/data/completion/markdown.json +906 -224
- package/data/completion/mdx.json +895 -87
- package/data/completion/mips.json +872 -377
- package/data/completion/perl.json +961 -202
- package/data/completion/pla.json +895 -154
- package/data/completion/powershell.json +906 -224
- package/data/completion/protobuf.json +884 -180
- package/data/completion/ssh_config.json +906 -158
- package/data/completion/xml.json +906 -158
- package/data/definition/abap.json +127 -1
- package/data/definition/apex.json +97 -1
- package/data/definition/coffee.json +51 -1
- package/data/definition/dart.json +105 -1
- package/data/definition/elixir.json +115 -1
- package/data/definition/flow9.json +208 -1
- package/data/definition/freemarker2.json +283 -1
- package/data/definition/html.json +853 -558
- package/data/definition/java.json +1127 -183
- package/data/definition/kotlin.json +72 -1
- package/data/definition/r.json +692 -83
- package/data/definition/ruby.json +789 -669
- package/data/definition/rust.json +852 -206
- package/data/definition/sb.json +339 -1
- package/data/definition/st.json +367 -1
- package/data/documentRangeFormatting/nestjs.json +57 -17
- package/data/documentRangeFormatting/nextjs.json +57 -17
- package/data/documentRangeFormatting/react.json +82 -78
- package/data/documentSymbol/abap.json +54 -12
- package/data/documentSymbol/apex.json +40 -10
- package/data/documentSymbol/awk.json +15 -1
- package/data/documentSymbol/bicep.json +39 -39
- package/data/documentSymbol/c.json +1 -1
- package/data/documentSymbol/clojure.json +46 -46
- package/data/documentSymbol/css.json +96 -96
- package/data/documentSymbol/dart.json +109 -19
- package/data/documentSymbol/dockerfile.json +1 -1
- package/data/documentSymbol/elixir.json +39 -39
- package/data/documentSymbol/go.json +1 -1
- package/data/documentSymbol/graphql.json +1 -1
- package/data/documentSymbol/hcl.json +1 -1
- package/data/documentSymbol/html.json +29 -1
- package/data/documentSymbol/java.json +1 -1
- package/data/documentSymbol/javascript.json +1 -1
- package/data/documentSymbol/julia.json +46 -46
- package/data/documentSymbol/kotlin.json +74 -14
- package/data/documentSymbol/less.json +25 -25
- package/data/documentSymbol/lua.json +22 -1
- package/data/documentSymbol/makefile.json +15 -1
- package/data/documentSymbol/markdown.json +36 -1
- package/data/documentSymbol/mysql.json +32 -32
- package/data/documentSymbol/nginx.json +1 -1
- package/data/documentSymbol/pascal.json +46 -46
- package/data/documentSymbol/perl.json +1 -1
- package/data/documentSymbol/pgsql.json +39 -39
- package/data/documentSymbol/php.json +1 -1
- package/data/documentSymbol/powershell.json +1 -1
- package/data/documentSymbol/protobuf.json +1 -1
- package/data/documentSymbol/python.json +1 -1
- package/data/documentSymbol/r.json +67 -67
- package/data/documentSymbol/redshift.json +60 -18
- package/data/documentSymbol/ruby.json +1 -1
- package/data/documentSymbol/rust.json +1 -1
- package/data/documentSymbol/scala.json +116 -20
- package/data/documentSymbol/scheme.json +25 -25
- package/data/documentSymbol/scss.json +39 -39
- package/data/documentSymbol/shell.json +1 -1
- package/data/documentSymbol/sql.json +1 -1
- package/data/documentSymbol/swift.json +88 -16
- package/data/documentSymbol/typescript.json +1 -1
- package/data/documentSymbol/vb.json +53 -53
- package/data/documentSymbol/yaml.json +1 -1
- package/data/foldingRange/angular.json +100 -99
- package/data/foldingRange/nestjs.json +94 -26
- package/data/foldingRange/nextjs.json +94 -26
- package/data/foldingRange/react.json +118 -120
- package/data/foldingRange/shadcn.json +94 -93
- package/data/formatting/abap.json +19 -11
- package/data/formatting/angular.json +63 -21
- package/data/formatting/apex.json +19 -11
- package/data/formatting/awk.json +1 -1
- package/data/formatting/azcli.json +18 -18
- package/data/formatting/bicep.json +18 -18
- package/data/formatting/c.json +1 -1
- package/data/formatting/caddy.json +1 -1
- package/data/formatting/cameligo.json +18 -18
- package/data/formatting/clojure.json +18 -18
- package/data/formatting/coffee.json +18 -18
- package/data/formatting/cpp.json +1 -1
- package/data/formatting/crontab.json +1 -1
- package/data/formatting/csharp.json +1 -1
- package/data/formatting/css.json +73 -73
- package/data/formatting/cypher.json +18 -18
- package/data/formatting/dart.json +43 -15
- package/data/formatting/docker-compose.json +24 -24
- package/data/formatting/dockerfile.json +1 -1
- package/data/formatting/doctest.json +18 -18
- package/data/formatting/dotenv.json +1 -1
- package/data/formatting/ecl.json +18 -18
- package/data/formatting/elixir.json +43 -18
- package/data/formatting/flow9.json +18 -18
- package/data/formatting/freemarker2.json +18 -18
- package/data/formatting/go.json +1 -1
- package/data/formatting/graphql.json +1 -1
- package/data/formatting/hcl.json +26 -1
- package/data/formatting/html.json +26 -1
- package/data/formatting/ini.json +1 -1
- package/data/formatting/java.json +1 -1
- package/data/formatting/javascript.json +1 -1
- package/data/formatting/julia.json +18 -18
- package/data/formatting/kotlin.json +33 -13
- package/data/formatting/less.json +48 -18
- package/data/formatting/lexon.json +18 -18
- package/data/formatting/liquid.json +18 -18
- package/data/formatting/lua.json +1 -1
- package/data/formatting/m3.json +18 -18
- package/data/formatting/makefile.json +1 -1
- package/data/formatting/markdown.json +26 -1
- package/data/formatting/mdx.json +18 -18
- package/data/formatting/mips.json +18 -18
- package/data/formatting/msdax.json +18 -18
- package/data/formatting/mysql.json +43 -18
- package/data/formatting/nginx.json +1 -1
- package/data/formatting/objective-c.json +18 -18
- package/data/formatting/pascal.json +18 -18
- package/data/formatting/pascaligo.json +18 -18
- package/data/formatting/perl.json +1 -1
- package/data/formatting/pgsql.json +43 -18
- package/data/formatting/php.json +1 -1
- package/data/formatting/pla.json +18 -18
- package/data/formatting/postiats.json +18 -18
- package/data/formatting/powerquery.json +18 -18
- package/data/formatting/powershell.json +1 -1
- package/data/formatting/protobuf.json +1 -1
- package/data/formatting/python.json +1 -1
- package/data/formatting/qsharp.json +18 -18
- package/data/formatting/r.json +32 -32
- package/data/formatting/razor.json +18 -18
- package/data/formatting/redis-cli.json +1 -1
- package/data/formatting/redis.json +18 -18
- package/data/formatting/redshift.json +43 -18
- package/data/formatting/restructuredtext.json +18 -18
- package/data/formatting/ruby.json +1 -1
- package/data/formatting/rust.json +1 -1
- package/data/formatting/sb.json +18 -18
- package/data/formatting/scala.json +48 -16
- package/data/formatting/scheme.json +18 -18
- package/data/formatting/scss.json +48 -18
- package/data/formatting/shadcn.json +63 -61
- package/data/formatting/shell.json +1 -1
- package/data/formatting/sol.json +18 -18
- package/data/formatting/sparql.json +18 -18
- package/data/formatting/sql.json +1 -1
- package/data/formatting/ssh_config.json +1 -1
- package/data/formatting/st.json +18 -18
- package/data/formatting/swift.json +58 -18
- package/data/formatting/systemd.json +1 -1
- package/data/formatting/systemverilog.json +18 -18
- package/data/formatting/tcl.json +18 -18
- package/data/formatting/toml.json +1 -1
- package/data/formatting/twig.json +18 -18
- package/data/formatting/typescript.json +1 -1
- package/data/formatting/vb.json +18 -18
- package/data/formatting/wgsl.json +18 -18
- package/data/formatting/xml.json +26 -1
- package/data/formatting/yaml.json +1 -1
- package/data/hover/apex.json +281 -6
- package/data/hover/awk.json +251 -6
- package/data/hover/crontab.json +251 -6
- package/data/hover/dotenv.json +242 -4
- package/data/hover/graphql.json +251 -6
- package/data/hover/lexon.json +250 -5
- package/data/hover/markdown.json +226 -9
- package/data/hover/mdx.json +250 -5
- package/data/hover/perl.json +251 -6
- package/data/hover/pla.json +264 -5
- package/data/hover/powershell.json +252 -7
- package/data/hover/protobuf.json +251 -6
- package/data/hover/redis.json +355 -40
- package/data/hover/ssh_config.json +251 -6
- package/data/hover/xml.json +231 -7
- package/data/inlineCompletions/c.json +49 -1
- package/data/inlineCompletions/cpp.json +61 -1
- package/data/inlineCompletions/csharp.json +73 -1
- package/data/inlineCompletions/css.json +125 -125
- package/data/inlineCompletions/dart.json +136 -26
- package/data/inlineCompletions/elixir.json +34 -34
- package/data/inlineCompletions/go.json +67 -1
- package/data/inlineCompletions/html.json +1 -1
- package/data/inlineCompletions/java.json +67 -1
- package/data/inlineCompletions/javascript.json +97 -1
- package/data/inlineCompletions/kotlin.json +88 -18
- package/data/inlineCompletions/less.json +76 -28
- package/data/inlineCompletions/lua.json +37 -1
- package/data/inlineCompletions/mysql.json +34 -34
- package/data/inlineCompletions/pgsql.json +34 -34
- package/data/inlineCompletions/php.json +43 -1
- package/data/inlineCompletions/python.json +73 -1
- package/data/inlineCompletions/ruby.json +49 -1
- package/data/inlineCompletions/rust.json +61 -1
- package/data/inlineCompletions/scala.json +130 -25
- package/data/inlineCompletions/scss.json +34 -34
- package/data/inlineCompletions/shell.json +1 -1
- package/data/inlineCompletions/sql.json +43 -1
- package/data/inlineCompletions/swift.json +112 -22
- package/data/inlineCompletions/typescript.json +97 -1
- package/data/linkedEditingRange/azcli.json +6 -6
- package/data/linkedEditingRange/crontab.json +6 -6
- package/data/linkedEditingRange/docker-compose.json +6 -6
- package/data/linkedEditingRange/doctest.json +6 -6
- package/data/linkedEditingRange/dotenv.json +13 -6
- package/data/linkedEditingRange/ini.json +13 -6
- package/data/linkedEditingRange/json.json +13 -6
- package/data/linkedEditingRange/lexon.json +6 -6
- package/data/linkedEditingRange/mips.json +6 -6
- package/data/linkedEditingRange/msdax.json +6 -6
- package/data/linkedEditingRange/nestjs.json +18 -10
- package/data/linkedEditingRange/nextjs.json +24 -11
- package/data/linkedEditingRange/pla.json +6 -6
- package/data/linkedEditingRange/react.json +74 -75
- package/data/linkedEditingRange/redis-cli.json +6 -6
- package/data/linkedEditingRange/redis.json +6 -6
- package/data/linkedEditingRange/ssh_config.json +6 -6
- package/data/linkedEditingRange/systemd.json +6 -6
- package/data/linkedEditingRange/toml.json +13 -6
- package/data/linkedEditingRange/wgsl.json +6 -6
- package/data/linkedEditingRange/xml.json +13 -13
- package/data/linkedEditingRange/yaml.json +13 -6
- package/data/onTypeFormatting/angular.json +63 -14
- package/data/onTypeFormatting/nestjs.json +64 -16
- package/data/onTypeFormatting/nextjs.json +72 -17
- package/data/onTypeFormatting/react.json +148 -127
- package/data/onTypeFormatting/shadcn.json +63 -54
- package/data/rangeSemanticTokens/angular.json +196 -140
- package/data/rangeSemanticTokens/nestjs.json +195 -27
- package/data/rangeSemanticTokens/nextjs.json +199 -28
- package/data/rangeSemanticTokens/react.json +77 -216
- package/data/rangeSemanticTokens/shadcn.json +203 -140
- package/data/rename/angular.json +121 -131
- package/data/rename/nestjs.json +122 -32
- package/data/rename/nextjs.json +116 -31
- package/data/rename/react.json +133 -88
- package/data/rename/shadcn.json +73 -79
- package/data/selectionRange/abap.json +58 -34
- package/data/selectionRange/angular.json +126 -95
- package/data/selectionRange/apex.json +58 -34
- package/data/selectionRange/awk.json +56 -34
- package/data/selectionRange/azcli.json +43 -24
- package/data/selectionRange/bicep.json +56 -34
- package/data/selectionRange/c.json +62 -39
- package/data/selectionRange/caddy.json +53 -34
- package/data/selectionRange/cameligo.json +56 -34
- package/data/selectionRange/clojure.json +57 -34
- package/data/selectionRange/coffee.json +59 -34
- package/data/selectionRange/cpp.json +73 -44
- package/data/selectionRange/crontab.json +39 -29
- package/data/selectionRange/csharp.json +69 -39
- package/data/selectionRange/css.json +95 -55
- package/data/selectionRange/cypher.json +57 -34
- package/data/selectionRange/dart.json +65 -34
- package/data/selectionRange/docker-compose.json +54 -34
- package/data/selectionRange/dockerfile.json +56 -34
- package/data/selectionRange/doctest.json +47 -24
- package/data/selectionRange/dotenv.json +33 -24
- package/data/selectionRange/ecl.json +58 -34
- package/data/selectionRange/elixir.json +63 -34
- package/data/selectionRange/flow9.json +57 -34
- package/data/selectionRange/freemarker2.json +58 -34
- package/data/selectionRange/go.json +64 -39
- package/data/selectionRange/graphql.json +58 -34
- package/data/selectionRange/hcl.json +56 -34
- package/data/selectionRange/html.json +63 -34
- package/data/selectionRange/ini.json +38 -24
- package/data/selectionRange/java.json +68 -39
- package/data/selectionRange/javascript.json +65 -39
- package/data/selectionRange/julia.json +65 -39
- package/data/selectionRange/kotlin.json +68 -39
- package/data/selectionRange/less.json +58 -34
- package/data/selectionRange/lexon.json +38 -24
- package/data/selectionRange/liquid.json +58 -34
- package/data/selectionRange/lua.json +59 -34
- package/data/selectionRange/m3.json +57 -34
- package/data/selectionRange/makefile.json +53 -34
- package/data/selectionRange/markdown.json +57 -34
- package/data/selectionRange/mdx.json +63 -34
- package/data/selectionRange/mips.json +43 -29
- package/data/selectionRange/msdax.json +52 -34
- package/data/selectionRange/mysql.json +51 -34
- package/data/selectionRange/nestjs.json +35 -21
- package/data/selectionRange/nextjs.json +35 -22
- package/data/selectionRange/nginx.json +53 -34
- package/data/selectionRange/objective-c.json +64 -39
- package/data/selectionRange/pascal.json +53 -34
- package/data/selectionRange/pascaligo.json +57 -34
- package/data/selectionRange/perl.json +59 -34
- package/data/selectionRange/pgsql.json +50 -34
- package/data/selectionRange/php.json +65 -39
- package/data/selectionRange/pla.json +52 -29
- package/data/selectionRange/postiats.json +61 -34
- package/data/selectionRange/powerquery.json +56 -34
- package/data/selectionRange/powershell.json +65 -39
- package/data/selectionRange/protobuf.json +58 -34
- package/data/selectionRange/python.json +66 -39
- package/data/selectionRange/qsharp.json +62 -39
- package/data/selectionRange/r.json +57 -34
- package/data/selectionRange/razor.json +63 -34
- package/data/selectionRange/react.json +103 -87
- package/data/selectionRange/redis-cli.json +38 -24
- package/data/selectionRange/redis.json +38 -24
- package/data/selectionRange/redshift.json +49 -34
- package/data/selectionRange/restructuredtext.json +58 -34
- package/data/selectionRange/ruby.json +65 -39
- package/data/selectionRange/rust.json +73 -44
- package/data/selectionRange/sb.json +43 -29
- package/data/selectionRange/scala.json +65 -39
- package/data/selectionRange/scheme.json +52 -34
- package/data/selectionRange/scss.json +58 -34
- package/data/selectionRange/shadcn.json +120 -89
- package/data/selectionRange/shell.json +1 -1
- package/data/selectionRange/sol.json +63 -39
- package/data/selectionRange/sparql.json +58 -34
- package/data/selectionRange/sql.json +50 -34
- package/data/selectionRange/ssh_config.json +37 -29
- package/data/selectionRange/st.json +49 -29
- package/data/selectionRange/swift.json +73 -44
- package/data/selectionRange/systemd.json +47 -34
- package/data/selectionRange/systemverilog.json +62 -39
- package/data/selectionRange/tailwindcss.json +49 -34
- package/data/selectionRange/tcl.json +57 -34
- package/data/selectionRange/toml.json +49 -29
- package/data/selectionRange/twig.json +58 -34
- package/data/selectionRange/typescript.json +75 -44
- package/data/selectionRange/vb.json +59 -39
- package/data/selectionRange/wgsl.json +61 -34
- package/data/selectionRange/xml.json +51 -34
- package/data/selectionRange/yaml.json +54 -34
- package/data/semanticTokens/angular.json +269 -198
- package/data/semanticTokens/nestjs.json +245 -35
- package/data/semanticTokens/nextjs.json +265 -38
- package/data/semanticTokens/react.json +230 -215
- package/data/semanticTokens/shadcn.json +235 -180
- package/data/signatureHelp/nestjs.json +201 -128
- package/data/signatureHelp/nextjs.json +185 -127
- package/data/signatureHelp/react.json +285 -281
- package/package.json +1 -1
package/data/completion/pla.json
CHANGED
|
@@ -1,155 +1,896 @@
|
|
|
1
|
-
{
|
|
2
|
-
"language": "pla",
|
|
3
|
-
"completions": [
|
|
4
|
-
{
|
|
5
|
-
"label": "module",
|
|
6
|
-
"kind":
|
|
7
|
-
"detail": "
|
|
8
|
-
"documentation": {
|
|
9
|
-
"value": "
|
|
10
|
-
},
|
|
11
|
-
"insertText": "module",
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
"
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
"
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
"
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
"
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
"
|
|
112
|
-
"sortText": "00_kw"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"label": "
|
|
116
|
-
"kind":
|
|
117
|
-
"detail": "
|
|
118
|
-
"documentation": {
|
|
119
|
-
"value": "
|
|
120
|
-
},
|
|
121
|
-
"insertText": "
|
|
122
|
-
"
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
"
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
"
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
"
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
"
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
1
|
+
{
|
|
2
|
+
"language": "pla",
|
|
3
|
+
"completions": [
|
|
4
|
+
{
|
|
5
|
+
"label": "module",
|
|
6
|
+
"kind": 17,
|
|
7
|
+
"detail": "Keyword: module",
|
|
8
|
+
"documentation": {
|
|
9
|
+
"value": "Module declaration."
|
|
10
|
+
},
|
|
11
|
+
"insertText": "module",
|
|
12
|
+
"insertTextRules": 0,
|
|
13
|
+
"sortText": "00_kw"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"label": "input",
|
|
17
|
+
"kind": 17,
|
|
18
|
+
"detail": "Keyword: input",
|
|
19
|
+
"documentation": {
|
|
20
|
+
"value": "Input port."
|
|
21
|
+
},
|
|
22
|
+
"insertText": "input",
|
|
23
|
+
"insertTextRules": 0,
|
|
24
|
+
"sortText": "00_kw"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"label": "output",
|
|
28
|
+
"kind": 17,
|
|
29
|
+
"detail": "Keyword: output",
|
|
30
|
+
"documentation": {
|
|
31
|
+
"value": "Output port."
|
|
32
|
+
},
|
|
33
|
+
"insertText": "output",
|
|
34
|
+
"insertTextRules": 0,
|
|
35
|
+
"sortText": "00_kw"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"label": "wire",
|
|
39
|
+
"kind": 17,
|
|
40
|
+
"detail": "Keyword: wire",
|
|
41
|
+
"documentation": {
|
|
42
|
+
"value": "Wire signal."
|
|
43
|
+
},
|
|
44
|
+
"insertText": "wire",
|
|
45
|
+
"insertTextRules": 0,
|
|
46
|
+
"sortText": "00_kw"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"label": "reg",
|
|
50
|
+
"kind": 17,
|
|
51
|
+
"detail": "Keyword: reg",
|
|
52
|
+
"documentation": {
|
|
53
|
+
"value": "Register signal."
|
|
54
|
+
},
|
|
55
|
+
"insertText": "reg",
|
|
56
|
+
"insertTextRules": 0,
|
|
57
|
+
"sortText": "00_kw"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"label": "begin",
|
|
61
|
+
"kind": 17,
|
|
62
|
+
"detail": "Keyword: begin",
|
|
63
|
+
"documentation": {
|
|
64
|
+
"value": "Begin block."
|
|
65
|
+
},
|
|
66
|
+
"insertText": "begin",
|
|
67
|
+
"insertTextRules": 0,
|
|
68
|
+
"sortText": "00_kw"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"label": "end",
|
|
72
|
+
"kind": 17,
|
|
73
|
+
"detail": "Keyword: end",
|
|
74
|
+
"documentation": {
|
|
75
|
+
"value": "End block."
|
|
76
|
+
},
|
|
77
|
+
"insertText": "end",
|
|
78
|
+
"insertTextRules": 0,
|
|
79
|
+
"sortText": "00_kw"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"label": "if",
|
|
83
|
+
"kind": 17,
|
|
84
|
+
"detail": "Keyword: if",
|
|
85
|
+
"documentation": {
|
|
86
|
+
"value": "Conditional if."
|
|
87
|
+
},
|
|
88
|
+
"insertText": "if",
|
|
89
|
+
"insertTextRules": 0,
|
|
90
|
+
"sortText": "00_kw"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"label": "else",
|
|
94
|
+
"kind": 17,
|
|
95
|
+
"detail": "Keyword: else",
|
|
96
|
+
"documentation": {
|
|
97
|
+
"value": "Else branch."
|
|
98
|
+
},
|
|
99
|
+
"insertText": "else",
|
|
100
|
+
"insertTextRules": 0,
|
|
101
|
+
"sortText": "00_kw"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"label": "case",
|
|
105
|
+
"kind": 17,
|
|
106
|
+
"detail": "Keyword: case",
|
|
107
|
+
"documentation": {
|
|
108
|
+
"value": "Case statement."
|
|
109
|
+
},
|
|
110
|
+
"insertText": "case",
|
|
111
|
+
"insertTextRules": 0,
|
|
112
|
+
"sortText": "00_kw"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"label": "for",
|
|
116
|
+
"kind": 17,
|
|
117
|
+
"detail": "Keyword: for",
|
|
118
|
+
"documentation": {
|
|
119
|
+
"value": "For loop."
|
|
120
|
+
},
|
|
121
|
+
"insertText": "for",
|
|
122
|
+
"insertTextRules": 0,
|
|
123
|
+
"sortText": "00_kw"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"label": "while",
|
|
127
|
+
"kind": 17,
|
|
128
|
+
"detail": "Keyword: while",
|
|
129
|
+
"documentation": {
|
|
130
|
+
"value": "While loop."
|
|
131
|
+
},
|
|
132
|
+
"insertText": "while",
|
|
133
|
+
"insertTextRules": 0,
|
|
134
|
+
"sortText": "00_kw"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"label": "assign",
|
|
138
|
+
"kind": 17,
|
|
139
|
+
"detail": "Keyword: assign",
|
|
140
|
+
"documentation": {
|
|
141
|
+
"value": "Continuous assignment."
|
|
142
|
+
},
|
|
143
|
+
"insertText": "assign",
|
|
144
|
+
"insertTextRules": 0,
|
|
145
|
+
"sortText": "00_kw"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"label": "always",
|
|
149
|
+
"kind": 17,
|
|
150
|
+
"detail": "Keyword: always",
|
|
151
|
+
"documentation": {
|
|
152
|
+
"value": "Always block."
|
|
153
|
+
},
|
|
154
|
+
"insertText": "always",
|
|
155
|
+
"insertTextRules": 0,
|
|
156
|
+
"sortText": "00_kw"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"label": "initial",
|
|
160
|
+
"kind": 17,
|
|
161
|
+
"detail": "Keyword: initial",
|
|
162
|
+
"documentation": {
|
|
163
|
+
"value": "Initial block."
|
|
164
|
+
},
|
|
165
|
+
"insertText": "initial",
|
|
166
|
+
"insertTextRules": 0,
|
|
167
|
+
"sortText": "00_kw"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"label": "endmodule",
|
|
171
|
+
"kind": 17,
|
|
172
|
+
"detail": "Keyword: endmodule",
|
|
173
|
+
"documentation": {
|
|
174
|
+
"value": "End module."
|
|
175
|
+
},
|
|
176
|
+
"insertText": "endmodule",
|
|
177
|
+
"insertTextRules": 0,
|
|
178
|
+
"sortText": "00_kw"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"label": "endcase",
|
|
182
|
+
"kind": 17,
|
|
183
|
+
"detail": "Keyword: endcase",
|
|
184
|
+
"documentation": {
|
|
185
|
+
"value": "End case statement."
|
|
186
|
+
},
|
|
187
|
+
"insertText": "endcase",
|
|
188
|
+
"insertTextRules": 0,
|
|
189
|
+
"sortText": "00_kw"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"label": "parameter",
|
|
193
|
+
"kind": 17,
|
|
194
|
+
"detail": "Keyword: parameter",
|
|
195
|
+
"documentation": {
|
|
196
|
+
"value": "Parameter constant."
|
|
197
|
+
},
|
|
198
|
+
"insertText": "parameter",
|
|
199
|
+
"insertTextRules": 0,
|
|
200
|
+
"sortText": "00_kw"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"label": "localparam",
|
|
204
|
+
"kind": 17,
|
|
205
|
+
"detail": "Keyword: localparam",
|
|
206
|
+
"documentation": {
|
|
207
|
+
"value": "Local parameter."
|
|
208
|
+
},
|
|
209
|
+
"insertText": "localparam",
|
|
210
|
+
"insertTextRules": 0,
|
|
211
|
+
"sortText": "00_kw"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"label": "integer",
|
|
215
|
+
"kind": 17,
|
|
216
|
+
"detail": "Keyword: integer",
|
|
217
|
+
"documentation": {
|
|
218
|
+
"value": "Integer variable."
|
|
219
|
+
},
|
|
220
|
+
"insertText": "integer",
|
|
221
|
+
"insertTextRules": 0,
|
|
222
|
+
"sortText": "00_kw"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"label": "real",
|
|
226
|
+
"kind": 17,
|
|
227
|
+
"detail": "Keyword: real",
|
|
228
|
+
"documentation": {
|
|
229
|
+
"value": "Real number variable."
|
|
230
|
+
},
|
|
231
|
+
"insertText": "real",
|
|
232
|
+
"insertTextRules": 0,
|
|
233
|
+
"sortText": "00_kw"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"label": "genvar",
|
|
237
|
+
"kind": 17,
|
|
238
|
+
"detail": "Keyword: genvar",
|
|
239
|
+
"documentation": {
|
|
240
|
+
"value": "Generate variable."
|
|
241
|
+
},
|
|
242
|
+
"insertText": "genvar",
|
|
243
|
+
"insertTextRules": 0,
|
|
244
|
+
"sortText": "00_kw"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"label": "generate",
|
|
248
|
+
"kind": 17,
|
|
249
|
+
"detail": "Keyword: generate",
|
|
250
|
+
"documentation": {
|
|
251
|
+
"value": "Generate block."
|
|
252
|
+
},
|
|
253
|
+
"insertText": "generate",
|
|
254
|
+
"insertTextRules": 0,
|
|
255
|
+
"sortText": "00_kw"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"label": "endgenerate",
|
|
259
|
+
"kind": 17,
|
|
260
|
+
"detail": "Keyword: endgenerate",
|
|
261
|
+
"documentation": {
|
|
262
|
+
"value": "End generate block."
|
|
263
|
+
},
|
|
264
|
+
"insertText": "endgenerate",
|
|
265
|
+
"insertTextRules": 0,
|
|
266
|
+
"sortText": "00_kw"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"label": "task",
|
|
270
|
+
"kind": 17,
|
|
271
|
+
"detail": "Keyword: task",
|
|
272
|
+
"documentation": {
|
|
273
|
+
"value": "Task definition."
|
|
274
|
+
},
|
|
275
|
+
"insertText": "task",
|
|
276
|
+
"insertTextRules": 0,
|
|
277
|
+
"sortText": "00_kw"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"label": "endtask",
|
|
281
|
+
"kind": 17,
|
|
282
|
+
"detail": "Keyword: endtask",
|
|
283
|
+
"documentation": {
|
|
284
|
+
"value": "End task."
|
|
285
|
+
},
|
|
286
|
+
"insertText": "endtask",
|
|
287
|
+
"insertTextRules": 0,
|
|
288
|
+
"sortText": "00_kw"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"label": "function",
|
|
292
|
+
"kind": 17,
|
|
293
|
+
"detail": "Keyword: function",
|
|
294
|
+
"documentation": {
|
|
295
|
+
"value": "Function definition."
|
|
296
|
+
},
|
|
297
|
+
"insertText": "function",
|
|
298
|
+
"insertTextRules": 0,
|
|
299
|
+
"sortText": "00_kw"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"label": "endfunction",
|
|
303
|
+
"kind": 17,
|
|
304
|
+
"detail": "Keyword: endfunction",
|
|
305
|
+
"documentation": {
|
|
306
|
+
"value": "End function."
|
|
307
|
+
},
|
|
308
|
+
"insertText": "endfunction",
|
|
309
|
+
"insertTextRules": 0,
|
|
310
|
+
"sortText": "00_kw"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"label": "posedge",
|
|
314
|
+
"kind": 17,
|
|
315
|
+
"detail": "Keyword: posedge",
|
|
316
|
+
"documentation": {
|
|
317
|
+
"value": "Positive edge."
|
|
318
|
+
},
|
|
319
|
+
"insertText": "posedge",
|
|
320
|
+
"insertTextRules": 0,
|
|
321
|
+
"sortText": "00_kw"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"label": "negedge",
|
|
325
|
+
"kind": 17,
|
|
326
|
+
"detail": "Keyword: negedge",
|
|
327
|
+
"documentation": {
|
|
328
|
+
"value": "Negative edge."
|
|
329
|
+
},
|
|
330
|
+
"insertText": "negedge",
|
|
331
|
+
"insertTextRules": 0,
|
|
332
|
+
"sortText": "00_kw"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"label": "default",
|
|
336
|
+
"kind": 17,
|
|
337
|
+
"detail": "Keyword: default",
|
|
338
|
+
"documentation": {
|
|
339
|
+
"value": "Default case."
|
|
340
|
+
},
|
|
341
|
+
"insertText": "default",
|
|
342
|
+
"insertTextRules": 0,
|
|
343
|
+
"sortText": "00_kw"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"label": "inout",
|
|
347
|
+
"kind": 17,
|
|
348
|
+
"detail": "Keyword: inout",
|
|
349
|
+
"documentation": {
|
|
350
|
+
"value": "Bidirectional port."
|
|
351
|
+
},
|
|
352
|
+
"insertText": "inout",
|
|
353
|
+
"insertTextRules": 0,
|
|
354
|
+
"sortText": "00_kw"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"label": "supply0",
|
|
358
|
+
"kind": 17,
|
|
359
|
+
"detail": "Keyword: supply0",
|
|
360
|
+
"documentation": {
|
|
361
|
+
"value": "Logic 0 supply."
|
|
362
|
+
},
|
|
363
|
+
"insertText": "supply0",
|
|
364
|
+
"insertTextRules": 0,
|
|
365
|
+
"sortText": "00_kw"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"label": "supply1",
|
|
369
|
+
"kind": 17,
|
|
370
|
+
"detail": "Keyword: supply1",
|
|
371
|
+
"documentation": {
|
|
372
|
+
"value": "Logic 1 supply."
|
|
373
|
+
},
|
|
374
|
+
"insertText": "supply1",
|
|
375
|
+
"insertTextRules": 0,
|
|
376
|
+
"sortText": "00_kw"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"label": "tri",
|
|
380
|
+
"kind": 17,
|
|
381
|
+
"detail": "Keyword: tri",
|
|
382
|
+
"documentation": {
|
|
383
|
+
"value": "Tri-state wire."
|
|
384
|
+
},
|
|
385
|
+
"insertText": "tri",
|
|
386
|
+
"insertTextRules": 0,
|
|
387
|
+
"sortText": "00_kw"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"label": "signed",
|
|
391
|
+
"kind": 17,
|
|
392
|
+
"detail": "Keyword: signed",
|
|
393
|
+
"documentation": {
|
|
394
|
+
"value": "Signed value."
|
|
395
|
+
},
|
|
396
|
+
"insertText": "signed",
|
|
397
|
+
"insertTextRules": 0,
|
|
398
|
+
"sortText": "00_kw"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"label": "unsigned",
|
|
402
|
+
"kind": 17,
|
|
403
|
+
"detail": "Keyword: unsigned",
|
|
404
|
+
"documentation": {
|
|
405
|
+
"value": "Unsigned value."
|
|
406
|
+
},
|
|
407
|
+
"insertText": "unsigned",
|
|
408
|
+
"insertTextRules": 0,
|
|
409
|
+
"sortText": "00_kw"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"label": "disable",
|
|
413
|
+
"kind": 17,
|
|
414
|
+
"detail": "Keyword: disable",
|
|
415
|
+
"documentation": {
|
|
416
|
+
"value": "Disable named block."
|
|
417
|
+
},
|
|
418
|
+
"insertText": "disable",
|
|
419
|
+
"insertTextRules": 0,
|
|
420
|
+
"sortText": "00_kw"
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"label": "forever",
|
|
424
|
+
"kind": 17,
|
|
425
|
+
"detail": "Keyword: forever",
|
|
426
|
+
"documentation": {
|
|
427
|
+
"value": "Forever loop."
|
|
428
|
+
},
|
|
429
|
+
"insertText": "forever",
|
|
430
|
+
"insertTextRules": 0,
|
|
431
|
+
"sortText": "00_kw"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"label": "repeat",
|
|
435
|
+
"kind": 17,
|
|
436
|
+
"detail": "Keyword: repeat",
|
|
437
|
+
"documentation": {
|
|
438
|
+
"value": "Repeat loop."
|
|
439
|
+
},
|
|
440
|
+
"insertText": "repeat",
|
|
441
|
+
"insertTextRules": 0,
|
|
442
|
+
"sortText": "00_kw"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"label": "wait",
|
|
446
|
+
"kind": 17,
|
|
447
|
+
"detail": "Keyword: wait",
|
|
448
|
+
"documentation": {
|
|
449
|
+
"value": "Wait for condition."
|
|
450
|
+
},
|
|
451
|
+
"insertText": "wait",
|
|
452
|
+
"insertTextRules": 0,
|
|
453
|
+
"sortText": "00_kw"
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"label": "event",
|
|
457
|
+
"kind": 17,
|
|
458
|
+
"detail": "Keyword: event",
|
|
459
|
+
"documentation": {
|
|
460
|
+
"value": "Event declaration."
|
|
461
|
+
},
|
|
462
|
+
"insertText": "event",
|
|
463
|
+
"insertTextRules": 0,
|
|
464
|
+
"sortText": "00_kw"
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"label": "specify",
|
|
468
|
+
"kind": 17,
|
|
469
|
+
"detail": "Keyword: specify",
|
|
470
|
+
"documentation": {
|
|
471
|
+
"value": "Specify timing block."
|
|
472
|
+
},
|
|
473
|
+
"insertText": "specify",
|
|
474
|
+
"insertTextRules": 0,
|
|
475
|
+
"sortText": "00_kw"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"label": "endspecify",
|
|
479
|
+
"kind": 17,
|
|
480
|
+
"detail": "Keyword: endspecify",
|
|
481
|
+
"documentation": {
|
|
482
|
+
"value": "End specify block."
|
|
483
|
+
},
|
|
484
|
+
"insertText": "endspecify",
|
|
485
|
+
"insertTextRules": 0,
|
|
486
|
+
"sortText": "00_kw"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"label": "defparam",
|
|
490
|
+
"kind": 17,
|
|
491
|
+
"detail": "Keyword: defparam",
|
|
492
|
+
"documentation": {
|
|
493
|
+
"value": "Define parameter override."
|
|
494
|
+
},
|
|
495
|
+
"insertText": "defparam",
|
|
496
|
+
"insertTextRules": 0,
|
|
497
|
+
"sortText": "00_kw"
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"label": "module def",
|
|
501
|
+
"kind": 28,
|
|
502
|
+
"detail": "Module definition",
|
|
503
|
+
"documentation": {
|
|
504
|
+
"value": "Define a new module."
|
|
505
|
+
},
|
|
506
|
+
"insertText": "module ${1:name}(\n input ${2:clk},\n input ${3:rst},\n input [${4:7}:0] ${5:data_in},\n output reg [${4:7}:0] ${6:data_out}\n);\n\n${7:// logic}\n\nendmodule",
|
|
507
|
+
"insertTextRules": 4,
|
|
508
|
+
"sortText": "02_mod"
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"label": "always @posedge",
|
|
512
|
+
"kind": 28,
|
|
513
|
+
"detail": "Clocked always block",
|
|
514
|
+
"documentation": {
|
|
515
|
+
"value": "Synchronous always block."
|
|
516
|
+
},
|
|
517
|
+
"insertText": "always @(posedge ${1:clk} or posedge ${2:rst}) begin\n if (${2:rst}) begin\n ${3:// reset}\n end else begin\n ${4:// logic}\n end\nend",
|
|
518
|
+
"insertTextRules": 4,
|
|
519
|
+
"sortText": "02_always"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"label": "always @*",
|
|
523
|
+
"kind": 28,
|
|
524
|
+
"detail": "Combinational always",
|
|
525
|
+
"documentation": {
|
|
526
|
+
"value": "Combinational logic always block."
|
|
527
|
+
},
|
|
528
|
+
"insertText": "always @(*) begin\n ${1:// combinational logic}\nend",
|
|
529
|
+
"insertTextRules": 4,
|
|
530
|
+
"sortText": "02_always"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"label": "always_ff",
|
|
534
|
+
"kind": 28,
|
|
535
|
+
"detail": "Flip-flop always",
|
|
536
|
+
"documentation": {
|
|
537
|
+
"value": "SystemVerilog-style flip-flop."
|
|
538
|
+
},
|
|
539
|
+
"insertText": "always @(posedge ${1:clk}) begin\n if (!${2:rst_n}) begin\n ${3:q} <= ${4:0};\n end else begin\n ${3:q} <= ${5:d};\n end\nend",
|
|
540
|
+
"insertTextRules": 4,
|
|
541
|
+
"sortText": "02_always"
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"label": "if-else",
|
|
545
|
+
"kind": 28,
|
|
546
|
+
"detail": "If-else statement",
|
|
547
|
+
"documentation": {
|
|
548
|
+
"value": "Conditional if-else."
|
|
549
|
+
},
|
|
550
|
+
"insertText": "if (${1:condition}) begin\n ${2:// true}\nend else begin\n ${3:// false}\nend",
|
|
551
|
+
"insertTextRules": 4,
|
|
552
|
+
"sortText": "03_ctrl"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"label": "case statement",
|
|
556
|
+
"kind": 28,
|
|
557
|
+
"detail": "Case block",
|
|
558
|
+
"documentation": {
|
|
559
|
+
"value": "Case/switch statement."
|
|
560
|
+
},
|
|
561
|
+
"insertText": "case (${1:sel})\n ${2:2'b00}: ${3:out} = ${4:a};\n ${5:2'b01}: ${3:out} = ${6:b};\n ${7:2'b10}: ${3:out} = ${8:c};\n default: ${3:out} = ${9:0};\nendcase",
|
|
562
|
+
"insertTextRules": 4,
|
|
563
|
+
"sortText": "03_ctrl"
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"label": "for loop",
|
|
567
|
+
"kind": 28,
|
|
568
|
+
"detail": "For loop",
|
|
569
|
+
"documentation": {
|
|
570
|
+
"value": "For loop construct."
|
|
571
|
+
},
|
|
572
|
+
"insertText": "for (${1:i} = ${2:0}; ${1:i} < ${3:8}; ${1:i} = ${1:i} + 1) begin\n ${4:// body}\nend",
|
|
573
|
+
"insertTextRules": 4,
|
|
574
|
+
"sortText": "03_ctrl"
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"label": "generate for",
|
|
578
|
+
"kind": 28,
|
|
579
|
+
"detail": "Generate for",
|
|
580
|
+
"documentation": {
|
|
581
|
+
"value": "Generate loop for replication."
|
|
582
|
+
},
|
|
583
|
+
"insertText": "genvar ${1:i};\ngenerate\n for (${1:i} = 0; ${1:i} < ${2:8}; ${1:i} = ${1:i} + 1) begin : ${3:gen_block}\n ${4:// instantiate}\n end\nendgenerate",
|
|
584
|
+
"insertTextRules": 4,
|
|
585
|
+
"sortText": "03_gen"
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"label": "assign stmt",
|
|
589
|
+
"kind": 28,
|
|
590
|
+
"detail": "Assign wire",
|
|
591
|
+
"documentation": {
|
|
592
|
+
"value": "Continuous wire assignment."
|
|
593
|
+
},
|
|
594
|
+
"insertText": "assign ${1:out} = ${2:a} ${3:&} ${4:b};",
|
|
595
|
+
"insertTextRules": 4,
|
|
596
|
+
"sortText": "02_assign"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"label": "parameter def",
|
|
600
|
+
"kind": 28,
|
|
601
|
+
"detail": "Parameter",
|
|
602
|
+
"documentation": {
|
|
603
|
+
"value": "Define a parameter."
|
|
604
|
+
},
|
|
605
|
+
"insertText": "parameter ${1:WIDTH} = ${2:8};",
|
|
606
|
+
"insertTextRules": 4,
|
|
607
|
+
"sortText": "02_param"
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"label": "localparam def",
|
|
611
|
+
"kind": 28,
|
|
612
|
+
"detail": "Local parameter",
|
|
613
|
+
"documentation": {
|
|
614
|
+
"value": "Define a local parameter."
|
|
615
|
+
},
|
|
616
|
+
"insertText": "localparam ${1:DEPTH} = ${2:16};",
|
|
617
|
+
"insertTextRules": 4,
|
|
618
|
+
"sortText": "02_param"
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"label": "reg declaration",
|
|
622
|
+
"kind": 28,
|
|
623
|
+
"detail": "Register",
|
|
624
|
+
"documentation": {
|
|
625
|
+
"value": "Declare a register."
|
|
626
|
+
},
|
|
627
|
+
"insertText": "reg [${1:7}:0] ${2:data};",
|
|
628
|
+
"insertTextRules": 4,
|
|
629
|
+
"sortText": "02_reg"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"label": "wire declaration",
|
|
633
|
+
"kind": 28,
|
|
634
|
+
"detail": "Wire",
|
|
635
|
+
"documentation": {
|
|
636
|
+
"value": "Declare a wire."
|
|
637
|
+
},
|
|
638
|
+
"insertText": "wire [${1:7}:0] ${2:data};",
|
|
639
|
+
"insertTextRules": 4,
|
|
640
|
+
"sortText": "02_wire"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"label": "input port",
|
|
644
|
+
"kind": 28,
|
|
645
|
+
"detail": "Input port",
|
|
646
|
+
"documentation": {
|
|
647
|
+
"value": "Declare input port."
|
|
648
|
+
},
|
|
649
|
+
"insertText": "input [${1:7}:0] ${2:data_in}",
|
|
650
|
+
"insertTextRules": 4,
|
|
651
|
+
"sortText": "02_port"
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"label": "output port",
|
|
655
|
+
"kind": 28,
|
|
656
|
+
"detail": "Output port",
|
|
657
|
+
"documentation": {
|
|
658
|
+
"value": "Declare output port."
|
|
659
|
+
},
|
|
660
|
+
"insertText": "output [${1:7}:0] ${2:data_out}",
|
|
661
|
+
"insertTextRules": 4,
|
|
662
|
+
"sortText": "02_port"
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"label": "output reg",
|
|
666
|
+
"kind": 28,
|
|
667
|
+
"detail": "Output register",
|
|
668
|
+
"documentation": {
|
|
669
|
+
"value": "Declare registered output."
|
|
670
|
+
},
|
|
671
|
+
"insertText": "output reg [${1:7}:0] ${2:data_out}",
|
|
672
|
+
"insertTextRules": 4,
|
|
673
|
+
"sortText": "02_port"
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"label": "instantiate",
|
|
677
|
+
"kind": 28,
|
|
678
|
+
"detail": "Module instance",
|
|
679
|
+
"documentation": {
|
|
680
|
+
"value": "Instantiate a module."
|
|
681
|
+
},
|
|
682
|
+
"insertText": "${1:module_name} ${2:inst_name}(\n .${3:port1}(${4:signal1}),\n .${5:port2}(${6:signal2})\n);",
|
|
683
|
+
"insertTextRules": 4,
|
|
684
|
+
"sortText": "03_inst"
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"label": "testbench",
|
|
688
|
+
"kind": 28,
|
|
689
|
+
"detail": "Testbench template",
|
|
690
|
+
"documentation": {
|
|
691
|
+
"value": "Basic testbench."
|
|
692
|
+
},
|
|
693
|
+
"insertText": "module ${1:tb};\n reg ${2:clk}, ${3:rst};\n wire [${4:7}:0] ${5:out};\n\n ${6:dut} uut(\n .clk(${2:clk}),\n .rst(${3:rst}),\n .out(${5:out})\n );\n\n initial begin\n ${2:clk} = 0;\n forever #${7:5} ${2:clk} = ~${2:clk};\n end\n\n initial begin\n ${3:rst} = 1;\n #${8:20} ${3:rst} = 0;\n #${9:100} $$finish;\n end\nendmodule",
|
|
694
|
+
"insertTextRules": 4,
|
|
695
|
+
"sortText": "04_tb"
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"label": "clock gen",
|
|
699
|
+
"kind": 28,
|
|
700
|
+
"detail": "Clock generator",
|
|
701
|
+
"documentation": {
|
|
702
|
+
"value": "Clock generation."
|
|
703
|
+
},
|
|
704
|
+
"insertText": "initial begin\n ${1:clk} = 0;\n forever #${2:5} ${1:clk} = ~${1:clk};\nend",
|
|
705
|
+
"insertTextRules": 4,
|
|
706
|
+
"sortText": "04_tb"
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"label": "task def",
|
|
710
|
+
"kind": 28,
|
|
711
|
+
"detail": "Task",
|
|
712
|
+
"documentation": {
|
|
713
|
+
"value": "Define a task."
|
|
714
|
+
},
|
|
715
|
+
"insertText": "task ${1:task_name};\n input ${2:a};\n output ${3:b};\n begin\n ${4:// body}\n end\nendtask",
|
|
716
|
+
"insertTextRules": 4,
|
|
717
|
+
"sortText": "03_task"
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"label": "function def",
|
|
721
|
+
"kind": 28,
|
|
722
|
+
"detail": "Function",
|
|
723
|
+
"documentation": {
|
|
724
|
+
"value": "Define a function."
|
|
725
|
+
},
|
|
726
|
+
"insertText": "function [${1:7}:0] ${2:func_name};\n input [${1:7}:0] ${3:a};\n begin\n ${2:func_name} = ${4:a + 1};\n end\nendfunction",
|
|
727
|
+
"insertTextRules": 4,
|
|
728
|
+
"sortText": "03_func"
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"label": "mux 2:1",
|
|
732
|
+
"kind": 28,
|
|
733
|
+
"detail": "2:1 Multiplexer",
|
|
734
|
+
"documentation": {
|
|
735
|
+
"value": "2-to-1 multiplexer."
|
|
736
|
+
},
|
|
737
|
+
"insertText": "assign ${1:out} = ${2:sel} ? ${3:a} : ${4:b};",
|
|
738
|
+
"insertTextRules": 4,
|
|
739
|
+
"sortText": "05_comp"
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"label": "mux 4:1",
|
|
743
|
+
"kind": 28,
|
|
744
|
+
"detail": "4:1 Multiplexer",
|
|
745
|
+
"documentation": {
|
|
746
|
+
"value": "4-to-1 multiplexer."
|
|
747
|
+
},
|
|
748
|
+
"insertText": "always @(*) begin\n case (${1:sel})\n 2'b00: ${2:out} = ${3:a};\n 2'b01: ${2:out} = ${4:b};\n 2'b10: ${2:out} = ${5:c};\n 2'b11: ${2:out} = ${6:d};\n endcase\nend",
|
|
749
|
+
"insertTextRules": 4,
|
|
750
|
+
"sortText": "05_comp"
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"label": "decoder",
|
|
754
|
+
"kind": 28,
|
|
755
|
+
"detail": "Decoder",
|
|
756
|
+
"documentation": {
|
|
757
|
+
"value": "Binary decoder."
|
|
758
|
+
},
|
|
759
|
+
"insertText": "always @(*) begin\n ${1:out} = ${2:4}'b0;\n ${1:out}[${3:sel}] = 1'b1;\nend",
|
|
760
|
+
"insertTextRules": 4,
|
|
761
|
+
"sortText": "05_comp"
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
"label": "counter",
|
|
765
|
+
"kind": 28,
|
|
766
|
+
"detail": "Counter",
|
|
767
|
+
"documentation": {
|
|
768
|
+
"value": "Binary counter."
|
|
769
|
+
},
|
|
770
|
+
"insertText": "always @(posedge ${1:clk} or posedge ${2:rst}) begin\n if (${2:rst})\n ${3:count} <= 0;\n else\n ${3:count} <= ${3:count} + 1;\nend",
|
|
771
|
+
"insertTextRules": 4,
|
|
772
|
+
"sortText": "05_comp"
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"label": "shift register",
|
|
776
|
+
"kind": 28,
|
|
777
|
+
"detail": "Shift register",
|
|
778
|
+
"documentation": {
|
|
779
|
+
"value": "Shift register."
|
|
780
|
+
},
|
|
781
|
+
"insertText": "always @(posedge ${1:clk}) begin\n if (${2:rst})\n ${3:shift_reg} <= 0;\n else\n ${3:shift_reg} <= {${3:shift_reg}[${4:6}:0], ${5:data_in}};\nend",
|
|
782
|
+
"insertTextRules": 4,
|
|
783
|
+
"sortText": "05_comp"
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"label": "FSM",
|
|
787
|
+
"kind": 28,
|
|
788
|
+
"detail": "State machine",
|
|
789
|
+
"documentation": {
|
|
790
|
+
"value": "Finite state machine."
|
|
791
|
+
},
|
|
792
|
+
"insertText": "// State encoding\nlocalparam ${1:IDLE} = 2'b00, ${2:RUN} = 2'b01, ${3:DONE} = 2'b10;\nreg [1:0] state, next_state;\n\nalways @(posedge clk or posedge rst) begin\n if (rst) state <= ${1:IDLE};\n else state <= next_state;\nend\n\nalways @(*) begin\n next_state = state;\n case (state)\n ${1:IDLE}: if (${4:start}) next_state = ${2:RUN};\n ${2:RUN}: if (${5:done}) next_state = ${3:DONE};\n ${3:DONE}: next_state = ${1:IDLE};\n endcase\nend",
|
|
793
|
+
"insertTextRules": 4,
|
|
794
|
+
"sortText": "05_fsm"
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"label": "memory",
|
|
798
|
+
"kind": 28,
|
|
799
|
+
"detail": "Memory array",
|
|
800
|
+
"documentation": {
|
|
801
|
+
"value": "RAM memory block."
|
|
802
|
+
},
|
|
803
|
+
"insertText": "reg [${1:7}:0] ${2:mem} [0:${3:255}];\n\nalways @(posedge ${4:clk}) begin\n if (${5:we})\n ${2:mem}[${6:addr}] <= ${7:data_in};\n ${8:data_out} <= ${2:mem}[${6:addr}];\nend",
|
|
804
|
+
"insertTextRules": 4,
|
|
805
|
+
"sortText": "05_comp"
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"label": "D flip-flop",
|
|
809
|
+
"kind": 28,
|
|
810
|
+
"detail": "D flip-flop",
|
|
811
|
+
"documentation": {
|
|
812
|
+
"value": "D flip-flop with reset."
|
|
813
|
+
},
|
|
814
|
+
"insertText": "always @(posedge ${1:clk} or posedge ${2:rst}) begin\n if (${2:rst})\n ${3:q} <= 1'b0;\n else\n ${3:q} <= ${4:d};\nend",
|
|
815
|
+
"insertTextRules": 4,
|
|
816
|
+
"sortText": "05_comp"
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"label": "$display",
|
|
820
|
+
"kind": 28,
|
|
821
|
+
"detail": "Display",
|
|
822
|
+
"documentation": {
|
|
823
|
+
"value": "Display message in simulation."
|
|
824
|
+
},
|
|
825
|
+
"insertText": "$$display(\"${1:msg}: %d\", ${2:signal});",
|
|
826
|
+
"insertTextRules": 4,
|
|
827
|
+
"sortText": "04_sys"
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"label": "$monitor",
|
|
831
|
+
"kind": 28,
|
|
832
|
+
"detail": "Monitor",
|
|
833
|
+
"documentation": {
|
|
834
|
+
"value": "Monitor signal changes."
|
|
835
|
+
},
|
|
836
|
+
"insertText": "$$monitor(\"${1:%t}: ${2:sig}=%b\", $$time, ${3:signal});",
|
|
837
|
+
"insertTextRules": 4,
|
|
838
|
+
"sortText": "04_sys"
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
"label": "$finish",
|
|
842
|
+
"kind": 28,
|
|
843
|
+
"detail": "Finish",
|
|
844
|
+
"documentation": {
|
|
845
|
+
"value": "End simulation."
|
|
846
|
+
},
|
|
847
|
+
"insertText": "$$finish;",
|
|
848
|
+
"insertTextRules": 4,
|
|
849
|
+
"sortText": "04_sys"
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
"label": "$dumpfile",
|
|
853
|
+
"kind": 28,
|
|
854
|
+
"detail": "Dump file",
|
|
855
|
+
"documentation": {
|
|
856
|
+
"value": "Set VCD dump file."
|
|
857
|
+
},
|
|
858
|
+
"insertText": "$$dumpfile(\"${1:dump.vcd}\");\n$$dumpvars(0, ${2:tb});",
|
|
859
|
+
"insertTextRules": 4,
|
|
860
|
+
"sortText": "04_sys"
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"label": "#delay",
|
|
864
|
+
"kind": 28,
|
|
865
|
+
"detail": "Time delay",
|
|
866
|
+
"documentation": {
|
|
867
|
+
"value": "Simulation time delay."
|
|
868
|
+
},
|
|
869
|
+
"insertText": "#${1:10};",
|
|
870
|
+
"insertTextRules": 4,
|
|
871
|
+
"sortText": "04_sys"
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
"label": "adder",
|
|
875
|
+
"kind": 28,
|
|
876
|
+
"detail": "Full adder",
|
|
877
|
+
"documentation": {
|
|
878
|
+
"value": "Full adder module."
|
|
879
|
+
},
|
|
880
|
+
"insertText": "module full_adder(\n input ${1:a}, ${2:b}, ${3:cin},\n output ${4:sum}, ${5:cout}\n);\n assign ${4:sum} = ${1:a} ^ ${2:b} ^ ${3:cin};\n assign ${5:cout} = (${1:a} & ${2:b}) | (${3:cin} & (${1:a} ^ ${2:b}));\nendmodule",
|
|
881
|
+
"insertTextRules": 4,
|
|
882
|
+
"sortText": "05_comp"
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
"label": "timescale",
|
|
886
|
+
"kind": 17,
|
|
887
|
+
"detail": "Keyword: timescale",
|
|
888
|
+
"documentation": {
|
|
889
|
+
"value": "Timescale directive."
|
|
890
|
+
},
|
|
891
|
+
"insertText": "timescale",
|
|
892
|
+
"insertTextRules": 0,
|
|
893
|
+
"sortText": "00_kw"
|
|
894
|
+
}
|
|
895
|
+
]
|
|
155
896
|
}
|