@enjoys/context-engine 1.1.0 → 1.1.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/codeActions/abap.json +12 -0
- package/data/codeActions/apex.json +10 -0
- package/data/codeActions/azcli.json +26 -0
- package/data/codeActions/bicep.json +26 -0
- package/data/codeActions/cameligo.json +26 -0
- package/data/codeActions/clojure.json +26 -0
- package/data/codeActions/coffee.json +26 -0
- package/data/codeActions/cypher.json +26 -0
- package/data/codeActions/dart.json +31 -0
- package/data/codeActions/docker-compose.json +112 -0
- package/data/codeActions/doctest.json +26 -0
- package/data/codeActions/ecl.json +26 -0
- package/data/codeActions/elixir.json +26 -0
- package/data/codeActions/flow9.json +26 -0
- package/data/codeActions/freemarker2.json +26 -0
- package/data/codeActions/julia.json +26 -0
- package/data/codeActions/kotlin.json +18 -0
- package/data/codeActions/less.json +26 -0
- package/data/codeActions/lexon.json +26 -0
- package/data/codeActions/liquid.json +26 -0
- package/data/codeActions/m3.json +26 -0
- package/data/codeActions/mdx.json +26 -0
- package/data/codeActions/mips.json +26 -0
- package/data/codeActions/msdax.json +26 -0
- package/data/codeActions/mysql.json +26 -0
- package/data/codeActions/objective-c.json +26 -0
- package/data/codeActions/pascal.json +26 -0
- package/data/codeActions/pascaligo.json +26 -0
- package/data/codeActions/pgsql.json +26 -0
- package/data/codeActions/pla.json +26 -0
- package/data/codeActions/postiats.json +26 -0
- package/data/codeActions/powerquery.json +26 -0
- package/data/codeActions/qsharp.json +26 -0
- package/data/codeActions/r.json +71 -0
- package/data/codeActions/razor.json +26 -0
- package/data/codeActions/redis.json +26 -0
- package/data/codeActions/redshift.json +26 -0
- package/data/codeActions/restructuredtext.json +26 -0
- package/data/codeActions/sb.json +26 -0
- package/data/codeActions/scala.json +26 -0
- package/data/codeActions/scheme.json +26 -0
- package/data/codeActions/scss.json +26 -0
- package/data/codeActions/shell.json +26 -0
- package/data/codeActions/sol.json +26 -0
- package/data/codeActions/sparql.json +26 -0
- package/data/codeActions/st.json +26 -0
- package/data/codeActions/swift.json +26 -0
- package/data/codeActions/systemverilog.json +26 -0
- package/data/codeActions/tcl.json +26 -0
- package/data/codeActions/twig.json +26 -0
- package/data/codeActions/vb.json +26 -0
- package/data/codeActions/wgsl.json +26 -0
- package/data/codeLens/abap.json +7 -0
- package/data/codeLens/apex.json +7 -0
- package/data/codeLens/azcli.json +11 -0
- package/data/codeLens/bicep.json +17 -0
- package/data/codeLens/cameligo.json +17 -0
- package/data/codeLens/clojure.json +17 -0
- package/data/codeLens/coffee.json +17 -0
- package/data/codeLens/cypher.json +26 -0
- package/data/codeLens/dart.json +15 -0
- package/data/codeLens/docker-compose.json +26 -0
- package/data/codeLens/dockerfile.json +26 -4
- package/data/codeLens/doctest.json +11 -0
- package/data/codeLens/dotenv.json +26 -4
- package/data/codeLens/ecl.json +17 -0
- package/data/codeLens/elixir.json +17 -0
- package/data/codeLens/flow9.json +17 -0
- package/data/codeLens/freemarker2.json +17 -0
- package/data/codeLens/ini.json +26 -4
- package/data/codeLens/json.json +26 -4
- package/data/codeLens/julia.json +17 -0
- package/data/codeLens/kotlin.json +10 -0
- package/data/codeLens/less.json +17 -0
- package/data/codeLens/lexon.json +17 -0
- package/data/codeLens/liquid.json +17 -0
- package/data/codeLens/m3.json +17 -0
- package/data/codeLens/markdown.json +26 -4
- package/data/codeLens/mdx.json +17 -0
- package/data/codeLens/mips.json +17 -0
- package/data/codeLens/msdax.json +17 -0
- package/data/codeLens/mysql.json +17 -0
- package/data/codeLens/objective-c.json +17 -0
- package/data/codeLens/pascal.json +17 -0
- package/data/codeLens/pascaligo.json +17 -0
- package/data/codeLens/pgsql.json +17 -0
- package/data/codeLens/pla.json +11 -0
- package/data/codeLens/postiats.json +17 -0
- package/data/codeLens/powerquery.json +17 -0
- package/data/codeLens/qsharp.json +17 -0
- package/data/codeLens/r.json +33 -0
- package/data/codeLens/razor.json +17 -0
- package/data/codeLens/redis-cli.json +26 -4
- package/data/codeLens/redis.json +26 -0
- package/data/codeLens/redshift.json +17 -0
- package/data/codeLens/restructuredtext.json +17 -0
- package/data/codeLens/sb.json +17 -0
- package/data/codeLens/scala.json +18 -0
- package/data/codeLens/scheme.json +17 -0
- package/data/codeLens/scss.json +17 -0
- package/data/codeLens/shell.json +17 -0
- package/data/codeLens/sol.json +17 -0
- package/data/codeLens/sparql.json +17 -0
- package/data/codeLens/ssh_config.json +26 -4
- package/data/codeLens/st.json +17 -0
- package/data/codeLens/swift.json +15 -0
- package/data/codeLens/systemd.json +26 -4
- package/data/codeLens/systemverilog.json +17 -0
- package/data/codeLens/tcl.json +17 -0
- package/data/codeLens/toml.json +26 -4
- package/data/codeLens/twig.json +17 -0
- package/data/codeLens/vb.json +17 -0
- package/data/codeLens/wgsl.json +17 -0
- package/data/codeLens/yaml.json +26 -4
- package/data/color/abap.json +20 -0
- package/data/color/apex.json +20 -0
- package/data/color/awk.json +80 -6
- package/data/color/azcli.json +20 -0
- package/data/color/bicep.json +20 -0
- package/data/color/c.json +30 -6
- package/data/color/caddy.json +24 -6
- package/data/color/cameligo.json +19 -0
- package/data/color/clojure.json +19 -0
- package/data/color/coffee.json +19 -0
- package/data/color/cpp.json +30 -6
- package/data/color/crontab.json +24 -6
- package/data/color/csharp.json +109 -6
- package/data/color/cypher.json +19 -0
- package/data/color/dart.json +37 -0
- package/data/color/docker-compose.json +24 -0
- package/data/color/dockerfile.json +24 -6
- package/data/color/doctest.json +20 -0
- package/data/color/dotenv.json +24 -6
- package/data/color/ecl.json +20 -0
- package/data/color/elixir.json +109 -0
- package/data/color/flow9.json +19 -0
- package/data/color/freemarker2.json +121 -0
- package/data/color/go.json +30 -6
- package/data/color/graphql.json +24 -6
- package/data/color/hcl.json +24 -6
- package/data/color/ini.json +24 -6
- package/data/color/java.json +109 -6
- package/data/color/json.json +24 -6
- package/data/color/julia.json +109 -0
- package/data/color/kotlin.json +12 -0
- package/data/color/less.json +19 -0
- package/data/color/lexon.json +20 -0
- package/data/color/liquid.json +121 -0
- package/data/color/lua.json +30 -6
- package/data/color/m3.json +19 -0
- package/data/color/makefile.json +24 -6
- package/data/color/markdown.json +121 -6
- package/data/color/mdx.json +121 -0
- package/data/color/mips.json +20 -0
- package/data/color/msdax.json +19 -0
- package/data/color/mysql.json +19 -0
- package/data/color/nginx.json +24 -6
- package/data/color/objective-c.json +30 -0
- package/data/color/pascal.json +19 -0
- package/data/color/pascaligo.json +19 -0
- package/data/color/perl.json +30 -6
- package/data/color/pgsql.json +19 -0
- package/data/color/pla.json +20 -0
- package/data/color/postiats.json +19 -0
- package/data/color/powerquery.json +20 -0
- package/data/color/powershell.json +80 -6
- package/data/color/protobuf.json +24 -6
- package/data/color/python.json +109 -6
- package/data/color/qsharp.json +20 -0
- package/data/color/r.json +109 -0
- package/data/color/razor.json +121 -0
- package/data/color/redis-cli.json +20 -6
- package/data/color/redis.json +20 -0
- package/data/color/redshift.json +19 -0
- package/data/color/restructuredtext.json +20 -0
- package/data/color/ruby.json +109 -6
- package/data/color/rust.json +30 -6
- package/data/color/sb.json +20 -0
- package/data/color/scala.json +13 -0
- package/data/color/scheme.json +19 -0
- package/data/color/scss.json +19 -0
- package/data/color/shell.json +80 -0
- package/data/color/sol.json +20 -0
- package/data/color/sparql.json +19 -0
- package/data/color/sql.json +19 -6
- package/data/color/ssh_config.json +24 -6
- package/data/color/st.json +20 -0
- package/data/color/swift.json +37 -0
- package/data/color/systemd.json +24 -6
- package/data/color/systemverilog.json +20 -0
- package/data/color/tcl.json +80 -0
- package/data/color/toml.json +24 -6
- package/data/color/twig.json +121 -0
- package/data/color/vb.json +109 -0
- package/data/color/wgsl.json +20 -0
- package/data/color/xml.json +121 -6
- package/data/color/yaml.json +24 -6
- package/data/color/zsh.json +80 -6
- package/data/commands/abap.json +41 -0
- package/data/commands/apex.json +15 -0
- package/data/commands/azcli.json +59 -0
- package/data/commands/bicep.json +47 -0
- package/data/commands/c.json +35 -0
- package/data/commands/cameligo.json +47 -0
- package/data/commands/clojure.json +41 -0
- package/data/commands/coffee.json +41 -0
- package/data/commands/cpp.json +35 -0
- package/data/commands/crontab.json +35 -0
- package/data/commands/csharp.json +47 -0
- package/data/commands/cypher.json +35 -0
- package/data/commands/doctest.json +29 -0
- package/data/commands/dotenv.json +16 -0
- package/data/commands/ecl.json +35 -0
- package/data/commands/elixir.json +71 -0
- package/data/commands/flow9.json +29 -0
- package/data/commands/freemarker2.json +23 -0
- package/data/commands/graphql.json +16 -0
- package/data/commands/hcl.json +53 -0
- package/data/commands/html.json +16 -0
- package/data/commands/ini.json +16 -0
- package/data/commands/javascript.json +35 -0
- package/data/commands/json.json +41 -0
- package/data/commands/julia.json +41 -0
- package/data/commands/kotlin.json +45 -0
- package/data/commands/less.json +35 -0
- package/data/commands/lexon.json +16 -0
- package/data/commands/liquid.json +16 -0
- package/data/commands/m3.json +16 -0
- package/data/commands/makefile.json +41 -0
- package/data/commands/manifest.json +72 -1
- package/data/commands/markdown.json +16 -0
- package/data/commands/mdx.json +16 -0
- package/data/commands/mips.json +23 -0
- package/data/commands/msdax.json +16 -0
- package/data/commands/objective-c.json +29 -0
- package/data/commands/pascal.json +29 -0
- package/data/commands/pascaligo.json +29 -0
- package/data/commands/perl.json +35 -0
- package/data/commands/pgsql.json +41 -0
- package/data/commands/pla.json +16 -0
- package/data/commands/postiats.json +29 -0
- package/data/commands/powerquery.json +16 -0
- package/data/commands/powershell.json +35 -0
- package/data/commands/protobuf.json +35 -0
- package/data/commands/qsharp.json +35 -0
- package/data/commands/r.json +100 -0
- package/data/commands/razor.json +35 -0
- package/data/commands/redis.json +47 -0
- package/data/commands/redshift.json +23 -0
- package/data/commands/restructuredtext.json +35 -0
- package/data/commands/sb.json +16 -0
- package/data/commands/scala.json +171 -0
- package/data/commands/scheme.json +23 -0
- package/data/commands/scss.json +35 -0
- package/data/commands/shell.json +41 -0
- package/data/commands/sol.json +35 -0
- package/data/commands/sparql.json +16 -0
- package/data/commands/ssh_config.json +35 -0
- package/data/commands/st.json +16 -0
- package/data/commands/swift.json +67 -0
- package/data/commands/systemd.json +53 -0
- package/data/commands/systemverilog.json +29 -0
- package/data/commands/tcl.json +23 -0
- package/data/commands/toml.json +16 -0
- package/data/commands/twig.json +16 -0
- package/data/commands/typescript.json +41 -0
- package/data/commands/vb.json +29 -0
- package/data/commands/wgsl.json +16 -0
- package/data/commands/xml.json +41 -0
- package/data/commands/yaml.json +35 -0
- package/data/completion/abap.json +341 -0
- package/data/completion/apex.json +43 -0
- package/data/completion/azcli.json +238 -0
- package/data/completion/bicep.json +368 -0
- package/data/completion/cameligo.json +487 -0
- package/data/completion/clojure.json +488 -0
- package/data/completion/coffee.json +479 -0
- package/data/completion/cypher.json +628 -0
- package/data/completion/dart.json +1436 -0
- package/data/completion/docker-compose.json +959 -0
- package/data/completion/doctest.json +526 -0
- package/data/completion/ecl.json +598 -0
- package/data/completion/elixir.json +649 -0
- package/data/completion/flow9.json +376 -0
- package/data/completion/freemarker2.json +579 -0
- package/data/completion/julia.json +638 -0
- package/data/completion/kotlin.json +1580 -0
- package/data/completion/less.json +378 -0
- package/data/completion/lexon.json +296 -0
- package/data/completion/liquid.json +499 -0
- package/data/completion/m3.json +587 -0
- package/data/completion/mdx.json +88 -0
- package/data/completion/mips.json +378 -0
- package/data/completion/msdax.json +467 -0
- package/data/completion/mysql.json +638 -0
- package/data/completion/objective-c.json +629 -0
- package/data/completion/pascal.json +649 -0
- package/data/completion/pascaligo.json +517 -0
- package/data/completion/pgsql.json +638 -0
- package/data/completion/pla.json +155 -0
- package/data/completion/postiats.json +417 -0
- package/data/completion/powerquery.json +587 -0
- package/data/completion/qsharp.json +587 -0
- package/data/completion/r.json +1985 -0
- package/data/completion/razor.json +488 -0
- package/data/completion/redis.json +389 -0
- package/data/completion/redshift.json +638 -0
- package/data/completion/restructuredtext.json +499 -0
- package/data/completion/sb.json +398 -0
- package/data/completion/scala.json +1076 -0
- package/data/completion/scheme.json +510 -0
- package/data/completion/scss.json +500 -0
- package/data/completion/shell.json +510 -0
- package/data/completion/sol.json +660 -0
- package/data/completion/sparql.json +587 -0
- package/data/completion/st.json +638 -0
- package/data/completion/swift.json +1742 -0
- package/data/completion/systemverilog.json +638 -0
- package/data/completion/tcl.json +499 -0
- package/data/completion/twig.json +510 -0
- package/data/completion/vb.json +660 -0
- package/data/completion/wgsl.json +649 -0
- package/data/declaration/abap.json +11 -0
- package/data/declaration/apex.json +10 -0
- package/data/declaration/azcli.json +42 -0
- package/data/declaration/bicep.json +36 -0
- package/data/declaration/cameligo.json +24 -0
- package/data/declaration/clojure.json +36 -0
- package/data/declaration/coffee.json +24 -0
- package/data/declaration/crontab.json +36 -12
- package/data/declaration/cypher.json +36 -0
- package/data/declaration/dart.json +25 -0
- package/data/declaration/docker-compose.json +42 -0
- package/data/declaration/doctest.json +36 -0
- package/data/declaration/dotenv.json +42 -12
- package/data/declaration/ecl.json +24 -0
- package/data/declaration/elixir.json +36 -0
- package/data/declaration/flow9.json +42 -0
- package/data/declaration/freemarker2.json +24 -0
- package/data/declaration/html.json +60 -18
- package/data/declaration/ini.json +36 -18
- package/data/declaration/json.json +30 -12
- package/data/declaration/julia.json +36 -0
- package/data/declaration/kotlin.json +14 -0
- package/data/declaration/less.json +24 -0
- package/data/declaration/lexon.json +42 -0
- package/data/declaration/liquid.json +24 -0
- package/data/declaration/m3.json +30 -0
- package/data/declaration/markdown.json +42 -18
- package/data/declaration/mdx.json +24 -0
- package/data/declaration/mips.json +42 -0
- package/data/declaration/msdax.json +42 -0
- package/data/declaration/mysql.json +30 -0
- package/data/declaration/objective-c.json +36 -0
- package/data/declaration/pascal.json +36 -0
- package/data/declaration/pascaligo.json +24 -0
- package/data/declaration/pgsql.json +36 -0
- package/data/declaration/pla.json +48 -0
- package/data/declaration/postiats.json +30 -0
- package/data/declaration/powerquery.json +48 -0
- package/data/declaration/qsharp.json +30 -0
- package/data/declaration/r.json +625 -0
- package/data/declaration/razor.json +24 -0
- package/data/declaration/redis-cli.json +217 -186
- package/data/declaration/redis.json +36 -0
- package/data/declaration/redshift.json +48 -0
- package/data/declaration/restructuredtext.json +54 -0
- package/data/declaration/sb.json +42 -0
- package/data/declaration/scala.json +23 -0
- package/data/declaration/scheme.json +24 -0
- package/data/declaration/scss.json +36 -0
- package/data/declaration/shell.json +24 -0
- package/data/declaration/sol.json +36 -0
- package/data/declaration/sparql.json +48 -0
- package/data/declaration/ssh_config.json +48 -18
- package/data/declaration/st.json +30 -0
- package/data/declaration/swift.json +18 -0
- package/data/declaration/systemd.json +54 -18
- package/data/declaration/systemverilog.json +36 -0
- package/data/declaration/tcl.json +24 -0
- package/data/declaration/twig.json +24 -0
- package/data/declaration/vb.json +36 -0
- package/data/declaration/wgsl.json +30 -0
- package/data/defination/abap.json +188 -0
- package/data/defination/apex.json +294 -0
- package/data/defination/azcli.json +184 -0
- package/data/defination/bicep.json +109 -0
- package/data/defination/cameligo.json +147 -0
- package/data/defination/clojure.json +92 -0
- package/data/defination/coffee.json +192 -0
- package/data/defination/cypher.json +105 -0
- package/data/defination/dart.json +360 -0
- package/data/defination/docker-compose.json +347 -0
- package/data/defination/doctest.json +106 -0
- package/data/defination/ecl.json +92 -0
- package/data/defination/elixir.json +244 -0
- package/data/defination/flow9.json +156 -0
- package/data/defination/freemarker2.json +176 -0
- package/data/defination/julia.json +232 -0
- package/data/defination/kotlin.json +269 -0
- package/data/defination/less.json +65 -0
- package/data/defination/lexon.json +65 -0
- package/data/defination/liquid.json +176 -0
- package/data/defination/m3.json +220 -0
- package/data/defination/mdx.json +78 -0
- package/data/defination/mips.json +185 -0
- package/data/defination/msdax.json +125 -0
- package/data/defination/mysql.json +149 -0
- package/data/defination/objective-c.json +217 -0
- package/data/defination/pascal.json +175 -0
- package/data/defination/pascaligo.json +183 -0
- package/data/defination/pgsql.json +119 -0
- package/data/defination/pla.json +83 -0
- package/data/defination/postiats.json +89 -0
- package/data/defination/powerquery.json +101 -0
- package/data/defination/qsharp.json +95 -0
- package/data/defination/r.json +84 -0
- package/data/defination/razor.json +108 -0
- package/data/defination/redis.json +125 -0
- package/data/defination/redshift.json +112 -0
- package/data/defination/restructuredtext.json +77 -0
- package/data/defination/sb.json +341 -0
- package/data/defination/scala.json +285 -0
- package/data/defination/scheme.json +107 -0
- package/data/defination/scss.json +95 -0
- package/data/defination/shell.json +95 -0
- package/data/defination/sol.json +186 -0
- package/data/defination/sparql.json +83 -0
- package/data/defination/st.json +329 -0
- package/data/defination/swift.json +551 -0
- package/data/defination/systemverilog.json +101 -0
- package/data/defination/tcl.json +226 -0
- package/data/defination/twig.json +113 -0
- package/data/defination/vb.json +113 -0
- package/data/defination/wgsl.json +113 -0
- package/data/documentHighlight/abap.json +15 -0
- package/data/documentHighlight/apex.json +13 -0
- package/data/documentHighlight/azcli.json +143 -0
- package/data/documentHighlight/bicep.json +92 -0
- package/data/documentHighlight/cameligo.json +95 -0
- package/data/documentHighlight/clojure.json +130 -0
- package/data/documentHighlight/coffee.json +146 -0
- package/data/documentHighlight/cypher.json +186 -0
- package/data/documentHighlight/dart.json +84 -0
- package/data/documentHighlight/docker-compose.json +233 -0
- package/data/documentHighlight/doctest.json +102 -0
- package/data/documentHighlight/ecl.json +146 -0
- package/data/documentHighlight/elixir.json +174 -0
- package/data/documentHighlight/flow9.json +119 -0
- package/data/documentHighlight/freemarker2.json +174 -0
- package/data/documentHighlight/julia.json +166 -0
- package/data/documentHighlight/kotlin.json +37 -0
- package/data/documentHighlight/less.json +96 -0
- package/data/documentHighlight/lexon.json +106 -0
- package/data/documentHighlight/liquid.json +154 -0
- package/data/documentHighlight/m3.json +218 -0
- package/data/documentHighlight/markdown.json +100 -23
- package/data/documentHighlight/mdx.json +103 -0
- package/data/documentHighlight/mips.json +248 -0
- package/data/documentHighlight/msdax.json +153 -0
- package/data/documentHighlight/mysql.json +346 -0
- package/data/documentHighlight/objective-c.json +266 -0
- package/data/documentHighlight/pascal.json +278 -0
- package/data/documentHighlight/pascaligo.json +166 -0
- package/data/documentHighlight/pgsql.json +410 -0
- package/data/documentHighlight/pla.json +173 -0
- package/data/documentHighlight/postiats.json +198 -0
- package/data/documentHighlight/powerquery.json +242 -0
- package/data/documentHighlight/qsharp.json +222 -0
- package/data/documentHighlight/r.json +45 -0
- package/data/documentHighlight/razor.json +162 -0
- package/data/documentHighlight/redis.json +282 -0
- package/data/documentHighlight/redshift.json +374 -0
- package/data/documentHighlight/restructuredtext.json +214 -0
- package/data/documentHighlight/sb.json +198 -0
- package/data/documentHighlight/scala.json +79 -0
- package/data/documentHighlight/scheme.json +230 -0
- package/data/documentHighlight/scss.json +194 -0
- package/data/documentHighlight/shell.json +334 -0
- package/data/documentHighlight/sol.json +290 -0
- package/data/documentHighlight/sparql.json +446 -0
- package/data/documentHighlight/st.json +226 -0
- package/data/documentHighlight/swift.json +89 -0
- package/data/documentHighlight/systemverilog.json +410 -0
- package/data/documentHighlight/tcl.json +334 -0
- package/data/documentHighlight/twig.json +254 -0
- package/data/documentHighlight/vb.json +394 -0
- package/data/documentHighlight/wgsl.json +322 -0
- package/data/documentSymbol/abap.json +12 -0
- package/data/documentSymbol/apex.json +10 -0
- package/data/documentSymbol/azcli.json +12 -0
- package/data/documentSymbol/bicep.json +40 -0
- package/data/documentSymbol/cameligo.json +26 -0
- package/data/documentSymbol/clojure.json +47 -0
- package/data/documentSymbol/coffee.json +26 -0
- package/data/documentSymbol/cypher.json +47 -0
- package/data/documentSymbol/dart.json +20 -0
- package/data/documentSymbol/docker-compose.json +75 -0
- package/data/documentSymbol/doctest.json +12 -0
- package/data/documentSymbol/ecl.json +26 -0
- package/data/documentSymbol/elixir.json +40 -0
- package/data/documentSymbol/flow9.json +19 -0
- package/data/documentSymbol/freemarker2.json +26 -0
- package/data/documentSymbol/julia.json +47 -0
- package/data/documentSymbol/kotlin.json +15 -0
- package/data/documentSymbol/less.json +26 -0
- package/data/documentSymbol/lexon.json +19 -0
- package/data/documentSymbol/liquid.json +26 -0
- package/data/documentSymbol/m3.json +33 -0
- package/data/documentSymbol/mdx.json +26 -0
- package/data/documentSymbol/mips.json +19 -0
- package/data/documentSymbol/msdax.json +19 -0
- package/data/documentSymbol/mysql.json +33 -0
- package/data/documentSymbol/objective-c.json +40 -0
- package/data/documentSymbol/pascal.json +47 -0
- package/data/documentSymbol/pascaligo.json +26 -0
- package/data/documentSymbol/pgsql.json +40 -0
- package/data/documentSymbol/pla.json +12 -0
- package/data/documentSymbol/postiats.json +33 -0
- package/data/documentSymbol/powerquery.json +19 -0
- package/data/documentSymbol/qsharp.json +33 -0
- package/data/documentSymbol/r.json +68 -0
- package/data/documentSymbol/razor.json +26 -0
- package/data/documentSymbol/redis-cli.json +26 -4
- package/data/documentSymbol/redis.json +26 -0
- package/data/documentSymbol/redshift.json +19 -0
- package/data/documentSymbol/restructuredtext.json +19 -0
- package/data/documentSymbol/sb.json +19 -0
- package/data/documentSymbol/scala.json +21 -0
- package/data/documentSymbol/scheme.json +26 -0
- package/data/documentSymbol/scss.json +40 -0
- package/data/documentSymbol/shell.json +26 -0
- package/data/documentSymbol/sol.json +68 -0
- package/data/documentSymbol/sparql.json +19 -0
- package/data/documentSymbol/st.json +33 -0
- package/data/documentSymbol/swift.json +17 -0
- package/data/documentSymbol/systemverilog.json +47 -0
- package/data/documentSymbol/tcl.json +26 -0
- package/data/documentSymbol/twig.json +26 -0
- package/data/documentSymbol/vb.json +54 -0
- package/data/documentSymbol/wgsl.json +33 -0
- package/data/formatting/abap.json +11 -0
- package/data/formatting/apex.json +11 -0
- package/data/formatting/azcli.json +19 -0
- package/data/formatting/bicep.json +19 -0
- package/data/formatting/cameligo.json +19 -0
- package/data/formatting/clojure.json +19 -0
- package/data/formatting/coffee.json +19 -0
- package/data/formatting/cypher.json +19 -0
- package/data/formatting/dart.json +16 -0
- package/data/formatting/docker-compose.json +24 -0
- package/data/formatting/doctest.json +19 -0
- package/data/formatting/ecl.json +19 -0
- package/data/formatting/elixir.json +19 -0
- package/data/formatting/flow9.json +19 -0
- package/data/formatting/freemarker2.json +19 -0
- package/data/formatting/julia.json +19 -0
- package/data/formatting/kotlin.json +14 -0
- package/data/formatting/less.json +19 -0
- package/data/formatting/lexon.json +19 -0
- package/data/formatting/liquid.json +19 -0
- package/data/formatting/m3.json +19 -0
- package/data/formatting/mdx.json +19 -0
- package/data/formatting/mips.json +19 -0
- package/data/formatting/msdax.json +19 -0
- package/data/formatting/mysql.json +19 -0
- package/data/formatting/objective-c.json +19 -0
- package/data/formatting/pascal.json +19 -0
- package/data/formatting/pascaligo.json +19 -0
- package/data/formatting/pgsql.json +19 -0
- package/data/formatting/pla.json +19 -0
- package/data/formatting/postiats.json +19 -0
- package/data/formatting/powerquery.json +19 -0
- package/data/formatting/qsharp.json +19 -0
- package/data/formatting/r.json +33 -0
- package/data/formatting/razor.json +19 -0
- package/data/formatting/redis.json +19 -0
- package/data/formatting/redshift.json +19 -0
- package/data/formatting/restructuredtext.json +19 -0
- package/data/formatting/sb.json +19 -0
- package/data/formatting/scala.json +17 -0
- package/data/formatting/scheme.json +19 -0
- package/data/formatting/scss.json +19 -0
- package/data/formatting/shell.json +19 -0
- package/data/formatting/sol.json +19 -0
- package/data/formatting/sparql.json +19 -0
- package/data/formatting/st.json +19 -0
- package/data/formatting/swift.json +19 -0
- package/data/formatting/systemverilog.json +19 -0
- package/data/formatting/tcl.json +19 -0
- package/data/formatting/twig.json +19 -0
- package/data/formatting/vb.json +19 -0
- package/data/formatting/wgsl.json +19 -0
- package/data/hover/abap.json +14 -0
- package/data/hover/apex.json +10 -0
- package/data/hover/azcli.json +75 -0
- package/data/hover/bicep.json +75 -0
- package/data/hover/cameligo.json +75 -0
- package/data/hover/clojure.json +75 -0
- package/data/hover/coffee.json +75 -0
- package/data/hover/cypher.json +75 -0
- package/data/hover/dart.json +161 -0
- package/data/hover/docker-compose.json +404 -0
- package/data/hover/doctest.json +75 -0
- package/data/hover/ecl.json +75 -0
- package/data/hover/elixir.json +75 -0
- package/data/hover/flow9.json +75 -0
- package/data/hover/freemarker2.json +75 -0
- package/data/hover/julia.json +75 -0
- package/data/hover/kotlin.json +341 -0
- package/data/hover/less.json +75 -0
- package/data/hover/lexon.json +40 -0
- package/data/hover/liquid.json +75 -0
- package/data/hover/m3.json +75 -0
- package/data/hover/mdx.json +40 -0
- package/data/hover/mips.json +75 -0
- package/data/hover/msdax.json +75 -0
- package/data/hover/mysql.json +75 -0
- package/data/hover/objective-c.json +75 -0
- package/data/hover/pascal.json +75 -0
- package/data/hover/pascaligo.json +75 -0
- package/data/hover/pgsql.json +75 -0
- package/data/hover/pla.json +40 -0
- package/data/hover/postiats.json +75 -0
- package/data/hover/powerquery.json +75 -0
- package/data/hover/qsharp.json +75 -0
- package/data/hover/r.json +845 -0
- package/data/hover/razor.json +75 -0
- package/data/hover/redis.json +40 -0
- package/data/hover/redshift.json +75 -0
- package/data/hover/restructuredtext.json +75 -0
- package/data/hover/sb.json +75 -0
- package/data/hover/scala.json +209 -0
- package/data/hover/scheme.json +75 -0
- package/data/hover/scss.json +75 -0
- package/data/hover/shell.json +75 -0
- package/data/hover/sol.json +75 -0
- package/data/hover/sparql.json +75 -0
- package/data/hover/st.json +75 -0
- package/data/hover/swift.json +239 -0
- package/data/hover/systemverilog.json +75 -0
- package/data/hover/tcl.json +75 -0
- package/data/hover/twig.json +75 -0
- package/data/hover/vb.json +75 -0
- package/data/hover/wgsl.json +75 -0
- package/data/implementation/abap.json +47 -0
- package/data/implementation/apex.json +48 -0
- package/data/implementation/awk.json +34 -2
- package/data/implementation/azcli.json +26 -0
- package/data/implementation/bicep.json +48 -0
- package/data/implementation/c.json +36 -2
- package/data/implementation/caddy.json +37 -2
- package/data/implementation/cameligo.json +40 -0
- package/data/implementation/clojure.json +56 -0
- package/data/implementation/coffee.json +40 -0
- package/data/implementation/crontab.json +26 -7
- package/data/implementation/cypher.json +42 -0
- package/data/implementation/dart.json +14 -0
- package/data/implementation/docker-compose.json +37 -0
- package/data/implementation/dockerfile.json +37 -2
- package/data/implementation/doctest.json +26 -0
- package/data/implementation/dotenv.json +26 -7
- package/data/implementation/ecl.json +42 -0
- package/data/implementation/elixir.json +54 -0
- package/data/implementation/flow9.json +39 -0
- package/data/implementation/freemarker2.json +33 -0
- package/data/implementation/go.json +39 -2
- package/data/implementation/hcl.json +37 -2
- package/data/implementation/html.json +38 -7
- package/data/implementation/ini.json +26 -7
- package/data/implementation/json.json +26 -7
- package/data/implementation/julia.json +48 -0
- package/data/implementation/kotlin.json +13 -0
- package/data/implementation/less.json +40 -0
- package/data/implementation/lexon.json +33 -0
- package/data/implementation/liquid.json +40 -0
- package/data/implementation/lua.json +43 -2
- package/data/implementation/m3.json +48 -0
- package/data/implementation/makefile.json +35 -2
- package/data/implementation/markdown.json +26 -7
- package/data/implementation/mdx.json +24 -0
- package/data/implementation/mips.json +34 -0
- package/data/implementation/msdax.json +35 -0
- package/data/implementation/mysql.json +24 -0
- package/data/implementation/nginx.json +38 -2
- package/data/implementation/objective-c.json +48 -0
- package/data/implementation/pascal.json +47 -0
- package/data/implementation/pascaligo.json +40 -0
- package/data/implementation/perl.json +53 -2
- package/data/implementation/pgsql.json +24 -0
- package/data/implementation/pla.json +36 -0
- package/data/implementation/postiats.json +48 -0
- package/data/implementation/powerquery.json +42 -0
- package/data/implementation/powershell.json +41 -2
- package/data/implementation/protobuf.json +41 -2
- package/data/implementation/python.json +49 -2
- package/data/implementation/qsharp.json +49 -0
- package/data/implementation/r.json +54 -0
- package/data/implementation/razor.json +48 -0
- package/data/implementation/redis-cli.json +26 -7
- package/data/implementation/redis.json +26 -0
- package/data/implementation/redshift.json +42 -0
- package/data/implementation/restructuredtext.json +20 -0
- package/data/implementation/sb.json +27 -0
- package/data/implementation/scala.json +16 -0
- package/data/implementation/scheme.json +24 -0
- package/data/implementation/scss.json +47 -0
- package/data/implementation/shell.json +34 -0
- package/data/implementation/sol.json +47 -0
- package/data/implementation/sparql.json +26 -0
- package/data/implementation/sql.json +43 -2
- package/data/implementation/ssh_config.json +26 -7
- package/data/implementation/st.json +48 -0
- package/data/implementation/swift.json +14 -0
- package/data/implementation/systemd.json +32 -7
- package/data/implementation/systemverilog.json +48 -0
- package/data/implementation/tcl.json +56 -0
- package/data/implementation/toml.json +26 -7
- package/data/implementation/twig.json +46 -0
- package/data/implementation/vb.json +24 -0
- package/data/implementation/wgsl.json +24 -0
- package/data/implementation/xml.json +32 -7
- package/data/implementation/yaml.json +32 -7
- package/data/implementation/zsh.json +36 -2
- package/data/inlayHints/abap.json +39 -0
- package/data/inlayHints/apex.json +43 -0
- package/data/inlayHints/azcli.json +27 -0
- package/data/inlayHints/bicep.json +47 -0
- package/data/inlayHints/cameligo.json +31 -0
- package/data/inlayHints/clojure.json +51 -0
- package/data/inlayHints/coffee.json +39 -0
- package/data/inlayHints/crontab.json +27 -26
- package/data/inlayHints/cypher.json +31 -0
- package/data/inlayHints/dart.json +29 -0
- package/data/inlayHints/docker-compose.json +43 -0
- package/data/inlayHints/doctest.json +31 -0
- package/data/inlayHints/dotenv.json +35 -26
- package/data/inlayHints/ecl.json +27 -0
- package/data/inlayHints/elixir.json +55 -0
- package/data/inlayHints/flow9.json +27 -0
- package/data/inlayHints/freemarker2.json +27 -0
- package/data/inlayHints/graphql.json +43 -26
- package/data/inlayHints/html.json +27 -26
- package/data/inlayHints/ini.json +27 -26
- package/data/inlayHints/json.json +39 -26
- package/data/inlayHints/julia.json +51 -0
- package/data/inlayHints/kotlin.json +23 -0
- package/data/inlayHints/less.json +39 -0
- package/data/inlayHints/lexon.json +27 -0
- package/data/inlayHints/liquid.json +31 -0
- package/data/inlayHints/m3.json +31 -0
- package/data/inlayHints/markdown.json +27 -26
- package/data/inlayHints/mdx.json +31 -0
- package/data/inlayHints/mips.json +31 -0
- package/data/inlayHints/msdax.json +31 -0
- package/data/inlayHints/mysql.json +35 -0
- package/data/inlayHints/objective-c.json +47 -0
- package/data/inlayHints/pascal.json +39 -0
- package/data/inlayHints/pascaligo.json +27 -0
- package/data/inlayHints/pgsql.json +39 -0
- package/data/inlayHints/pla.json +27 -0
- package/data/inlayHints/postiats.json +27 -0
- package/data/inlayHints/powerquery.json +39 -0
- package/data/inlayHints/protobuf.json +27 -26
- package/data/inlayHints/qsharp.json +39 -0
- package/data/inlayHints/r.json +95 -0
- package/data/inlayHints/razor.json +39 -0
- package/data/inlayHints/redis.json +27 -0
- package/data/inlayHints/redshift.json +31 -0
- package/data/inlayHints/restructuredtext.json +27 -0
- package/data/inlayHints/sb.json +27 -0
- package/data/inlayHints/scala.json +42 -0
- package/data/inlayHints/scheme.json +51 -0
- package/data/inlayHints/scss.json +51 -0
- package/data/inlayHints/shell.json +35 -0
- package/data/inlayHints/sol.json +43 -0
- package/data/inlayHints/sparql.json +31 -0
- package/data/inlayHints/ssh_config.json +31 -26
- package/data/inlayHints/st.json +39 -0
- package/data/inlayHints/swift.json +37 -0
- package/data/inlayHints/systemd.json +39 -26
- package/data/inlayHints/systemverilog.json +35 -0
- package/data/inlayHints/tcl.json +31 -0
- package/data/inlayHints/toml.json +39 -26
- package/data/inlayHints/twig.json +39 -0
- package/data/inlayHints/vb.json +43 -0
- package/data/inlayHints/wgsl.json +39 -0
- package/data/inlayHints/xml.json +27 -26
- package/data/inlayHints/yaml.json +35 -26
- package/data/inlineCompletions/abap.json +35 -0
- package/data/inlineCompletions/apex.json +35 -0
- package/data/inlineCompletions/azcli.json +35 -0
- package/data/inlineCompletions/bicep.json +35 -0
- package/data/inlineCompletions/caddy.json +25 -1
- package/data/inlineCompletions/cameligo.json +29 -0
- package/data/inlineCompletions/clojure.json +35 -0
- package/data/inlineCompletions/coffee.json +35 -0
- package/data/inlineCompletions/crontab.json +26 -2
- package/data/inlineCompletions/cypher.json +29 -0
- package/data/inlineCompletions/dart.json +27 -0
- package/data/inlineCompletions/docker-compose.json +89 -0
- package/data/inlineCompletions/dockerfile.json +24 -0
- package/data/inlineCompletions/doctest.json +23 -0
- package/data/inlineCompletions/dotenv.json +26 -1
- package/data/inlineCompletions/ecl.json +29 -0
- package/data/inlineCompletions/elixir.json +35 -0
- package/data/inlineCompletions/flow9.json +29 -0
- package/data/inlineCompletions/freemarker2.json +29 -0
- package/data/inlineCompletions/html.json +25 -1
- package/data/inlineCompletions/ini.json +20 -1
- package/data/inlineCompletions/json.json +20 -1
- package/data/inlineCompletions/julia.json +35 -0
- package/data/inlineCompletions/kotlin.json +19 -0
- package/data/inlineCompletions/less.json +29 -0
- package/data/inlineCompletions/lexon.json +23 -0
- package/data/inlineCompletions/liquid.json +29 -0
- package/data/inlineCompletions/m3.json +29 -0
- package/data/inlineCompletions/makefile.json +21 -3
- package/data/inlineCompletions/markdown.json +32 -1
- package/data/inlineCompletions/mdx.json +29 -0
- package/data/inlineCompletions/mips.json +35 -0
- package/data/inlineCompletions/msdax.json +23 -0
- package/data/inlineCompletions/mysql.json +35 -0
- package/data/inlineCompletions/objective-c.json +35 -0
- package/data/inlineCompletions/pascal.json +35 -0
- package/data/inlineCompletions/pascaligo.json +29 -0
- package/data/inlineCompletions/pgsql.json +35 -0
- package/data/inlineCompletions/pla.json +29 -0
- package/data/inlineCompletions/postiats.json +29 -0
- package/data/inlineCompletions/powerquery.json +29 -0
- package/data/inlineCompletions/qsharp.json +35 -0
- package/data/inlineCompletions/r.json +41 -0
- package/data/inlineCompletions/razor.json +35 -0
- package/data/inlineCompletions/redis-cli.json +32 -1
- package/data/inlineCompletions/redis.json +29 -0
- package/data/inlineCompletions/redshift.json +29 -0
- package/data/inlineCompletions/restructuredtext.json +35 -0
- package/data/inlineCompletions/sb.json +35 -0
- package/data/inlineCompletions/scala.json +26 -0
- package/data/inlineCompletions/scheme.json +35 -0
- package/data/inlineCompletions/scss.json +35 -0
- package/data/inlineCompletions/shell.json +35 -0
- package/data/inlineCompletions/sol.json +35 -0
- package/data/inlineCompletions/sparql.json +35 -0
- package/data/inlineCompletions/ssh_config.json +24 -0
- package/data/inlineCompletions/st.json +35 -0
- package/data/inlineCompletions/swift.json +23 -0
- package/data/inlineCompletions/systemd.json +26 -1
- package/data/inlineCompletions/systemverilog.json +35 -0
- package/data/inlineCompletions/tcl.json +35 -0
- package/data/inlineCompletions/toml.json +26 -1
- package/data/inlineCompletions/twig.json +35 -0
- package/data/inlineCompletions/vb.json +35 -0
- package/data/inlineCompletions/wgsl.json +35 -0
- package/data/inlineCompletions/xml.json +32 -1
- package/data/inlineCompletions/yaml.json +32 -1
- package/data/links/abap.json +35 -0
- package/data/links/apex.json +25 -0
- package/data/links/awk.json +11 -1
- package/data/links/azcli.json +20 -0
- package/data/links/bicep.json +35 -0
- package/data/links/cameligo.json +20 -0
- package/data/links/clojure.json +35 -0
- package/data/links/coffee.json +30 -0
- package/data/links/crontab.json +6 -1
- package/data/links/cypher.json +20 -0
- package/data/links/dart.json +16 -0
- package/data/links/docker-compose.json +47 -0
- package/data/links/doctest.json +20 -0
- package/data/links/dotenv.json +6 -1
- package/data/links/ecl.json +25 -0
- package/data/links/elixir.json +35 -0
- package/data/links/flow9.json +15 -0
- package/data/links/freemarker2.json +35 -0
- package/data/links/graphql.json +11 -1
- package/data/links/ini.json +6 -1
- package/data/links/json.json +16 -1
- package/data/links/julia.json +25 -0
- package/data/links/kotlin.json +10 -0
- package/data/links/less.json +35 -0
- package/data/links/lexon.json +10 -0
- package/data/links/liquid.json +40 -0
- package/data/links/m3.json +20 -0
- package/data/links/mdx.json +30 -0
- package/data/links/mips.json +15 -0
- package/data/links/msdax.json +10 -0
- package/data/links/mysql.json +25 -0
- package/data/links/objective-c.json +30 -0
- package/data/links/pascal.json +30 -0
- package/data/links/pascaligo.json +20 -0
- package/data/links/pgsql.json +30 -0
- package/data/links/pla.json +10 -0
- package/data/links/postiats.json +25 -0
- package/data/links/powerquery.json +20 -0
- package/data/links/qsharp.json +20 -0
- package/data/links/r.json +20 -0
- package/data/links/razor.json +40 -0
- package/data/links/redis-cli.json +1 -1
- package/data/links/redis.json +10 -0
- package/data/links/redshift.json +25 -0
- package/data/links/restructuredtext.json +45 -0
- package/data/links/sb.json +10 -0
- package/data/links/scala.json +17 -0
- package/data/links/scheme.json +35 -0
- package/data/links/scss.json +55 -0
- package/data/links/shell.json +30 -0
- package/data/links/sol.json +30 -0
- package/data/links/sparql.json +20 -0
- package/data/links/sql.json +11 -1
- package/data/links/st.json +20 -0
- package/data/links/swift.json +13 -0
- package/data/links/systemd.json +11 -1
- package/data/links/systemverilog.json +20 -0
- package/data/links/tcl.json +25 -0
- package/data/links/toml.json +16 -1
- package/data/links/twig.json +60 -0
- package/data/links/vb.json +25 -0
- package/data/links/wgsl.json +10 -0
- package/data/links/yaml.json +26 -1
- package/data/manifest.json +3473 -1497
- package/data/references/abap.json +9 -0
- package/data/references/apex.json +8 -0
- package/data/references/azcli.json +50 -0
- package/data/references/bicep.json +86 -0
- package/data/references/cameligo.json +67 -0
- package/data/references/clojure.json +87 -0
- package/data/references/coffee.json +69 -0
- package/data/references/crontab.json +41 -5
- package/data/references/cypher.json +93 -0
- package/data/references/dart.json +15 -0
- package/data/references/docker-compose.json +42 -0
- package/data/references/dockerfile.json +86 -5
- package/data/references/doctest.json +49 -0
- package/data/references/dotenv.json +40 -5
- package/data/references/ecl.json +71 -0
- package/data/references/elixir.json +100 -0
- package/data/references/flow9.json +49 -0
- package/data/references/freemarker2.json +63 -0
- package/data/references/graphql.json +82 -5
- package/data/references/html.json +70 -5
- package/data/references/ini.json +40 -5
- package/data/references/json.json +39 -5
- package/data/references/julia.json +88 -0
- package/data/references/kotlin.json +12 -0
- package/data/references/less.json +71 -0
- package/data/references/lexon.json +67 -0
- package/data/references/liquid.json +62 -0
- package/data/references/m3.json +67 -0
- package/data/references/markdown.json +60 -5
- package/data/references/mdx.json +59 -0
- package/data/references/mips.json +48 -0
- package/data/references/msdax.json +57 -0
- package/data/references/mysql.json +95 -0
- package/data/references/nginx.json +81 -5
- package/data/references/objective-c.json +85 -0
- package/data/references/pascal.json +74 -0
- package/data/references/pascaligo.json +59 -0
- package/data/references/pgsql.json +102 -0
- package/data/references/pla.json +43 -0
- package/data/references/postiats.json +64 -0
- package/data/references/powerquery.json +68 -0
- package/data/references/protobuf.json +84 -5
- package/data/references/qsharp.json +84 -0
- package/data/references/r.json +49 -0
- package/data/references/razor.json +69 -0
- package/data/references/redis.json +70 -0
- package/data/references/redshift.json +86 -0
- package/data/references/restructuredtext.json +74 -0
- package/data/references/sb.json +80 -0
- package/data/references/scala.json +15 -0
- package/data/references/scheme.json +99 -0
- package/data/references/scss.json +82 -0
- package/data/references/shell.json +92 -0
- package/data/references/sol.json +98 -0
- package/data/references/sparql.json +92 -0
- package/data/references/ssh_config.json +65 -5
- package/data/references/st.json +71 -0
- package/data/references/swift.json +14 -0
- package/data/references/systemd.json +76 -5
- package/data/references/systemverilog.json +111 -0
- package/data/references/tcl.json +101 -0
- package/data/references/toml.json +48 -5
- package/data/references/twig.json +77 -0
- package/data/references/vb.json +106 -0
- package/data/references/wgsl.json +84 -0
- package/data/references/xml.json +71 -5
- package/data/references/yaml.json +57 -5
- package/data/typeDefinition/abap.json +18 -0
- package/data/typeDefinition/apex.json +20 -0
- package/data/typeDefinition/awk.json +35 -29
- package/data/typeDefinition/azcli.json +35 -0
- package/data/typeDefinition/bicep.json +25 -0
- package/data/typeDefinition/c.json +89 -149
- package/data/typeDefinition/caddy.json +35 -4
- package/data/typeDefinition/cameligo.json +65 -0
- package/data/typeDefinition/clojure.json +89 -0
- package/data/typeDefinition/coffee.json +75 -0
- package/data/typeDefinition/cpp.json +101 -257
- package/data/typeDefinition/crontab.json +35 -4
- package/data/typeDefinition/csharp.json +117 -251
- package/data/typeDefinition/cypher.json +61 -0
- package/data/typeDefinition/dart.json +35 -0
- package/data/typeDefinition/docker-compose.json +40 -0
- package/data/typeDefinition/dockerfile.json +40 -4
- package/data/typeDefinition/doctest.json +41 -0
- package/data/typeDefinition/dotenv.json +30 -4
- package/data/typeDefinition/ecl.json +49 -0
- package/data/typeDefinition/elixir.json +65 -0
- package/data/typeDefinition/flow9.json +37 -0
- package/data/typeDefinition/freemarker2.json +37 -0
- package/data/typeDefinition/go.json +101 -173
- package/data/typeDefinition/graphql.json +45 -35
- package/data/typeDefinition/hcl.json +55 -59
- package/data/typeDefinition/html.json +40 -4
- package/data/typeDefinition/ini.json +30 -4
- package/data/typeDefinition/java.json +99 -311
- package/data/typeDefinition/javascript.json +113 -293
- package/data/typeDefinition/json.json +35 -41
- package/data/typeDefinition/julia.json +65 -0
- package/data/typeDefinition/kotlin.json +33 -0
- package/data/typeDefinition/less.json +45 -0
- package/data/typeDefinition/lexon.json +25 -0
- package/data/typeDefinition/liquid.json +35 -0
- package/data/typeDefinition/lua.json +59 -53
- package/data/typeDefinition/m3.json +49 -0
- package/data/typeDefinition/makefile.json +35 -4
- package/data/typeDefinition/markdown.json +50 -4
- package/data/typeDefinition/mdx.json +35 -0
- package/data/typeDefinition/mips.json +45 -0
- package/data/typeDefinition/msdax.json +41 -0
- package/data/typeDefinition/mysql.json +65 -0
- package/data/typeDefinition/nginx.json +40 -4
- package/data/typeDefinition/objective-c.json +65 -0
- package/data/typeDefinition/pascal.json +65 -0
- package/data/typeDefinition/pascaligo.json +65 -0
- package/data/typeDefinition/perl.json +52 -47
- package/data/typeDefinition/pgsql.json +65 -0
- package/data/typeDefinition/php.json +77 -311
- package/data/typeDefinition/pla.json +45 -0
- package/data/typeDefinition/postiats.json +41 -0
- package/data/typeDefinition/powerquery.json +65 -0
- package/data/typeDefinition/powershell.json +70 -167
- package/data/typeDefinition/protobuf.json +75 -197
- package/data/typeDefinition/python.json +95 -293
- package/data/typeDefinition/qsharp.json +49 -0
- package/data/typeDefinition/r.json +125 -0
- package/data/typeDefinition/razor.json +45 -0
- package/data/typeDefinition/redis-cli.json +35 -59
- package/data/typeDefinition/redis.json +41 -0
- package/data/typeDefinition/redshift.json +65 -0
- package/data/typeDefinition/restructuredtext.json +35 -0
- package/data/typeDefinition/ruby.json +89 -317
- package/data/typeDefinition/rust.json +143 -521
- package/data/typeDefinition/sb.json +25 -0
- package/data/typeDefinition/scala.json +52 -0
- package/data/typeDefinition/scheme.json +71 -0
- package/data/typeDefinition/scss.json +45 -0
- package/data/typeDefinition/shell.json +40 -0
- package/data/typeDefinition/sol.json +65 -0
- package/data/typeDefinition/sparql.json +49 -0
- package/data/typeDefinition/sql.json +80 -281
- package/data/typeDefinition/ssh_config.json +35 -4
- package/data/typeDefinition/st.json +65 -0
- package/data/typeDefinition/swift.json +56 -0
- package/data/typeDefinition/systemd.json +40 -4
- package/data/typeDefinition/systemverilog.json +65 -0
- package/data/typeDefinition/tcl.json +53 -0
- package/data/typeDefinition/toml.json +45 -65
- package/data/typeDefinition/twig.json +35 -0
- package/data/typeDefinition/typescript.json +120 -425
- package/data/typeDefinition/vb.json +65 -0
- package/data/typeDefinition/wgsl.json +65 -0
- package/data/typeDefinition/xml.json +45 -4
- package/data/typeDefinition/yaml.json +55 -71
- package/data/typeDefinition/zsh.json +40 -35
- package/package.json +1 -1
|
@@ -0,0 +1,1436 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "dart",
|
|
3
|
+
"completions": [
|
|
4
|
+
{
|
|
5
|
+
"label": "abstract",
|
|
6
|
+
"kind": 17,
|
|
7
|
+
"detail": "Abstract class modifier",
|
|
8
|
+
"documentation": {"value": "```dart\nabstract class Name {\n void method();\n}\n```\nMarks a class as abstract; cannot be instantiated directly."},
|
|
9
|
+
"insertText": "abstract",
|
|
10
|
+
"insertTextRules": 4,
|
|
11
|
+
"sortText": "01_keyword_abstract"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"label": "as",
|
|
15
|
+
"kind": 17,
|
|
16
|
+
"detail": "Type cast operator",
|
|
17
|
+
"documentation": {"value": "```dart\nvar x = obj as String;\n```\nCasts an expression to a specified type."},
|
|
18
|
+
"insertText": "as",
|
|
19
|
+
"insertTextRules": 4,
|
|
20
|
+
"sortText": "01_keyword_as"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"label": "assert",
|
|
24
|
+
"kind": 17,
|
|
25
|
+
"detail": "Debug assertion",
|
|
26
|
+
"documentation": {"value": "```dart\nassert(condition, 'optional message');\n```\nAsserts a condition is true during development."},
|
|
27
|
+
"insertText": "assert(${1:condition});",
|
|
28
|
+
"insertTextRules": 4,
|
|
29
|
+
"sortText": "01_keyword_assert"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"label": "async",
|
|
33
|
+
"kind": 17,
|
|
34
|
+
"detail": "Async function modifier",
|
|
35
|
+
"documentation": {"value": "```dart\nFuture<void> fn() async {\n await someOp();\n}\n```\nMarks a function body as asynchronous."},
|
|
36
|
+
"insertText": "async",
|
|
37
|
+
"insertTextRules": 4,
|
|
38
|
+
"sortText": "01_keyword_async"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"label": "await",
|
|
42
|
+
"kind": 17,
|
|
43
|
+
"detail": "Await expression",
|
|
44
|
+
"documentation": {"value": "```dart\nvar result = await futureValue;\n```\nWaits for the result of a Future."},
|
|
45
|
+
"insertText": "await ${1:expression}",
|
|
46
|
+
"insertTextRules": 4,
|
|
47
|
+
"sortText": "01_keyword_await"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"label": "break",
|
|
51
|
+
"kind": 17,
|
|
52
|
+
"detail": "Break statement",
|
|
53
|
+
"documentation": {"value": "```dart\nfor (var i in list) {\n if (done) break;\n}\n```\nExits the nearest enclosing loop."},
|
|
54
|
+
"insertText": "break;",
|
|
55
|
+
"insertTextRules": 4,
|
|
56
|
+
"sortText": "01_keyword_break"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"label": "case",
|
|
60
|
+
"kind": 17,
|
|
61
|
+
"detail": "Switch case clause",
|
|
62
|
+
"documentation": {"value": "```dart\nswitch (value) {\n case 1:\n break;\n}\n```\nDefines a branch in a switch statement."},
|
|
63
|
+
"insertText": "case ${1:value}:",
|
|
64
|
+
"insertTextRules": 4,
|
|
65
|
+
"sortText": "01_keyword_case"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"label": "catch",
|
|
69
|
+
"kind": 17,
|
|
70
|
+
"detail": "Exception catch clause",
|
|
71
|
+
"documentation": {"value": "```dart\ntry {\n // code\n} catch (e) {\n print(e);\n}\n```\nCatches exceptions thrown in a try block."},
|
|
72
|
+
"insertText": "catch (${1:e})",
|
|
73
|
+
"insertTextRules": 4,
|
|
74
|
+
"sortText": "01_keyword_catch"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"label": "class",
|
|
78
|
+
"kind": 17,
|
|
79
|
+
"detail": "Class declaration",
|
|
80
|
+
"documentation": {"value": "```dart\nclass MyClass {\n // fields and methods\n}\n```\nDeclares a class."},
|
|
81
|
+
"insertText": "class ${1:Name} {\n $0\n}",
|
|
82
|
+
"insertTextRules": 4,
|
|
83
|
+
"sortText": "01_keyword_class"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"label": "const",
|
|
87
|
+
"kind": 17,
|
|
88
|
+
"detail": "Compile-time constant",
|
|
89
|
+
"documentation": {"value": "```dart\nconst pi = 3.14159;\nconst list = [1, 2, 3];\n```\nDeclares a compile-time constant."},
|
|
90
|
+
"insertText": "const ${1:name} = ${2:value};",
|
|
91
|
+
"insertTextRules": 4,
|
|
92
|
+
"sortText": "01_keyword_const"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"label": "continue",
|
|
96
|
+
"kind": 17,
|
|
97
|
+
"detail": "Continue statement",
|
|
98
|
+
"documentation": {"value": "```dart\nfor (var i in items) {\n if (skip) continue;\n}\n```\nSkips to the next iteration of the enclosing loop."},
|
|
99
|
+
"insertText": "continue;",
|
|
100
|
+
"insertTextRules": 4,
|
|
101
|
+
"sortText": "01_keyword_continue"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"label": "covariant",
|
|
105
|
+
"kind": 17,
|
|
106
|
+
"detail": "Covariant parameter modifier",
|
|
107
|
+
"documentation": {"value": "```dart\nvoid method(covariant num param) {}\n```\nAllows a parameter type to be overridden with a subtype."},
|
|
108
|
+
"insertText": "covariant",
|
|
109
|
+
"insertTextRules": 4,
|
|
110
|
+
"sortText": "01_keyword_covariant"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"label": "default",
|
|
114
|
+
"kind": 17,
|
|
115
|
+
"detail": "Default switch clause",
|
|
116
|
+
"documentation": {"value": "```dart\nswitch (value) {\n default:\n break;\n}\n```\nDefault branch in a switch statement."},
|
|
117
|
+
"insertText": "default:",
|
|
118
|
+
"insertTextRules": 4,
|
|
119
|
+
"sortText": "01_keyword_default"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"label": "deferred",
|
|
123
|
+
"kind": 17,
|
|
124
|
+
"detail": "Deferred import modifier",
|
|
125
|
+
"documentation": {"value": "```dart\nimport 'package:lib/lib.dart' deferred as myLib;\n```\nDefers loading of a library until it is needed."},
|
|
126
|
+
"insertText": "deferred",
|
|
127
|
+
"insertTextRules": 4,
|
|
128
|
+
"sortText": "01_keyword_deferred"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"label": "do",
|
|
132
|
+
"kind": 17,
|
|
133
|
+
"detail": "Do-while loop",
|
|
134
|
+
"documentation": {"value": "```dart\ndo {\n // body\n} while (condition);\n```\nExecutes the body at least once, then repeats while condition is true."},
|
|
135
|
+
"insertText": "do {\n $0\n} while (${1:condition});",
|
|
136
|
+
"insertTextRules": 4,
|
|
137
|
+
"sortText": "01_keyword_do"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"label": "dynamic",
|
|
141
|
+
"kind": 17,
|
|
142
|
+
"detail": "Dynamic type",
|
|
143
|
+
"documentation": {"value": "```dart\ndynamic value = 'hello';\nvalue = 42;\n```\nDisables static type checking for a variable."},
|
|
144
|
+
"insertText": "dynamic",
|
|
145
|
+
"insertTextRules": 4,
|
|
146
|
+
"sortText": "01_keyword_dynamic"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"label": "else",
|
|
150
|
+
"kind": 17,
|
|
151
|
+
"detail": "Else branch",
|
|
152
|
+
"documentation": {"value": "```dart\nif (condition) {\n // true\n} else {\n // false\n}\n```\nAlternate branch in an if statement."},
|
|
153
|
+
"insertText": "else {\n $0\n}",
|
|
154
|
+
"insertTextRules": 4,
|
|
155
|
+
"sortText": "01_keyword_else"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"label": "enum",
|
|
159
|
+
"kind": 17,
|
|
160
|
+
"detail": "Enum declaration",
|
|
161
|
+
"documentation": {"value": "```dart\nenum Color { red, green, blue }\n```\nDeclares an enumeration type."},
|
|
162
|
+
"insertText": "enum ${1:Name} {\n ${2:value1},\n ${3:value2}\n}",
|
|
163
|
+
"insertTextRules": 4,
|
|
164
|
+
"sortText": "01_keyword_enum"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"label": "export",
|
|
168
|
+
"kind": 17,
|
|
169
|
+
"detail": "Library export directive",
|
|
170
|
+
"documentation": {"value": "```dart\nexport 'src/my_lib.dart';\n```\nRe-exports a library for consumers."},
|
|
171
|
+
"insertText": "export '${1:library}';",
|
|
172
|
+
"insertTextRules": 4,
|
|
173
|
+
"sortText": "01_keyword_export"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"label": "extends",
|
|
177
|
+
"kind": 17,
|
|
178
|
+
"detail": "Class inheritance",
|
|
179
|
+
"documentation": {"value": "```dart\nclass Dog extends Animal {\n // ...\n}\n```\nInherits from a superclass."},
|
|
180
|
+
"insertText": "extends ${1:SuperClass}",
|
|
181
|
+
"insertTextRules": 4,
|
|
182
|
+
"sortText": "01_keyword_extends"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"label": "extension",
|
|
186
|
+
"kind": 17,
|
|
187
|
+
"detail": "Extension declaration",
|
|
188
|
+
"documentation": {"value": "```dart\nextension StringExt on String {\n bool get isBlank => trim().isEmpty;\n}\n```\nAdds methods to an existing type."},
|
|
189
|
+
"insertText": "extension ${1:Name} on ${2:Type} {\n $0\n}",
|
|
190
|
+
"insertTextRules": 4,
|
|
191
|
+
"sortText": "01_keyword_extension"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"label": "external",
|
|
195
|
+
"kind": 17,
|
|
196
|
+
"detail": "External function modifier",
|
|
197
|
+
"documentation": {"value": "```dart\nexternal void platformSpecificFn();\n```\nDeclares a function whose implementation is provided externally."},
|
|
198
|
+
"insertText": "external",
|
|
199
|
+
"insertTextRules": 4,
|
|
200
|
+
"sortText": "01_keyword_external"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"label": "factory",
|
|
204
|
+
"kind": 17,
|
|
205
|
+
"detail": "Factory constructor",
|
|
206
|
+
"documentation": {"value": "```dart\nclass Logger {\n factory Logger() => _instance;\n}\n```\nDeclares a constructor that doesn't always create a new instance."},
|
|
207
|
+
"insertText": "factory ${1:ClassName}(${2:params}) {\n $0\n}",
|
|
208
|
+
"insertTextRules": 4,
|
|
209
|
+
"sortText": "01_keyword_factory"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"label": "false",
|
|
213
|
+
"kind": 14,
|
|
214
|
+
"detail": "Boolean literal false",
|
|
215
|
+
"documentation": {"value": "The boolean value `false`."},
|
|
216
|
+
"insertText": "false",
|
|
217
|
+
"insertTextRules": 4,
|
|
218
|
+
"sortText": "01_keyword_false"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"label": "final",
|
|
222
|
+
"kind": 17,
|
|
223
|
+
"detail": "Final variable declaration",
|
|
224
|
+
"documentation": {"value": "```dart\nfinal name = 'Dart';\nfinal int count = 42;\n```\nDeclares a variable that can only be set once."},
|
|
225
|
+
"insertText": "final ${1:name} = ${2:value};",
|
|
226
|
+
"insertTextRules": 4,
|
|
227
|
+
"sortText": "01_keyword_final"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"label": "finally",
|
|
231
|
+
"kind": 17,
|
|
232
|
+
"detail": "Finally clause",
|
|
233
|
+
"documentation": {"value": "```dart\ntry {\n // code\n} finally {\n // always runs\n}\n```\nBlock that always executes after try/catch."},
|
|
234
|
+
"insertText": "finally {\n $0\n}",
|
|
235
|
+
"insertTextRules": 4,
|
|
236
|
+
"sortText": "01_keyword_finally"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"label": "for",
|
|
240
|
+
"kind": 17,
|
|
241
|
+
"detail": "For loop",
|
|
242
|
+
"documentation": {"value": "```dart\nfor (var i = 0; i < n; i++) {\n // body\n}\n```\nIterates with a traditional for loop."},
|
|
243
|
+
"insertText": "for (var ${1:i} = 0; ${1:i} < ${2:length}; ${1:i}++) {\n $0\n}",
|
|
244
|
+
"insertTextRules": 4,
|
|
245
|
+
"sortText": "01_keyword_for"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"label": "Function",
|
|
249
|
+
"kind": 5,
|
|
250
|
+
"detail": "Function type",
|
|
251
|
+
"documentation": {"value": "```dart\nFunction callback;\nvoid Function(int) handler;\n```\nThe base type for all function types in Dart."},
|
|
252
|
+
"insertText": "Function",
|
|
253
|
+
"insertTextRules": 4,
|
|
254
|
+
"sortText": "02_type_Function"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"label": "get",
|
|
258
|
+
"kind": 17,
|
|
259
|
+
"detail": "Getter declaration",
|
|
260
|
+
"documentation": {"value": "```dart\nString get name => _name;\n```\nDeclares a getter accessor."},
|
|
261
|
+
"insertText": "${1:Type} get ${2:name} => ${3:value};",
|
|
262
|
+
"insertTextRules": 4,
|
|
263
|
+
"sortText": "01_keyword_get"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"label": "hide",
|
|
267
|
+
"kind": 17,
|
|
268
|
+
"detail": "Import combinator",
|
|
269
|
+
"documentation": {"value": "```dart\nimport 'lib.dart' hide Foo;\n```\nHides specific names from an import."},
|
|
270
|
+
"insertText": "hide ${1:name}",
|
|
271
|
+
"insertTextRules": 4,
|
|
272
|
+
"sortText": "01_keyword_hide"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"label": "if",
|
|
276
|
+
"kind": 17,
|
|
277
|
+
"detail": "If statement",
|
|
278
|
+
"documentation": {"value": "```dart\nif (condition) {\n // true branch\n}\n```\nConditional execution."},
|
|
279
|
+
"insertText": "if (${1:condition}) {\n $0\n}",
|
|
280
|
+
"insertTextRules": 4,
|
|
281
|
+
"sortText": "01_keyword_if"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"label": "implements",
|
|
285
|
+
"kind": 17,
|
|
286
|
+
"detail": "Interface implementation",
|
|
287
|
+
"documentation": {"value": "```dart\nclass MyClass implements MyInterface {\n // ...\n}\n```\nDeclares that a class implements an interface."},
|
|
288
|
+
"insertText": "implements ${1:Interface}",
|
|
289
|
+
"insertTextRules": 4,
|
|
290
|
+
"sortText": "01_keyword_implements"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"label": "import",
|
|
294
|
+
"kind": 17,
|
|
295
|
+
"detail": "Import directive",
|
|
296
|
+
"documentation": {"value": "```dart\nimport 'dart:async';\nimport 'package:flutter/material.dart';\n```\nImports a library."},
|
|
297
|
+
"insertText": "import '${1:library}';",
|
|
298
|
+
"insertTextRules": 4,
|
|
299
|
+
"sortText": "01_keyword_import"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"label": "in",
|
|
303
|
+
"kind": 17,
|
|
304
|
+
"detail": "For-in iteration keyword",
|
|
305
|
+
"documentation": {"value": "```dart\nfor (var item in list) {}\n```\nIterates over elements of an Iterable."},
|
|
306
|
+
"insertText": "in",
|
|
307
|
+
"insertTextRules": 4,
|
|
308
|
+
"sortText": "01_keyword_in"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"label": "interface",
|
|
312
|
+
"kind": 17,
|
|
313
|
+
"detail": "Interface class modifier",
|
|
314
|
+
"documentation": {"value": "```dart\ninterface class Describable {\n void describe();\n}\n```\nDeclares a class that can only be implemented, not extended."},
|
|
315
|
+
"insertText": "interface class ${1:Name} {\n $0\n}",
|
|
316
|
+
"insertTextRules": 4,
|
|
317
|
+
"sortText": "01_keyword_interface"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"label": "is",
|
|
321
|
+
"kind": 17,
|
|
322
|
+
"detail": "Type test operator",
|
|
323
|
+
"documentation": {"value": "```dart\nif (obj is String) {\n print(obj.length);\n}\n```\nTests if an object is of a given type with automatic promotion."},
|
|
324
|
+
"insertText": "is ${1:Type}",
|
|
325
|
+
"insertTextRules": 4,
|
|
326
|
+
"sortText": "01_keyword_is"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"label": "late",
|
|
330
|
+
"kind": 17,
|
|
331
|
+
"detail": "Late variable modifier",
|
|
332
|
+
"documentation": {"value": "```dart\nlate String name;\nlate final int count = computeCount();\n```\nDeclares a variable initialized lazily."},
|
|
333
|
+
"insertText": "late ${1:Type} ${2:name};",
|
|
334
|
+
"insertTextRules": 4,
|
|
335
|
+
"sortText": "01_keyword_late"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"label": "library",
|
|
339
|
+
"kind": 17,
|
|
340
|
+
"detail": "Library directive",
|
|
341
|
+
"documentation": {"value": "```dart\nlibrary my_library;\n```\nDeclares a library name."},
|
|
342
|
+
"insertText": "library ${1:name};",
|
|
343
|
+
"insertTextRules": 4,
|
|
344
|
+
"sortText": "01_keyword_library"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"label": "mixin",
|
|
348
|
+
"kind": 17,
|
|
349
|
+
"detail": "Mixin declaration",
|
|
350
|
+
"documentation": {"value": "```dart\nmixin Flyable {\n void fly() => print('Flying!');\n}\n```\nDeclares a mixin that can be applied to classes."},
|
|
351
|
+
"insertText": "mixin ${1:Name} {\n $0\n}",
|
|
352
|
+
"insertTextRules": 4,
|
|
353
|
+
"sortText": "01_keyword_mixin"
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"label": "new",
|
|
357
|
+
"kind": 17,
|
|
358
|
+
"detail": "Object creation keyword",
|
|
359
|
+
"documentation": {"value": "```dart\nvar obj = new MyClass();\n```\nCreates an instance (optional in Dart 2+)."},
|
|
360
|
+
"insertText": "new ${1:ClassName}(${2:args})",
|
|
361
|
+
"insertTextRules": 4,
|
|
362
|
+
"sortText": "01_keyword_new"
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"label": "null",
|
|
366
|
+
"kind": 14,
|
|
367
|
+
"detail": "Null literal",
|
|
368
|
+
"documentation": {"value": "The null value representing the absence of a value."},
|
|
369
|
+
"insertText": "null",
|
|
370
|
+
"insertTextRules": 4,
|
|
371
|
+
"sortText": "01_keyword_null"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"label": "on",
|
|
375
|
+
"kind": 17,
|
|
376
|
+
"detail": "Exception type / mixin constraint",
|
|
377
|
+
"documentation": {"value": "```dart\ntry { } on FormatException { }\nmixin M on S { }\n```\nSpecifies exception type in catch or mixin superclass constraint."},
|
|
378
|
+
"insertText": "on ${1:Type}",
|
|
379
|
+
"insertTextRules": 4,
|
|
380
|
+
"sortText": "01_keyword_on"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"label": "operator",
|
|
384
|
+
"kind": 17,
|
|
385
|
+
"detail": "Operator overload",
|
|
386
|
+
"documentation": {"value": "```dart\nPoint operator +(Point other) => Point(x + other.x, y + other.y);\n```\nDeclares an operator overload."},
|
|
387
|
+
"insertText": "operator ${1:op}(${2:params})",
|
|
388
|
+
"insertTextRules": 4,
|
|
389
|
+
"sortText": "01_keyword_operator"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"label": "part",
|
|
393
|
+
"kind": 17,
|
|
394
|
+
"detail": "Part directive",
|
|
395
|
+
"documentation": {"value": "```dart\npart 'src/detail.dart';\npart of 'main.dart';\n```\nSplits a library into multiple files."},
|
|
396
|
+
"insertText": "part '${1:file}';",
|
|
397
|
+
"insertTextRules": 4,
|
|
398
|
+
"sortText": "01_keyword_part"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"label": "required",
|
|
402
|
+
"kind": 17,
|
|
403
|
+
"detail": "Required named parameter",
|
|
404
|
+
"documentation": {"value": "```dart\nvoid fn({required String name}) {}\n```\nMarks a named parameter as required."},
|
|
405
|
+
"insertText": "required",
|
|
406
|
+
"insertTextRules": 4,
|
|
407
|
+
"sortText": "01_keyword_required"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"label": "rethrow",
|
|
411
|
+
"kind": 17,
|
|
412
|
+
"detail": "Rethrow exception",
|
|
413
|
+
"documentation": {"value": "```dart\ncatch (e) {\n log(e);\n rethrow;\n}\n```\nRethrows the current exception."},
|
|
414
|
+
"insertText": "rethrow;",
|
|
415
|
+
"insertTextRules": 4,
|
|
416
|
+
"sortText": "01_keyword_rethrow"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"label": "return",
|
|
420
|
+
"kind": 17,
|
|
421
|
+
"detail": "Return statement",
|
|
422
|
+
"documentation": {"value": "```dart\nreturn value;\n```\nReturns a value from a function."},
|
|
423
|
+
"insertText": "return ${1:value};",
|
|
424
|
+
"insertTextRules": 4,
|
|
425
|
+
"sortText": "01_keyword_return"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"label": "sealed",
|
|
429
|
+
"kind": 17,
|
|
430
|
+
"detail": "Sealed class modifier",
|
|
431
|
+
"documentation": {"value": "```dart\nsealed class Shape {}\nclass Circle extends Shape {}\n```\nDeclares a sealed class; subclasses must be in the same library."},
|
|
432
|
+
"insertText": "sealed class ${1:Name} {\n $0\n}",
|
|
433
|
+
"insertTextRules": 4,
|
|
434
|
+
"sortText": "01_keyword_sealed"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"label": "set",
|
|
438
|
+
"kind": 17,
|
|
439
|
+
"detail": "Setter declaration",
|
|
440
|
+
"documentation": {"value": "```dart\nset name(String value) => _name = value;\n```\nDeclares a setter accessor."},
|
|
441
|
+
"insertText": "set ${1:name}(${2:Type} ${3:value}) => ${4:_field} = ${3:value};",
|
|
442
|
+
"insertTextRules": 4,
|
|
443
|
+
"sortText": "01_keyword_set"
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"label": "show",
|
|
447
|
+
"kind": 17,
|
|
448
|
+
"detail": "Import combinator",
|
|
449
|
+
"documentation": {"value": "```dart\nimport 'lib.dart' show Foo, Bar;\n```\nImports only specific names from a library."},
|
|
450
|
+
"insertText": "show ${1:name}",
|
|
451
|
+
"insertTextRules": 4,
|
|
452
|
+
"sortText": "01_keyword_show"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"label": "static",
|
|
456
|
+
"kind": 17,
|
|
457
|
+
"detail": "Static member modifier",
|
|
458
|
+
"documentation": {"value": "```dart\nclass MyClass {\n static int count = 0;\n static void reset() => count = 0;\n}\n```\nDeclares a static class member."},
|
|
459
|
+
"insertText": "static",
|
|
460
|
+
"insertTextRules": 4,
|
|
461
|
+
"sortText": "01_keyword_static"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"label": "super",
|
|
465
|
+
"kind": 17,
|
|
466
|
+
"detail": "Superclass reference",
|
|
467
|
+
"documentation": {"value": "```dart\nclass Child extends Parent {\n Child() : super();\n}\n```\nRefers to the superclass."},
|
|
468
|
+
"insertText": "super",
|
|
469
|
+
"insertTextRules": 4,
|
|
470
|
+
"sortText": "01_keyword_super"
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"label": "switch",
|
|
474
|
+
"kind": 17,
|
|
475
|
+
"detail": "Switch statement",
|
|
476
|
+
"documentation": {"value": "```dart\nswitch (value) {\n case 1: break;\n default: break;\n}\n```\nMulti-way branch on a value."},
|
|
477
|
+
"insertText": "switch (${1:value}) {\n case ${2:pattern}:\n $0\n break;\n}",
|
|
478
|
+
"insertTextRules": 4,
|
|
479
|
+
"sortText": "01_keyword_switch"
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"label": "sync",
|
|
483
|
+
"kind": 17,
|
|
484
|
+
"detail": "Synchronous generator modifier",
|
|
485
|
+
"documentation": {"value": "```dart\nIterable<int> gen() sync* {\n yield 1;\n}\n```\nMarks a function as a synchronous generator."},
|
|
486
|
+
"insertText": "sync*",
|
|
487
|
+
"insertTextRules": 4,
|
|
488
|
+
"sortText": "01_keyword_sync"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"label": "this",
|
|
492
|
+
"kind": 17,
|
|
493
|
+
"detail": "Current instance reference",
|
|
494
|
+
"documentation": {"value": "```dart\nclass Point {\n Point(this.x, this.y);\n}\n```\nRefers to the current instance."},
|
|
495
|
+
"insertText": "this",
|
|
496
|
+
"insertTextRules": 4,
|
|
497
|
+
"sortText": "01_keyword_this"
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"label": "throw",
|
|
501
|
+
"kind": 17,
|
|
502
|
+
"detail": "Throw exception",
|
|
503
|
+
"documentation": {"value": "```dart\nthrow FormatException('Invalid input');\n```\nThrows an exception."},
|
|
504
|
+
"insertText": "throw ${1:Exception}('${2:message}');",
|
|
505
|
+
"insertTextRules": 4,
|
|
506
|
+
"sortText": "01_keyword_throw"
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"label": "true",
|
|
510
|
+
"kind": 14,
|
|
511
|
+
"detail": "Boolean literal true",
|
|
512
|
+
"documentation": {"value": "The boolean value `true`."},
|
|
513
|
+
"insertText": "true",
|
|
514
|
+
"insertTextRules": 4,
|
|
515
|
+
"sortText": "01_keyword_true"
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"label": "try",
|
|
519
|
+
"kind": 17,
|
|
520
|
+
"detail": "Try block",
|
|
521
|
+
"documentation": {"value": "```dart\ntry {\n // code\n} catch (e) {\n // handle\n}\n```\nBegins an exception handling block."},
|
|
522
|
+
"insertText": "try {\n $0\n} catch (${1:e}) {\n ${2:print(e);}\n}",
|
|
523
|
+
"insertTextRules": 4,
|
|
524
|
+
"sortText": "01_keyword_try"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"label": "typedef",
|
|
528
|
+
"kind": 17,
|
|
529
|
+
"detail": "Type alias",
|
|
530
|
+
"documentation": {"value": "```dart\ntypedef IntList = List<int>;\ntypedef Compare<T> = int Function(T a, T b);\n```\nCreates a type alias."},
|
|
531
|
+
"insertText": "typedef ${1:Name} = ${2:Type};",
|
|
532
|
+
"insertTextRules": 4,
|
|
533
|
+
"sortText": "01_keyword_typedef"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"label": "var",
|
|
537
|
+
"kind": 17,
|
|
538
|
+
"detail": "Variable declaration",
|
|
539
|
+
"documentation": {"value": "```dart\nvar name = 'Dart';\n```\nDeclares a variable with type inference."},
|
|
540
|
+
"insertText": "var ${1:name} = ${2:value};",
|
|
541
|
+
"insertTextRules": 4,
|
|
542
|
+
"sortText": "01_keyword_var"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"label": "void",
|
|
546
|
+
"kind": 17,
|
|
547
|
+
"detail": "Void return type",
|
|
548
|
+
"documentation": {"value": "```dart\nvoid main() {}\n```\nIndicates a function returns no value."},
|
|
549
|
+
"insertText": "void",
|
|
550
|
+
"insertTextRules": 4,
|
|
551
|
+
"sortText": "01_keyword_void"
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"label": "when",
|
|
555
|
+
"kind": 17,
|
|
556
|
+
"detail": "Guard clause in patterns",
|
|
557
|
+
"documentation": {"value": "```dart\nswitch (obj) {\n case int n when n > 0:\n print('positive');\n}\n```\nAdds a guard condition to a pattern case."},
|
|
558
|
+
"insertText": "when ${1:condition}",
|
|
559
|
+
"insertTextRules": 4,
|
|
560
|
+
"sortText": "01_keyword_when"
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"label": "while",
|
|
564
|
+
"kind": 17,
|
|
565
|
+
"detail": "While loop",
|
|
566
|
+
"documentation": {"value": "```dart\nwhile (condition) {\n // body\n}\n```\nRepeats while condition is true."},
|
|
567
|
+
"insertText": "while (${1:condition}) {\n $0\n}",
|
|
568
|
+
"insertTextRules": 4,
|
|
569
|
+
"sortText": "01_keyword_while"
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"label": "with",
|
|
573
|
+
"kind": 17,
|
|
574
|
+
"detail": "Mixin application",
|
|
575
|
+
"documentation": {"value": "```dart\nclass MyClass extends Base with Mixin1, Mixin2 {}\n```\nApplies mixins to a class."},
|
|
576
|
+
"insertText": "with ${1:Mixin}",
|
|
577
|
+
"insertTextRules": 4,
|
|
578
|
+
"sortText": "01_keyword_with"
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
"label": "yield",
|
|
582
|
+
"kind": 17,
|
|
583
|
+
"detail": "Generator yield",
|
|
584
|
+
"documentation": {"value": "```dart\nIterable<int> count(int n) sync* {\n for (var i = 0; i < n; i++) yield i;\n}\n```\nYields a value from a generator function."},
|
|
585
|
+
"insertText": "yield ${1:value};",
|
|
586
|
+
"insertTextRules": 4,
|
|
587
|
+
"sortText": "01_keyword_yield"
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"label": "print",
|
|
591
|
+
"kind": 1,
|
|
592
|
+
"detail": "Print to console",
|
|
593
|
+
"documentation": {"value": "```dart\nvoid print(Object? object)\n```\nPrints an object to the console."},
|
|
594
|
+
"insertText": "print(${1:object});",
|
|
595
|
+
"insertTextRules": 4,
|
|
596
|
+
"sortText": "03_function_print"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"label": "debugPrint",
|
|
600
|
+
"kind": 1,
|
|
601
|
+
"detail": "Debug print (throttled)",
|
|
602
|
+
"documentation": {"value": "```dart\nvoid debugPrint(String? message, {int? wrapWidth})\n```\nPrints a message with throttling to avoid dropped output."},
|
|
603
|
+
"insertText": "debugPrint(${1:message});",
|
|
604
|
+
"insertTextRules": 4,
|
|
605
|
+
"sortText": "03_function_debugPrint"
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"label": "main",
|
|
609
|
+
"kind": 1,
|
|
610
|
+
"detail": "Application entry point",
|
|
611
|
+
"documentation": {"value": "```dart\nvoid main() {\n // entry point\n}\n```\nThe top-level entry point for a Dart program."},
|
|
612
|
+
"insertText": "void main() {\n $0\n}",
|
|
613
|
+
"insertTextRules": 4,
|
|
614
|
+
"sortText": "03_function_main"
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"label": "Future.delayed",
|
|
618
|
+
"kind": 1,
|
|
619
|
+
"detail": "Create a delayed Future",
|
|
620
|
+
"documentation": {"value": "```dart\nFuture.delayed(Duration(seconds: 1), () => 'done');\n```\nCreates a Future that completes after a delay."},
|
|
621
|
+
"insertText": "Future.delayed(Duration(${1:seconds: 1}), () {\n $0\n});",
|
|
622
|
+
"insertTextRules": 4,
|
|
623
|
+
"sortText": "03_function_Future_delayed"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"label": "Stream",
|
|
627
|
+
"kind": 5,
|
|
628
|
+
"detail": "Asynchronous data stream",
|
|
629
|
+
"documentation": {"value": "```dart\nStream<int> countStream(int n) async* {\n for (var i = 0; i < n; i++) yield i;\n}\n```\nA source of asynchronous data events."},
|
|
630
|
+
"insertText": "Stream<${1:Type}>",
|
|
631
|
+
"insertTextRules": 4,
|
|
632
|
+
"sortText": "02_type_Stream"
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"label": "compute",
|
|
636
|
+
"kind": 1,
|
|
637
|
+
"detail": "Run function in isolate",
|
|
638
|
+
"documentation": {"value": "```dart\nfinal result = await compute(heavyTask, input);\n```\nSpawns an isolate to run a function with a message."},
|
|
639
|
+
"insertText": "compute(${1:callback}, ${2:message})",
|
|
640
|
+
"insertTextRules": 4,
|
|
641
|
+
"sortText": "03_function_compute"
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"label": "runApp",
|
|
645
|
+
"kind": 1,
|
|
646
|
+
"detail": "Flutter app entry point",
|
|
647
|
+
"documentation": {"value": "```dart\nvoid main() {\n runApp(const MyApp());\n}\n```\nInflates the given widget and attaches it to the screen."},
|
|
648
|
+
"insertText": "runApp(${1:widget});",
|
|
649
|
+
"insertTextRules": 4,
|
|
650
|
+
"sortText": "03_function_runApp"
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"label": "int",
|
|
654
|
+
"kind": 5,
|
|
655
|
+
"detail": "Integer type",
|
|
656
|
+
"documentation": {"value": "```dart\nint count = 42;\n```\nArbitrary-precision integer (fixed 64-bit on native, arbitrary on web)."},
|
|
657
|
+
"insertText": "int",
|
|
658
|
+
"insertTextRules": 4,
|
|
659
|
+
"sortText": "02_type_int"
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"label": "double",
|
|
663
|
+
"kind": 5,
|
|
664
|
+
"detail": "Double-precision floating point",
|
|
665
|
+
"documentation": {"value": "```dart\ndouble pi = 3.14159;\n```\n64-bit double-precision floating-point number."},
|
|
666
|
+
"insertText": "double",
|
|
667
|
+
"insertTextRules": 4,
|
|
668
|
+
"sortText": "02_type_double"
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"label": "num",
|
|
672
|
+
"kind": 5,
|
|
673
|
+
"detail": "Numeric type (int or double)",
|
|
674
|
+
"documentation": {"value": "```dart\nnum value = 42;\nvalue = 3.14;\n```\nSupertype of int and double."},
|
|
675
|
+
"insertText": "num",
|
|
676
|
+
"insertTextRules": 4,
|
|
677
|
+
"sortText": "02_type_num"
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"label": "String",
|
|
681
|
+
"kind": 5,
|
|
682
|
+
"detail": "String type",
|
|
683
|
+
"documentation": {"value": "```dart\nString greeting = 'Hello, Dart!';\n```\nA sequence of UTF-16 code units."},
|
|
684
|
+
"insertText": "String",
|
|
685
|
+
"insertTextRules": 4,
|
|
686
|
+
"sortText": "02_type_String"
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"label": "bool",
|
|
690
|
+
"kind": 5,
|
|
691
|
+
"detail": "Boolean type",
|
|
692
|
+
"documentation": {"value": "```dart\nbool isReady = true;\n```\nRepresents true or false values."},
|
|
693
|
+
"insertText": "bool",
|
|
694
|
+
"insertTextRules": 4,
|
|
695
|
+
"sortText": "02_type_bool"
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"label": "List",
|
|
699
|
+
"kind": 5,
|
|
700
|
+
"detail": "Ordered collection",
|
|
701
|
+
"documentation": {"value": "```dart\nList<int> numbers = [1, 2, 3];\n```\nAn indexable collection of objects with a length."},
|
|
702
|
+
"insertText": "List<${1:Type}>",
|
|
703
|
+
"insertTextRules": 4,
|
|
704
|
+
"sortText": "02_type_List"
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"label": "Map",
|
|
708
|
+
"kind": 5,
|
|
709
|
+
"detail": "Key-value collection",
|
|
710
|
+
"documentation": {"value": "```dart\nMap<String, int> ages = {'Alice': 30};\n```\nA collection of key-value pairs."},
|
|
711
|
+
"insertText": "Map<${1:Key}, ${2:Value}>",
|
|
712
|
+
"insertTextRules": 4,
|
|
713
|
+
"sortText": "02_type_Map"
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"label": "Set",
|
|
717
|
+
"kind": 5,
|
|
718
|
+
"detail": "Unique element collection",
|
|
719
|
+
"documentation": {"value": "```dart\nSet<int> unique = {1, 2, 3};\n```\nA collection of unique objects."},
|
|
720
|
+
"insertText": "Set<${1:Type}>",
|
|
721
|
+
"insertTextRules": 4,
|
|
722
|
+
"sortText": "02_type_Set"
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"label": "Object",
|
|
726
|
+
"kind": 5,
|
|
727
|
+
"detail": "Root class of all objects",
|
|
728
|
+
"documentation": {"value": "```dart\nObject obj = 'hello';\n```\nThe base class for all Dart objects (non-nullable)."},
|
|
729
|
+
"insertText": "Object",
|
|
730
|
+
"insertTextRules": 4,
|
|
731
|
+
"sortText": "02_type_Object"
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"label": "Null",
|
|
735
|
+
"kind": 5,
|
|
736
|
+
"detail": "Null type",
|
|
737
|
+
"documentation": {"value": "The type whose only value is `null`. Subtype of every nullable type."},
|
|
738
|
+
"insertText": "Null",
|
|
739
|
+
"insertTextRules": 4,
|
|
740
|
+
"sortText": "02_type_Null"
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"label": "Never",
|
|
744
|
+
"kind": 5,
|
|
745
|
+
"detail": "Bottom type",
|
|
746
|
+
"documentation": {"value": "```dart\nNever fail(String msg) => throw Exception(msg);\n```\nA type that no value can have; used for functions that never return."},
|
|
747
|
+
"insertText": "Never",
|
|
748
|
+
"insertTextRules": 4,
|
|
749
|
+
"sortText": "02_type_Never"
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"label": "Future",
|
|
753
|
+
"kind": 5,
|
|
754
|
+
"detail": "Asynchronous computation",
|
|
755
|
+
"documentation": {"value": "```dart\nFuture<String> fetchData() async {\n return 'data';\n}\n```\nRepresents a potential value or error available in the future."},
|
|
756
|
+
"insertText": "Future<${1:Type}>",
|
|
757
|
+
"insertTextRules": 4,
|
|
758
|
+
"sortText": "02_type_Future"
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
"label": "Iterable",
|
|
762
|
+
"kind": 5,
|
|
763
|
+
"detail": "Iterable collection",
|
|
764
|
+
"documentation": {"value": "```dart\nIterable<int> naturals = Iterable.generate(10, (i) => i);\n```\nA collection of values that can be iterated."},
|
|
765
|
+
"insertText": "Iterable<${1:Type}>",
|
|
766
|
+
"insertTextRules": 4,
|
|
767
|
+
"sortText": "02_type_Iterable"
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
"label": "Duration",
|
|
771
|
+
"kind": 5,
|
|
772
|
+
"detail": "Time duration",
|
|
773
|
+
"documentation": {"value": "```dart\nconst timeout = Duration(seconds: 30);\n```\nRepresents a span of time."},
|
|
774
|
+
"insertText": "Duration(${1:seconds: 1})",
|
|
775
|
+
"insertTextRules": 4,
|
|
776
|
+
"sortText": "02_type_Duration"
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"label": "DateTime",
|
|
780
|
+
"kind": 5,
|
|
781
|
+
"detail": "Date and time",
|
|
782
|
+
"documentation": {"value": "```dart\nvar now = DateTime.now();\n```\nAn instant in time, with date and time-of-day components."},
|
|
783
|
+
"insertText": "DateTime.${1:now}()",
|
|
784
|
+
"insertTextRules": 4,
|
|
785
|
+
"sortText": "02_type_DateTime"
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"label": "Uri",
|
|
789
|
+
"kind": 5,
|
|
790
|
+
"detail": "URI type",
|
|
791
|
+
"documentation": {"value": "```dart\nvar uri = Uri.parse('https://dart.dev');\n```\nA parsed URI such as a URL."},
|
|
792
|
+
"insertText": "Uri.parse('${1:url}')",
|
|
793
|
+
"insertTextRules": 4,
|
|
794
|
+
"sortText": "02_type_Uri"
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"label": "RegExp",
|
|
798
|
+
"kind": 5,
|
|
799
|
+
"detail": "Regular expression",
|
|
800
|
+
"documentation": {"value": "```dart\nvar pattern = RegExp(r'\\d+');\n```\nA compiled regular expression pattern."},
|
|
801
|
+
"insertText": "RegExp(r'${1:pattern}')",
|
|
802
|
+
"insertTextRules": 4,
|
|
803
|
+
"sortText": "02_type_RegExp"
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
"label": "Symbol",
|
|
807
|
+
"kind": 5,
|
|
808
|
+
"detail": "Symbol type",
|
|
809
|
+
"documentation": {"value": "```dart\nvar s = #mySymbol;\n```\nRepresents an operator or identifier declared in a Dart program."},
|
|
810
|
+
"insertText": "Symbol",
|
|
811
|
+
"insertTextRules": 4,
|
|
812
|
+
"sortText": "02_type_Symbol"
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
"label": "Type",
|
|
816
|
+
"kind": 5,
|
|
817
|
+
"detail": "Runtime type representation",
|
|
818
|
+
"documentation": {"value": "```dart\nType t = String;\nprint(t); // String\n```\nRuntime representation of a type."},
|
|
819
|
+
"insertText": "Type",
|
|
820
|
+
"insertTextRules": 4,
|
|
821
|
+
"sortText": "02_type_Type"
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
"label": "BigInt",
|
|
825
|
+
"kind": 5,
|
|
826
|
+
"detail": "Arbitrary precision integer",
|
|
827
|
+
"documentation": {"value": "```dart\nvar big = BigInt.parse('123456789012345678901234567890');\n```\nArbitrary precision integer for very large numbers."},
|
|
828
|
+
"insertText": "BigInt.${1:from}(${2:value})",
|
|
829
|
+
"insertTextRules": 4,
|
|
830
|
+
"sortText": "02_type_BigInt"
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
"label": "Completer",
|
|
834
|
+
"kind": 5,
|
|
835
|
+
"detail": "Future completion controller",
|
|
836
|
+
"documentation": {"value": "```dart\nvar completer = Completer<String>();\ncompleter.complete('done');\nvar result = await completer.future;\n```\nProduces Future objects and completes them later."},
|
|
837
|
+
"insertText": "Completer<${1:Type}>()",
|
|
838
|
+
"insertTextRules": 4,
|
|
839
|
+
"sortText": "02_type_Completer"
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"label": "Timer",
|
|
843
|
+
"kind": 5,
|
|
844
|
+
"detail": "Countdown timer",
|
|
845
|
+
"documentation": {"value": "```dart\nTimer(Duration(seconds: 1), () => print('tick'));\nTimer.periodic(Duration(seconds: 1), (t) => print('tick'));\n```\nA timer that fires a callback after a duration."},
|
|
846
|
+
"insertText": "Timer(Duration(${1:seconds: 1}), () {\n $0\n});",
|
|
847
|
+
"insertTextRules": 4,
|
|
848
|
+
"sortText": "02_type_Timer"
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
"label": "Record",
|
|
852
|
+
"kind": 5,
|
|
853
|
+
"detail": "Record type (Dart 3)",
|
|
854
|
+
"documentation": {"value": "```dart\n(int, String) pair = (1, 'hello');\n({int x, int y}) point = (x: 1, y: 2);\n```\nAn anonymous immutable aggregate type."},
|
|
855
|
+
"insertText": "(${1:int}, ${2:String})",
|
|
856
|
+
"insertTextRules": 4,
|
|
857
|
+
"sortText": "02_type_Record"
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
"label": "Pattern",
|
|
861
|
+
"kind": 5,
|
|
862
|
+
"detail": "Pattern matching interface",
|
|
863
|
+
"documentation": {"value": "```dart\nPattern pat = 'hello';\nbool matches = pat.allMatches(input).isNotEmpty;\n```\nInterface implemented by String and RegExp for pattern matching."},
|
|
864
|
+
"insertText": "Pattern",
|
|
865
|
+
"insertTextRules": 4,
|
|
866
|
+
"sortText": "02_type_Pattern"
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
"label": "StatelessWidget",
|
|
870
|
+
"kind": 5,
|
|
871
|
+
"detail": "Flutter stateless widget",
|
|
872
|
+
"documentation": {"value": "```dart\nclass MyWidget extends StatelessWidget {\n const MyWidget({super.key});\n @override\n Widget build(BuildContext context) {\n return Container();\n }\n}\n```\nA widget that does not require mutable state."},
|
|
873
|
+
"insertText": "StatelessWidget",
|
|
874
|
+
"insertTextRules": 4,
|
|
875
|
+
"sortText": "04_flutter_StatelessWidget"
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
"label": "StatefulWidget",
|
|
879
|
+
"kind": 5,
|
|
880
|
+
"detail": "Flutter stateful widget",
|
|
881
|
+
"documentation": {"value": "```dart\nclass MyWidget extends StatefulWidget {\n const MyWidget({super.key});\n @override\n State<MyWidget> createState() => _MyWidgetState();\n}\n```\nA widget that has mutable state."},
|
|
882
|
+
"insertText": "StatefulWidget",
|
|
883
|
+
"insertTextRules": 4,
|
|
884
|
+
"sortText": "04_flutter_StatefulWidget"
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"label": "Scaffold",
|
|
888
|
+
"kind": 5,
|
|
889
|
+
"detail": "Material Design scaffold",
|
|
890
|
+
"documentation": {"value": "```dart\nScaffold(\n appBar: AppBar(title: Text('Title')),\n body: Center(child: Text('Hello')),\n)\n```\nImplements the basic Material Design layout structure."},
|
|
891
|
+
"insertText": "Scaffold(\n appBar: AppBar(title: Text('${1:Title}')),\n body: ${2:Container()},\n)",
|
|
892
|
+
"insertTextRules": 4,
|
|
893
|
+
"sortText": "04_flutter_Scaffold"
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
"label": "AppBar",
|
|
897
|
+
"kind": 5,
|
|
898
|
+
"detail": "Material app bar",
|
|
899
|
+
"documentation": {"value": "```dart\nAppBar(title: Text('My App'))\n```\nA Material Design app bar."},
|
|
900
|
+
"insertText": "AppBar(title: Text('${1:Title}'))",
|
|
901
|
+
"insertTextRules": 4,
|
|
902
|
+
"sortText": "04_flutter_AppBar"
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"label": "Container",
|
|
906
|
+
"kind": 5,
|
|
907
|
+
"detail": "Flutter container widget",
|
|
908
|
+
"documentation": {"value": "```dart\nContainer(\n padding: EdgeInsets.all(8),\n child: Text('Hello'),\n)\n```\nA convenience widget combining painting, positioning, and sizing."},
|
|
909
|
+
"insertText": "Container(\n ${1:child: $0},\n)",
|
|
910
|
+
"insertTextRules": 4,
|
|
911
|
+
"sortText": "04_flutter_Container"
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
"label": "Row",
|
|
915
|
+
"kind": 5,
|
|
916
|
+
"detail": "Horizontal layout widget",
|
|
917
|
+
"documentation": {"value": "```dart\nRow(children: [Text('A'), Text('B')])\n```\nLays out children horizontally."},
|
|
918
|
+
"insertText": "Row(\n children: [\n $0\n ],\n)",
|
|
919
|
+
"insertTextRules": 4,
|
|
920
|
+
"sortText": "04_flutter_Row"
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
"label": "Column",
|
|
924
|
+
"kind": 5,
|
|
925
|
+
"detail": "Vertical layout widget",
|
|
926
|
+
"documentation": {"value": "```dart\nColumn(children: [Text('A'), Text('B')])\n```\nLays out children vertically."},
|
|
927
|
+
"insertText": "Column(\n children: [\n $0\n ],\n)",
|
|
928
|
+
"insertTextRules": 4,
|
|
929
|
+
"sortText": "04_flutter_Column"
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"label": "Text",
|
|
933
|
+
"kind": 5,
|
|
934
|
+
"detail": "Text display widget",
|
|
935
|
+
"documentation": {"value": "```dart\nText('Hello, World!')\nText('Styled', style: TextStyle(fontSize: 24))\n```\nDisplays a string of text with a single style."},
|
|
936
|
+
"insertText": "Text('${1:text}')",
|
|
937
|
+
"insertTextRules": 4,
|
|
938
|
+
"sortText": "04_flutter_Text"
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"label": "ElevatedButton",
|
|
942
|
+
"kind": 5,
|
|
943
|
+
"detail": "Material elevated button",
|
|
944
|
+
"documentation": {"value": "```dart\nElevatedButton(\n onPressed: () {},\n child: Text('Click'),\n)\n```\nA Material Design elevated button."},
|
|
945
|
+
"insertText": "ElevatedButton(\n onPressed: () {\n $0\n },\n child: Text('${1:Label}'),\n)",
|
|
946
|
+
"insertTextRules": 4,
|
|
947
|
+
"sortText": "04_flutter_ElevatedButton"
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"label": "ListView",
|
|
951
|
+
"kind": 5,
|
|
952
|
+
"detail": "Scrollable list widget",
|
|
953
|
+
"documentation": {"value": "```dart\nListView.builder(\n itemCount: items.length,\n itemBuilder: (context, index) => ListTile(title: Text(items[index])),\n)\n```\nA scrollable list of widgets."},
|
|
954
|
+
"insertText": "ListView.builder(\n itemCount: ${1:items}.length,\n itemBuilder: (context, index) {\n return ${2:ListTile(title: Text('Item'))};\n },\n)",
|
|
955
|
+
"insertTextRules": 4,
|
|
956
|
+
"sortText": "04_flutter_ListView"
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
"label": "GridView",
|
|
960
|
+
"kind": 5,
|
|
961
|
+
"detail": "Scrollable grid widget",
|
|
962
|
+
"documentation": {"value": "```dart\nGridView.count(\n crossAxisCount: 2,\n children: [...],\n)\n```\nA scrollable, 2D array of widgets."},
|
|
963
|
+
"insertText": "GridView.count(\n crossAxisCount: ${1:2},\n children: [\n $0\n ],\n)",
|
|
964
|
+
"insertTextRules": 4,
|
|
965
|
+
"sortText": "04_flutter_GridView"
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
"label": "Stack",
|
|
969
|
+
"kind": 5,
|
|
970
|
+
"detail": "Overlay layout widget",
|
|
971
|
+
"documentation": {"value": "```dart\nStack(\n children: [\n Positioned(child: widget),\n ],\n)\n```\nOverlays children relative to the edges of its box."},
|
|
972
|
+
"insertText": "Stack(\n children: [\n $0\n ],\n)",
|
|
973
|
+
"insertTextRules": 4,
|
|
974
|
+
"sortText": "04_flutter_Stack"
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
"label": "Padding",
|
|
978
|
+
"kind": 5,
|
|
979
|
+
"detail": "Padding widget",
|
|
980
|
+
"documentation": {"value": "```dart\nPadding(\n padding: EdgeInsets.all(8.0),\n child: Text('Padded'),\n)\n```\nInsets its child by the given padding."},
|
|
981
|
+
"insertText": "Padding(\n padding: EdgeInsets.all(${1:8.0}),\n child: $0,\n)",
|
|
982
|
+
"insertTextRules": 4,
|
|
983
|
+
"sortText": "04_flutter_Padding"
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"label": "Center",
|
|
987
|
+
"kind": 5,
|
|
988
|
+
"detail": "Center widget",
|
|
989
|
+
"documentation": {"value": "```dart\nCenter(child: Text('Centered'))\n```\nCenters its child within itself."},
|
|
990
|
+
"insertText": "Center(child: $0)",
|
|
991
|
+
"insertTextRules": 4,
|
|
992
|
+
"sortText": "04_flutter_Center"
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
"label": "SizedBox",
|
|
996
|
+
"kind": 5,
|
|
997
|
+
"detail": "Fixed size box",
|
|
998
|
+
"documentation": {"value": "```dart\nSizedBox(width: 100, height: 50)\nSizedBox.expand()\n```\nA box with a specified size."},
|
|
999
|
+
"insertText": "SizedBox(${1:height: 10})",
|
|
1000
|
+
"insertTextRules": 4,
|
|
1001
|
+
"sortText": "04_flutter_SizedBox"
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
"label": "main function",
|
|
1005
|
+
"kind": 28,
|
|
1006
|
+
"detail": "Snippet: main entry point",
|
|
1007
|
+
"documentation": {"value": "Creates the main() entry point function."},
|
|
1008
|
+
"insertText": "void main() {\n ${1:// TODO: implement}\n}",
|
|
1009
|
+
"insertTextRules": 4,
|
|
1010
|
+
"sortText": "05_snippet_main"
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"label": "class declaration",
|
|
1014
|
+
"kind": 28,
|
|
1015
|
+
"detail": "Snippet: class with constructor",
|
|
1016
|
+
"documentation": {"value": "Creates a class with named constructor parameters."},
|
|
1017
|
+
"insertText": "class ${1:Name} {\n final ${2:String} ${3:field};\n\n const ${1:Name}({required this.${3:field}});\n\n $0\n}",
|
|
1018
|
+
"insertTextRules": 4,
|
|
1019
|
+
"sortText": "05_snippet_class"
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
"label": "stateless widget",
|
|
1023
|
+
"kind": 28,
|
|
1024
|
+
"detail": "Snippet: StatelessWidget",
|
|
1025
|
+
"documentation": {"value": "Creates a Flutter StatelessWidget subclass."},
|
|
1026
|
+
"insertText": "class ${1:MyWidget} extends StatelessWidget {\n const ${1:MyWidget}({super.key});\n\n @override\n Widget build(BuildContext context) {\n return ${2:Container()};\n }\n}",
|
|
1027
|
+
"insertTextRules": 4,
|
|
1028
|
+
"sortText": "05_snippet_stateless"
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
"label": "stateful widget",
|
|
1032
|
+
"kind": 28,
|
|
1033
|
+
"detail": "Snippet: StatefulWidget",
|
|
1034
|
+
"documentation": {"value": "Creates a Flutter StatefulWidget with its State class."},
|
|
1035
|
+
"insertText": "class ${1:MyWidget} extends StatefulWidget {\n const ${1:MyWidget}({super.key});\n\n @override\n State<${1:MyWidget}> createState() => _${1:MyWidget}State();\n}\n\nclass _${1:MyWidget}State extends State<${1:MyWidget}> {\n @override\n Widget build(BuildContext context) {\n return ${2:Container()};\n }\n}",
|
|
1036
|
+
"insertTextRules": 4,
|
|
1037
|
+
"sortText": "05_snippet_stateful"
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
"label": "for-in loop",
|
|
1041
|
+
"kind": 28,
|
|
1042
|
+
"detail": "Snippet: for-in loop",
|
|
1043
|
+
"documentation": {"value": "Creates a for-in loop to iterate over an iterable."},
|
|
1044
|
+
"insertText": "for (final ${1:item} in ${2:items}) {\n $0\n}",
|
|
1045
|
+
"insertTextRules": 4,
|
|
1046
|
+
"sortText": "05_snippet_forin"
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"label": "while loop",
|
|
1050
|
+
"kind": 28,
|
|
1051
|
+
"detail": "Snippet: while loop",
|
|
1052
|
+
"documentation": {"value": "Creates a while loop."},
|
|
1053
|
+
"insertText": "while (${1:condition}) {\n $0\n}",
|
|
1054
|
+
"insertTextRules": 4,
|
|
1055
|
+
"sortText": "05_snippet_while"
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"label": "try-catch",
|
|
1059
|
+
"kind": 28,
|
|
1060
|
+
"detail": "Snippet: try-catch block",
|
|
1061
|
+
"documentation": {"value": "Creates a try-catch-finally block."},
|
|
1062
|
+
"insertText": "try {\n $0\n} on ${1:Exception} catch (e) {\n ${2:print(e);}\n}",
|
|
1063
|
+
"insertTextRules": 4,
|
|
1064
|
+
"sortText": "05_snippet_trycatch"
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
"label": "async function",
|
|
1068
|
+
"kind": 28,
|
|
1069
|
+
"detail": "Snippet: async function",
|
|
1070
|
+
"documentation": {"value": "Creates an async function returning a Future."},
|
|
1071
|
+
"insertText": "Future<${1:void}> ${2:name}() async {\n $0\n}",
|
|
1072
|
+
"insertTextRules": 4,
|
|
1073
|
+
"sortText": "05_snippet_async"
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
"label": "stream generator",
|
|
1077
|
+
"kind": 28,
|
|
1078
|
+
"detail": "Snippet: async* stream generator",
|
|
1079
|
+
"documentation": {"value": "Creates an async generator function that yields stream values."},
|
|
1080
|
+
"insertText": "Stream<${1:int}> ${2:name}() async* {\n yield ${3:value};\n}",
|
|
1081
|
+
"insertTextRules": 4,
|
|
1082
|
+
"sortText": "05_snippet_stream"
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
"label": "factory constructor",
|
|
1086
|
+
"kind": 28,
|
|
1087
|
+
"detail": "Snippet: factory constructor",
|
|
1088
|
+
"documentation": {"value": "Creates a factory constructor."},
|
|
1089
|
+
"insertText": "factory ${1:ClassName}.${2:named}(${3:params}) {\n return ${4:instance};\n}",
|
|
1090
|
+
"insertTextRules": 4,
|
|
1091
|
+
"sortText": "05_snippet_factory"
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
"label": "extension method",
|
|
1095
|
+
"kind": 28,
|
|
1096
|
+
"detail": "Snippet: extension on type",
|
|
1097
|
+
"documentation": {"value": "Creates an extension on an existing type."},
|
|
1098
|
+
"insertText": "extension ${1:Name} on ${2:Type} {\n ${3:ReturnType} ${4:methodName}() {\n $0\n }\n}",
|
|
1099
|
+
"insertTextRules": 4,
|
|
1100
|
+
"sortText": "05_snippet_extension"
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
"label": "sealed class",
|
|
1104
|
+
"kind": 28,
|
|
1105
|
+
"detail": "Snippet: sealed class hierarchy",
|
|
1106
|
+
"documentation": {"value": "Creates a sealed class with subtypes (Dart 3)."},
|
|
1107
|
+
"insertText": "sealed class ${1:Name} {}\n\nclass ${2:SubType1} extends ${1:Name} {\n final ${3:String} ${4:value};\n const ${2:SubType1}(this.${4:value});\n}\n\nclass ${5:SubType2} extends ${1:Name} {}",
|
|
1108
|
+
"insertTextRules": 4,
|
|
1109
|
+
"sortText": "05_snippet_sealed"
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
"label": "mixin declaration",
|
|
1113
|
+
"kind": 28,
|
|
1114
|
+
"detail": "Snippet: mixin declaration",
|
|
1115
|
+
"documentation": {"value": "Declares a mixin with a method."},
|
|
1116
|
+
"insertText": "mixin ${1:Name} {\n ${2:void} ${3:method}() {\n $0\n }\n}",
|
|
1117
|
+
"insertTextRules": 4,
|
|
1118
|
+
"sortText": "05_snippet_mixin"
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
"label": "enum with values",
|
|
1122
|
+
"kind": 28,
|
|
1123
|
+
"detail": "Snippet: enhanced enum",
|
|
1124
|
+
"documentation": {"value": "Creates an enhanced enum with fields and constructor."},
|
|
1125
|
+
"insertText": "enum ${1:Name} {\n ${2:value1}('${3:label1}'),\n ${4:value2}('${5:label2}');\n\n final String ${6:label};\n const ${1:Name}(this.${6:label});\n}",
|
|
1126
|
+
"insertTextRules": 4,
|
|
1127
|
+
"sortText": "05_snippet_enum"
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
"label": "switch expression",
|
|
1131
|
+
"kind": 28,
|
|
1132
|
+
"detail": "Snippet: switch expression (Dart 3)",
|
|
1133
|
+
"documentation": {"value": "Creates a switch expression with pattern matching."},
|
|
1134
|
+
"insertText": "final ${1:result} = switch (${2:value}) {\n ${3:pattern1} => ${4:expr1},\n ${5:pattern2} => ${6:expr2},\n _ => ${7:defaultExpr},\n};",
|
|
1135
|
+
"insertTextRules": 4,
|
|
1136
|
+
"sortText": "05_snippet_switch_expr"
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
"label": "pattern matching",
|
|
1140
|
+
"kind": 28,
|
|
1141
|
+
"detail": "Snippet: if-case pattern match",
|
|
1142
|
+
"documentation": {"value": "Creates an if-case pattern match (Dart 3)."},
|
|
1143
|
+
"insertText": "if (${1:value} case ${2:Type} ${3:name}) {\n $0\n}",
|
|
1144
|
+
"insertTextRules": 4,
|
|
1145
|
+
"sortText": "05_snippet_pattern"
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
"label": "Future.wait",
|
|
1149
|
+
"kind": 1,
|
|
1150
|
+
"detail": "Wait for multiple futures",
|
|
1151
|
+
"documentation": {"value": "```dart\nvar results = await Future.wait([future1, future2]);\n```\nWaits for multiple futures to complete."},
|
|
1152
|
+
"insertText": "Future.wait([${1:futures}])",
|
|
1153
|
+
"insertTextRules": 4,
|
|
1154
|
+
"sortText": "03_function_Future_wait"
|
|
1155
|
+
},
|
|
1156
|
+
{
|
|
1157
|
+
"label": "Future.value",
|
|
1158
|
+
"kind": 1,
|
|
1159
|
+
"detail": "Create completed Future",
|
|
1160
|
+
"documentation": {"value": "```dart\nvar f = Future.value(42);\n```\nCreates a future completed with the given value."},
|
|
1161
|
+
"insertText": "Future.value(${1:value})",
|
|
1162
|
+
"insertTextRules": 4,
|
|
1163
|
+
"sortText": "03_function_Future_value"
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
"label": "Isolate.spawn",
|
|
1167
|
+
"kind": 1,
|
|
1168
|
+
"detail": "Spawn isolate",
|
|
1169
|
+
"documentation": {"value": "```dart\nawait Isolate.spawn(entryPoint, message);\n```\nSpawns a new isolate running the given function."},
|
|
1170
|
+
"insertText": "Isolate.spawn(${1:entryPoint}, ${2:message})",
|
|
1171
|
+
"insertTextRules": 4,
|
|
1172
|
+
"sortText": "03_function_Isolate_spawn"
|
|
1173
|
+
},
|
|
1174
|
+
{
|
|
1175
|
+
"label": "for loop (indexed)",
|
|
1176
|
+
"kind": 28,
|
|
1177
|
+
"detail": "Snippet: C-style for loop",
|
|
1178
|
+
"documentation": {"value": "Creates an indexed for loop."},
|
|
1179
|
+
"insertText": "for (var ${1:i} = 0; ${1:i} < ${2:length}; ${1:i}++) {\n $0\n}",
|
|
1180
|
+
"insertTextRules": 4,
|
|
1181
|
+
"sortText": "05_snippet_for_indexed"
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
"label": "if-else",
|
|
1185
|
+
"kind": 28,
|
|
1186
|
+
"detail": "Snippet: if-else block",
|
|
1187
|
+
"documentation": {"value": "Creates an if-else block."},
|
|
1188
|
+
"insertText": "if (${1:condition}) {\n $0\n} else {\n ${2:// fallback}\n}",
|
|
1189
|
+
"insertTextRules": 4,
|
|
1190
|
+
"sortText": "05_snippet_ifelse"
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
"label": "test",
|
|
1194
|
+
"kind": 28,
|
|
1195
|
+
"detail": "Snippet: test case",
|
|
1196
|
+
"documentation": {"value": "Creates a test case using the test package."},
|
|
1197
|
+
"insertText": "test('${1:description}', () {\n $0\n});",
|
|
1198
|
+
"insertTextRules": 4,
|
|
1199
|
+
"sortText": "05_snippet_test"
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
"label": "group",
|
|
1203
|
+
"kind": 28,
|
|
1204
|
+
"detail": "Snippet: test group",
|
|
1205
|
+
"documentation": {"value": "Creates a test group."},
|
|
1206
|
+
"insertText": "group('${1:description}', () {\n $0\n});",
|
|
1207
|
+
"insertTextRules": 4,
|
|
1208
|
+
"sortText": "05_snippet_group"
|
|
1209
|
+
},
|
|
1210
|
+
{
|
|
1211
|
+
"label": "expect",
|
|
1212
|
+
"kind": 1,
|
|
1213
|
+
"detail": "Test expectation",
|
|
1214
|
+
"documentation": {"value": "```dart\nexpect(actual, matcher);\n```\nAsserts that actual matches the expected matcher."},
|
|
1215
|
+
"insertText": "expect(${1:actual}, ${2:matcher});",
|
|
1216
|
+
"insertTextRules": 4,
|
|
1217
|
+
"sortText": "03_function_expect"
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
"label": "setState",
|
|
1221
|
+
"kind": 1,
|
|
1222
|
+
"detail": "Flutter state update",
|
|
1223
|
+
"documentation": {"value": "```dart\nsetState(() {\n _counter++;\n});\n```\nNotifies the framework of state changes in a StatefulWidget."},
|
|
1224
|
+
"insertText": "setState(() {\n $0\n});",
|
|
1225
|
+
"insertTextRules": 4,
|
|
1226
|
+
"sortText": "03_function_setState"
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
"label": "Navigator.push",
|
|
1230
|
+
"kind": 1,
|
|
1231
|
+
"detail": "Navigate to route",
|
|
1232
|
+
"documentation": {"value": "```dart\nNavigator.push(context, MaterialPageRoute(builder: (ctx) => Page()));\n```\nPushes a new route onto the navigator stack."},
|
|
1233
|
+
"insertText": "Navigator.push(context, MaterialPageRoute(builder: (context) => ${1:Page()}));",
|
|
1234
|
+
"insertTextRules": 4,
|
|
1235
|
+
"sortText": "03_function_Navigator_push"
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
"label": "BuildContext",
|
|
1239
|
+
"kind": 7,
|
|
1240
|
+
"detail": "Widget build context",
|
|
1241
|
+
"documentation": {"value": "```dart\nWidget build(BuildContext context) {}\n```\nA handle to the location of a widget in the widget tree."},
|
|
1242
|
+
"insertText": "BuildContext",
|
|
1243
|
+
"insertTextRules": 4,
|
|
1244
|
+
"sortText": "02_type_BuildContext"
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
"label": "Widget",
|
|
1248
|
+
"kind": 5,
|
|
1249
|
+
"detail": "Flutter widget base class",
|
|
1250
|
+
"documentation": {"value": "```dart\nabstract class Widget {}\n```\nThe base class for all Flutter widgets."},
|
|
1251
|
+
"insertText": "Widget",
|
|
1252
|
+
"insertTextRules": 4,
|
|
1253
|
+
"sortText": "02_type_Widget"
|
|
1254
|
+
},
|
|
1255
|
+
{
|
|
1256
|
+
"label": "State",
|
|
1257
|
+
"kind": 5,
|
|
1258
|
+
"detail": "StatefulWidget state",
|
|
1259
|
+
"documentation": {"value": "```dart\nclass _MyState extends State<MyWidget> {\n @override\n Widget build(BuildContext context) => ...;\n}\n```\nLogic and internal state for a StatefulWidget."},
|
|
1260
|
+
"insertText": "State<${1:Widget}>",
|
|
1261
|
+
"insertTextRules": 4,
|
|
1262
|
+
"sortText": "02_type_State"
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
"label": "EdgeInsets",
|
|
1266
|
+
"kind": 5,
|
|
1267
|
+
"detail": "Flutter edge insets",
|
|
1268
|
+
"documentation": {"value": "```dart\nEdgeInsets.all(8.0)\nEdgeInsets.symmetric(horizontal: 16)\n```\nDefines padding/margin offsets along each edge."},
|
|
1269
|
+
"insertText": "EdgeInsets.${1:all}(${2:8.0})",
|
|
1270
|
+
"insertTextRules": 4,
|
|
1271
|
+
"sortText": "04_flutter_EdgeInsets"
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
"label": "TextStyle",
|
|
1275
|
+
"kind": 5,
|
|
1276
|
+
"detail": "Flutter text style",
|
|
1277
|
+
"documentation": {"value": "```dart\nTextStyle(fontSize: 16, fontWeight: FontWeight.bold)\n```\nDescribes text styling properties."},
|
|
1278
|
+
"insertText": "TextStyle(fontSize: ${1:16})",
|
|
1279
|
+
"insertTextRules": 4,
|
|
1280
|
+
"sortText": "04_flutter_TextStyle"
|
|
1281
|
+
},
|
|
1282
|
+
{
|
|
1283
|
+
"label": "@override",
|
|
1284
|
+
"kind": 17,
|
|
1285
|
+
"detail": "Override annotation",
|
|
1286
|
+
"documentation": {"value": "```dart\n@override\nvoid method() {}\n```\nIndicates a method overrides a superclass member."},
|
|
1287
|
+
"insertText": "@override",
|
|
1288
|
+
"insertTextRules": 4,
|
|
1289
|
+
"sortText": "01_keyword_override"
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
"label": "@deprecated",
|
|
1293
|
+
"kind": 17,
|
|
1294
|
+
"detail": "Deprecation annotation",
|
|
1295
|
+
"documentation": {"value": "```dart\n@deprecated\nvoid oldMethod() {}\n```\nMarks API as deprecated."},
|
|
1296
|
+
"insertText": "@deprecated",
|
|
1297
|
+
"insertTextRules": 4,
|
|
1298
|
+
"sortText": "01_keyword_deprecated"
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
"label": "@immutable",
|
|
1302
|
+
"kind": 17,
|
|
1303
|
+
"detail": "Immutable annotation",
|
|
1304
|
+
"documentation": {"value": "```dart\n@immutable\nclass Config { final String name; const Config(this.name); }\n```\nAnnotates a class as immutable."},
|
|
1305
|
+
"insertText": "@immutable",
|
|
1306
|
+
"insertTextRules": 4,
|
|
1307
|
+
"sortText": "01_keyword_immutable"
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
"label": "@protected",
|
|
1311
|
+
"kind": 17,
|
|
1312
|
+
"detail": "Protected access annotation",
|
|
1313
|
+
"documentation": {"value": "```dart\n@protected\nvoid internalMethod() {}\n```\nIndicates the member is protected and should not be used outside subclasses."},
|
|
1314
|
+
"insertText": "@protected",
|
|
1315
|
+
"insertTextRules": 4,
|
|
1316
|
+
"sortText": "01_keyword_protected"
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
"label": "@visibleForTesting",
|
|
1320
|
+
"kind": 17,
|
|
1321
|
+
"detail": "Test visibility annotation",
|
|
1322
|
+
"documentation": {"value": "```dart\n@visibleForTesting\nvoid helperForTests() {}\n```\nMarks API as visible only for testing."},
|
|
1323
|
+
"insertText": "@visibleForTesting",
|
|
1324
|
+
"insertTextRules": 4,
|
|
1325
|
+
"sortText": "01_keyword_visibleForTesting"
|
|
1326
|
+
},
|
|
1327
|
+
{
|
|
1328
|
+
"label": "async*",
|
|
1329
|
+
"kind": 17,
|
|
1330
|
+
"detail": "Async generator modifier",
|
|
1331
|
+
"documentation": {"value": "```dart\nStream<int> count() async* {\n yield 1;\n yield 2;\n}\n```\nMarks a function as an asynchronous generator."},
|
|
1332
|
+
"insertText": "async*",
|
|
1333
|
+
"insertTextRules": 4,
|
|
1334
|
+
"sortText": "01_keyword_asyncstar"
|
|
1335
|
+
},
|
|
1336
|
+
{
|
|
1337
|
+
"label": "sync*",
|
|
1338
|
+
"kind": 17,
|
|
1339
|
+
"detail": "Sync generator modifier",
|
|
1340
|
+
"documentation": {"value": "```dart\nIterable<int> count() sync* {\n yield 1;\n yield 2;\n}\n```\nMarks a function as a synchronous generator."},
|
|
1341
|
+
"insertText": "sync*",
|
|
1342
|
+
"insertTextRules": 4,
|
|
1343
|
+
"sortText": "01_keyword_syncstar"
|
|
1344
|
+
},
|
|
1345
|
+
{
|
|
1346
|
+
"label": "yield*",
|
|
1347
|
+
"kind": 17,
|
|
1348
|
+
"detail": "Delegating yield",
|
|
1349
|
+
"documentation": {"value": "```dart\nyield* anotherGenerator();\n```\nDelegates to another generator."},
|
|
1350
|
+
"insertText": "yield* ${1:iterable};",
|
|
1351
|
+
"insertTextRules": 4,
|
|
1352
|
+
"sortText": "01_keyword_yieldstar"
|
|
1353
|
+
},
|
|
1354
|
+
{
|
|
1355
|
+
"label": "FutureBuilder",
|
|
1356
|
+
"kind": 5,
|
|
1357
|
+
"detail": "Flutter FutureBuilder widget",
|
|
1358
|
+
"documentation": {"value": "```dart\nFutureBuilder<String>(\n future: fetchData(),\n builder: (context, snapshot) {\n if (snapshot.hasData) return Text(snapshot.data!);\n return CircularProgressIndicator();\n },\n)\n```\nBuilds a widget based on a Future's state."},
|
|
1359
|
+
"insertText": "FutureBuilder<${1:Type}>(\n future: ${2:future},\n builder: (context, snapshot) {\n if (snapshot.hasData) {\n return ${3:Text(snapshot.data.toString())};\n }\n return const CircularProgressIndicator();\n },\n)",
|
|
1360
|
+
"insertTextRules": 4,
|
|
1361
|
+
"sortText": "04_flutter_FutureBuilder"
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
"label": "StreamBuilder",
|
|
1365
|
+
"kind": 5,
|
|
1366
|
+
"detail": "Flutter StreamBuilder widget",
|
|
1367
|
+
"documentation": {"value": "```dart\nStreamBuilder<int>(\n stream: myStream,\n builder: (context, snapshot) => Text('${snapshot.data}'),\n)\n```\nBuilds a widget based on a Stream's latest snapshot."},
|
|
1368
|
+
"insertText": "StreamBuilder<${1:Type}>(\n stream: ${2:stream},\n builder: (context, snapshot) {\n return ${3:Text(snapshot.data.toString())};\n },\n)",
|
|
1369
|
+
"insertTextRules": 4,
|
|
1370
|
+
"sortText": "04_flutter_StreamBuilder"
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
"label": "ValueNotifier",
|
|
1374
|
+
"kind": 5,
|
|
1375
|
+
"detail": "Value change notifier",
|
|
1376
|
+
"documentation": {"value": "```dart\nfinal counter = ValueNotifier<int>(0);\ncounter.value++;\n```\nA ChangeNotifier that holds a single value."},
|
|
1377
|
+
"insertText": "ValueNotifier<${1:Type}>(${2:initialValue})",
|
|
1378
|
+
"insertTextRules": 4,
|
|
1379
|
+
"sortText": "04_flutter_ValueNotifier"
|
|
1380
|
+
},
|
|
1381
|
+
{
|
|
1382
|
+
"label": "Comparable",
|
|
1383
|
+
"kind": 7,
|
|
1384
|
+
"detail": "Comparable interface",
|
|
1385
|
+
"documentation": {"value": "```dart\nclass MyClass implements Comparable<MyClass> {\n @override\n int compareTo(MyClass other) => ...;\n}\n```\nInterface for objects with a natural ordering."},
|
|
1386
|
+
"insertText": "Comparable<${1:Type}>",
|
|
1387
|
+
"insertTextRules": 4,
|
|
1388
|
+
"sortText": "02_type_Comparable"
|
|
1389
|
+
},
|
|
1390
|
+
{
|
|
1391
|
+
"label": "Iterator",
|
|
1392
|
+
"kind": 7,
|
|
1393
|
+
"detail": "Iterator interface",
|
|
1394
|
+
"documentation": {"value": "```dart\nIterator<int> it = list.iterator;\nwhile (it.moveNext()) print(it.current);\n```\nAn interface for stepping through elements."},
|
|
1395
|
+
"insertText": "Iterator<${1:Type}>",
|
|
1396
|
+
"insertTextRules": 4,
|
|
1397
|
+
"sortText": "02_type_Iterator"
|
|
1398
|
+
},
|
|
1399
|
+
{
|
|
1400
|
+
"label": "Sink",
|
|
1401
|
+
"kind": 7,
|
|
1402
|
+
"detail": "Sink interface",
|
|
1403
|
+
"documentation": {"value": "```dart\nSink<String> sink;\nsink.add('data');\nsink.close();\n```\nA generic sink for adding data."},
|
|
1404
|
+
"insertText": "Sink<${1:Type}>",
|
|
1405
|
+
"insertTextRules": 4,
|
|
1406
|
+
"sortText": "02_type_Sink"
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"label": "StreamController",
|
|
1410
|
+
"kind": 5,
|
|
1411
|
+
"detail": "Stream controller",
|
|
1412
|
+
"documentation": {"value": "```dart\nfinal controller = StreamController<int>();\ncontroller.sink.add(1);\ncontroller.stream.listen(print);\n```\nA controller for a Stream that allows sending events."},
|
|
1413
|
+
"insertText": "StreamController<${1:Type}>()",
|
|
1414
|
+
"insertTextRules": 4,
|
|
1415
|
+
"sortText": "02_type_StreamController"
|
|
1416
|
+
},
|
|
1417
|
+
{
|
|
1418
|
+
"label": "StreamSubscription",
|
|
1419
|
+
"kind": 5,
|
|
1420
|
+
"detail": "Stream subscription",
|
|
1421
|
+
"documentation": {"value": "```dart\nStreamSubscription<int> sub = stream.listen(print);\nawait sub.cancel();\n```\nA subscription on events from a Stream."},
|
|
1422
|
+
"insertText": "StreamSubscription<${1:Type}>",
|
|
1423
|
+
"insertTextRules": 4,
|
|
1424
|
+
"sortText": "02_type_StreamSubscription"
|
|
1425
|
+
},
|
|
1426
|
+
{
|
|
1427
|
+
"label": "FutureOr",
|
|
1428
|
+
"kind": 5,
|
|
1429
|
+
"detail": "Future or sync type",
|
|
1430
|
+
"documentation": {"value": "```dart\nFutureOr<int> getValue() => 42;\n```\nRepresents a type that can be either T or Future<T>."},
|
|
1431
|
+
"insertText": "FutureOr<${1:Type}>",
|
|
1432
|
+
"insertTextRules": 4,
|
|
1433
|
+
"sortText": "02_type_FutureOr"
|
|
1434
|
+
}
|
|
1435
|
+
]
|
|
1436
|
+
}
|