@codingame/monaco-editor-wrapper 3.9.3 → 4.0.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (537) hide show
  1. package/dist/C2Hs-configuration.json.js +3 -0
  2. package/dist/C2Hs.json.js +3 -0
  3. package/dist/COBOL.tmLanguage.json.js +3 -0
  4. package/dist/Erlang.plist.js +2 -1751
  5. package/dist/Hsc2Hs-configuration.json.js +3 -0
  6. package/dist/Hsc2Hs.json.js +3 -0
  7. package/dist/JavaProperties.tmLanguage.json.js +3 -0
  8. package/dist/Kotlin.tmLanguage.js +2 -723
  9. package/dist/META.json.js +3 -0
  10. package/dist/META.json2.js +3 -0
  11. package/dist/Markdown Redcarpet.json.js +3 -0
  12. package/dist/RMarkdown.json.js +3 -0
  13. package/dist/Rcpp.json.js +3 -0
  14. package/dist/Rd (R Documentation).json.js +3 -0
  15. package/dist/Scala.tmLanguage.json.js +3 -0
  16. package/dist/_commonjsHelpers.js +35 -0
  17. package/dist/_rollupPluginBabelHelpers.js +1 -1
  18. package/dist/add.svg.js +3 -0
  19. package/dist/add.svg2.js +3 -0
  20. package/dist/adddep-dark.svg.js +3 -0
  21. package/dist/adddep-light.svg.js +3 -0
  22. package/dist/alex.json.js +3 -0
  23. package/dist/angular-directives.json.js +3 -0
  24. package/dist/angular-interpolations.json.js +3 -0
  25. package/dist/angular-template-language-configuration.json.js +3 -0
  26. package/dist/arrow-circle-up-dark.svg.js +3 -0
  27. package/dist/arrow-circle-up-light.svg.js +3 -0
  28. package/dist/aspnetcorerazor.tmLanguage.json.js +3 -0
  29. package/dist/atd.json.js +3 -0
  30. package/dist/book-dark.svg.js +3 -0
  31. package/dist/book-light.svg.js +3 -0
  32. package/dist/book-open-dark.svg.js +3 -0
  33. package/dist/book-open-light.svg.js +3 -0
  34. package/dist/buildtarget.json.js +3 -0
  35. package/dist/cabal-configuration.json.js +3 -0
  36. package/dist/cabal.json.js +3 -0
  37. package/dist/codeblock-cabal.json.js +3 -0
  38. package/dist/codeblock-haskell.json.js +3 -0
  39. package/dist/codeblock-literate-haskell.json.js +3 -0
  40. package/dist/codeblock.json.js +3 -0
  41. package/dist/codeblock.json2.js +3 -0
  42. package/dist/configuration/index.d.ts +0 -1
  43. package/dist/cram.json.js +3 -0
  44. package/dist/csharp.json.js +3 -0
  45. package/dist/css.worker.js +1 -1
  46. package/dist/d.json.js +3 -0
  47. package/dist/d.json2.js +3 -0
  48. package/dist/dart-language-configuration.json.js +3 -0
  49. package/dist/dart.json.js +3 -0
  50. package/dist/dcf-configuration.json.js +3 -0
  51. package/dist/dcf.json.js +3 -0
  52. package/dist/diet.json.js +3 -0
  53. package/dist/diet.json2.js +3 -0
  54. package/dist/diet.json3.js +3 -0
  55. package/dist/django-html.tmLanguage.json.js +3 -0
  56. package/dist/django-txt.tmLanguage.json.js +3 -0
  57. package/dist/dml.json.js +3 -0
  58. package/dist/document-search-dark.svg.js +3 -0
  59. package/dist/document-search-light.svg.js +3 -0
  60. package/dist/documentation-inverse.svg.js +3 -0
  61. package/dist/documentation.svg.js +3 -0
  62. package/dist/dub-convert-inverse.svg.js +3 -0
  63. package/dist/dub-convert.svg.js +3 -0
  64. package/dist/dune-project.json.js +3 -0
  65. package/dist/dune-project.json2.js +3 -0
  66. package/dist/dune-workspace.json.js +3 -0
  67. package/dist/dune.json.js +3 -0
  68. package/dist/dune.json2.js +3 -0
  69. package/dist/dune.json3.js +3 -0
  70. package/dist/edit-dub-inverse.svg.js +3 -0
  71. package/dist/edit-dub.svg.js +3 -0
  72. package/dist/edit-source-inverse.svg.js +3 -0
  73. package/dist/edit-source.svg.js +3 -0
  74. package/dist/eex-language-configuration.json.js +3 -0
  75. package/dist/eex.json.js +3 -0
  76. package/dist/elixir-language-configuration.json.js +3 -0
  77. package/dist/elixir.json.js +3 -0
  78. package/dist/erlang.configuration.json.js +3 -0
  79. package/dist/erlang.json.js +3 -0
  80. package/dist/expression.json.js +3 -0
  81. package/dist/extension-web.js.js +3 -0
  82. package/dist/extension-web.js2.js +3 -0
  83. package/dist/extension.browser.js.js +3 -0
  84. package/dist/extensions.d.ts +35 -0
  85. package/dist/features/htmlContribution.js +0 -1
  86. package/dist/features/jsonContribution.d.ts +2 -4
  87. package/dist/features/jsonContribution.js +10 -29
  88. package/dist/features/typescriptContribution.js +2 -2
  89. package/dist/file_type_java.svg.js +3 -0
  90. package/dist/file_type_scala.svg.js +3 -0
  91. package/dist/filters.json.js +3 -0
  92. package/dist/focus-dark.svg.js +3 -0
  93. package/dist/focus-light.svg.js +3 -0
  94. package/dist/general.json.js +3 -0
  95. package/dist/get-inverse.svg.js +3 -0
  96. package/dist/get.svg.js +3 -0
  97. package/dist/go.json.js +3 -0
  98. package/dist/go.mod.language-configuration.json.js +3 -0
  99. package/dist/go.mod.tmGrammar.json.js +3 -0
  100. package/dist/go.sum.tmGrammar.json.js +3 -0
  101. package/dist/govulncheck.tmGrammar.json.js +3 -0
  102. package/dist/happy.json.js +3 -0
  103. package/dist/haskell-configuration.json.js +3 -0
  104. package/dist/haskell.json.js +3 -0
  105. package/dist/hot-reload-tb.png.js +3 -0
  106. package/dist/hot-reload.svg.js +3 -0
  107. package/dist/html-eex.json.js +3 -0
  108. package/dist/html.worker.js +1 -1
  109. package/dist/index.d.ts +2 -3
  110. package/dist/index.js +9 -6
  111. package/dist/index2.js +2 -1351
  112. package/dist/inline-styles.json.js +3 -0
  113. package/dist/inline-template.json.js +3 -0
  114. package/dist/inspector.svg.js +3 -0
  115. package/dist/java-properties-configuration.json.js +3 -0
  116. package/dist/java.json.js +3 -0
  117. package/dist/javascript.json.js +3 -0
  118. package/dist/json.worker.js +1 -1
  119. package/dist/jvm-bytecode-verbose.json.js +3 -0
  120. package/dist/jvm-bytecode.json.js +3 -0
  121. package/dist/kotlin.configuration.json.js +3 -0
  122. package/dist/kotlin.json.js +3 -0
  123. package/dist/lang-config.json.js +3 -0
  124. package/dist/language-configuration.json.js +3 -0
  125. package/dist/language-configuration.json2.js +3 -0
  126. package/dist/language-configuration.json3.js +3 -0
  127. package/dist/language-configuration.json4.js +3 -0
  128. package/dist/language-configuration.json5.js +3 -0
  129. package/dist/language-configuration.json6.js +3 -0
  130. package/dist/language-configuration.json7.js +3 -0
  131. package/dist/language-configuration.json8.js +3 -0
  132. package/dist/languages/index.d.ts +0 -2
  133. package/dist/literate-haskell-configuration.json.js +3 -0
  134. package/dist/literateHaskell.json.js +3 -0
  135. package/dist/main.js +839 -3115
  136. package/dist/markdown-svelte-css.json.js +3 -0
  137. package/dist/markdown-svelte-js.json.js +3 -0
  138. package/dist/markdown-svelte.json.js +3 -0
  139. package/dist/menhir-action.json.js +3 -0
  140. package/dist/menhir.json.js +3 -0
  141. package/dist/menhir.json2.js +3 -0
  142. package/dist/merlin.json.js +3 -0
  143. package/dist/monaco.d.ts +6 -9
  144. package/dist/oasis.json.js +3 -0
  145. package/dist/oasis.json2.js +3 -0
  146. package/dist/ocaml-markdown-codeblock.json.js +3 -0
  147. package/dist/ocaml.interface.json.js +3 -0
  148. package/dist/ocaml.json.js +3 -0
  149. package/dist/ocaml.json2.js +3 -0
  150. package/dist/ocaml.json3.js +3 -0
  151. package/dist/ocamlbuild.json.js +3 -0
  152. package/dist/ocamlbuild.json2.js +3 -0
  153. package/dist/ocamldoc.json.js +3 -0
  154. package/dist/ocamlformat.json.js +3 -0
  155. package/dist/ocamlformat.json2.js +3 -0
  156. package/dist/ocamllex.json.js +3 -0
  157. package/dist/ocamllex.json2.js +3 -0
  158. package/dist/ocamllex.json3.js +3 -0
  159. package/dist/opam-install.json.js +3 -0
  160. package/dist/opam-install.json2.js +3 -0
  161. package/dist/opam.json.js +3 -0
  162. package/dist/opam.json2.js +3 -0
  163. package/dist/outdated-inverse.svg.js +3 -0
  164. package/dist/outdated.svg.js +3 -0
  165. package/dist/pascal.configuration.json.js +3 -0
  166. package/dist/pascal.json.js +3 -0
  167. package/dist/pascal.tmLanguage.js +2 -168
  168. package/dist/performance.svg.js +3 -0
  169. package/dist/pgsql.tmLanguage.js +2 -283
  170. package/dist/pip-requirements.json.js +3 -0
  171. package/dist/pip-requirements.tmLanguage.json.js +3 -0
  172. package/dist/plus-dark.svg.js +3 -0
  173. package/dist/plus-light.svg.js +3 -0
  174. package/dist/postcss.json.js +3 -0
  175. package/dist/preview-right-dark.svg.js +3 -0
  176. package/dist/preview-right-light.svg.js +3 -0
  177. package/dist/pug-svelte-dotblock.json.js +3 -0
  178. package/dist/pug-svelte-tags.json.js +3 -0
  179. package/dist/pug-svelte.json.js +3 -0
  180. package/dist/r-configuration.json.js +3 -0
  181. package/dist/r-snippets.json.js +3 -0
  182. package/dist/r.json.js +3 -0
  183. package/dist/rbuildignore-configuration.json.js +3 -0
  184. package/dist/rbuildignore.json.js +3 -0
  185. package/dist/rd-configuration.json.js +3 -0
  186. package/dist/reason-markdown-codeblock.json.js +3 -0
  187. package/dist/reason.json.js +3 -0
  188. package/dist/reason.json2.js +3 -0
  189. package/dist/ref-group-by-type-dark.svg.js +3 -0
  190. package/dist/ref-group-by-type-light.svg.js +3 -0
  191. package/dist/ref-ungroup-by-type-dark.svg.js +3 -0
  192. package/dist/ref-ungroup-by-type-light.svg.js +3 -0
  193. package/dist/refresh-dark.svg.js +3 -0
  194. package/dist/refresh-dark.svg2.js +3 -0
  195. package/dist/refresh-light.svg.js +3 -0
  196. package/dist/refresh-light.svg2.js +3 -0
  197. package/dist/repl.svg.js +3 -0
  198. package/dist/repl.svg2.js +3 -0
  199. package/dist/rmarkdown.json2.js +3 -0
  200. package/dist/rmd-configuration.json.js +3 -0
  201. package/dist/rnamespace-configuration.json.js +3 -0
  202. package/dist/rnamespace.json.js +3 -0
  203. package/dist/save.svg.js +3 -0
  204. package/dist/save.svg2.js +3 -0
  205. package/dist/scalameta-logo.png.js +3 -0
  206. package/dist/sdl.json.js +3 -0
  207. package/dist/semanticdb.json.js +3 -0
  208. package/dist/services.d.ts +4 -0
  209. package/dist/solidity.configuration.json.js +3 -0
  210. package/dist/solidity.json.js +3 -0
  211. package/dist/solidity.json2.js +3 -0
  212. package/dist/svelte.json.js +3 -0
  213. package/dist/svelte.tmLanguage.json.js +3 -0
  214. package/dist/switch-impl-intf.dark.svg.js +3 -0
  215. package/dist/switch-impl-intf.light.svg.js +3 -0
  216. package/dist/systemverilog.json.js +3 -0
  217. package/dist/systemverilog.tmLanguage.json.js +3 -0
  218. package/dist/tags.json.js +3 -0
  219. package/dist/tasty.json.js +3 -0
  220. package/dist/tcl.json.js +3 -0
  221. package/dist/tcl.json2.js +3 -0
  222. package/dist/template.json.js +3 -0
  223. package/dist/theme/index.d.ts +1 -4
  224. package/dist/tools/EditorOpenHandlerRegistry.d.ts +3 -2
  225. package/dist/ts.worker.js +1 -1
  226. package/dist/typescript.json.js +3 -0
  227. package/dist/upgrade-inverse.svg.js +3 -0
  228. package/dist/upgrade.svg.js +3 -0
  229. package/dist/vim.js +37 -36
  230. package/dist/vs2019_dark.json.js +3 -0
  231. package/dist/vs2019_light.json.js +3 -0
  232. package/dist/worker.js +14 -2
  233. package/dist/x-dark.svg.js +3 -0
  234. package/dist/x-light.svg.js +3 -0
  235. package/package.json +40 -42
  236. package/stats.html +90 -1429
  237. package/dist/COBOL.tmLanguage.js +0 -172
  238. package/dist/HTML (Eex)2.js +0 -100
  239. package/dist/JSON.tmLanguage.js +0 -221
  240. package/dist/JSONC.tmLanguage.js +0 -221
  241. package/dist/JavaProperties.tmLanguage.js +0 -116
  242. package/dist/JavaScript.tmLanguage.js +0 -5929
  243. package/dist/JavaScriptReact.tmLanguage.js +0 -5929
  244. package/dist/META.js +0 -100
  245. package/dist/MagicPython.tmLanguage.js +0 -4221
  246. package/dist/MagicRegExp.tmLanguage.js +0 -505
  247. package/dist/Markdown Redcarpet.js +0 -221
  248. package/dist/RMarkdown.js +0 -25
  249. package/dist/Rcpp.js +0 -50
  250. package/dist/Rd (R Documentation).js +0 -131
  251. package/dist/Regular Expressions (JavaScript).tmLanguage.js +0 -166
  252. package/dist/Scala.tmLanguage.js +0 -1324
  253. package/dist/TypeScript.tmLanguage.js +0 -5680
  254. package/dist/TypeScriptReact.tmLanguage.js +0 -5929
  255. package/dist/angular.js +0 -62
  256. package/dist/asp-vb-net.tmlanguage.js +0 -247
  257. package/dist/aspnetcorerazor.js +0 -72
  258. package/dist/aspnetcorerazor.tmLanguage.js +0 -1825
  259. package/dist/atd.js +0 -110
  260. package/dist/atd2.js +0 -114
  261. package/dist/buildignore.r.js +0 -5
  262. package/dist/buildtarget.js +0 -53
  263. package/dist/c.js +0 -101
  264. package/dist/c.tmLanguage.js +0 -3565
  265. package/dist/cabal.js +0 -10
  266. package/dist/cabal.tmLanguage.js +0 -66
  267. package/dist/clojure.js +0 -68
  268. package/dist/clojure.tmLanguage.js +0 -439
  269. package/dist/cobol.js +0 -6
  270. package/dist/cobol2.js +0 -341
  271. package/dist/codeblock-cabal.js +0 -42
  272. package/dist/codeblock-haskell.js +0 -42
  273. package/dist/codeblock-literate-haskell.js +0 -42
  274. package/dist/codeblock.js +0 -59
  275. package/dist/codeblock2.js +0 -36
  276. package/dist/codeblock3.js +0 -95
  277. package/dist/coffeescript-coffeescript.code-snippets.js +0 -18
  278. package/dist/coffeescript.js +0 -91
  279. package/dist/coffeescript.tmLanguage.js +0 -1324
  280. package/dist/configuration/files.d.ts +0 -6
  281. package/dist/cpp-c.code-snippets.js +0 -18
  282. package/dist/cpp-cpp.code-snippets.js +0 -18
  283. package/dist/cpp.js +0 -101
  284. package/dist/cpp.tmLanguage.js +0 -16648
  285. package/dist/cpptools.js +0 -2631
  286. package/dist/cram.js +0 -257
  287. package/dist/csharp.js +0 -92
  288. package/dist/csharp.tmLanguage.js +0 -4992
  289. package/dist/css.js +0 -106
  290. package/dist/css.tmLanguage.js +0 -1873
  291. package/dist/cuda-cpp.js +0 -101
  292. package/dist/cuda-cpp.tmLanguage.js +0 -19993
  293. package/dist/d-diet.js +0 -92
  294. package/dist/d.js +0 -3212
  295. package/dist/d2.js +0 -97
  296. package/dist/d3.js +0 -609
  297. package/dist/dart.js +0 -543
  298. package/dist/dart2.js +0 -103
  299. package/dist/dart3.js +0 -1130
  300. package/dist/dcf.js +0 -93
  301. package/dist/debian-control.r.js +0 -69
  302. package/dist/diet.js +0 -758
  303. package/dist/diet2.js +0 -100
  304. package/dist/django-html.js +0 -155
  305. package/dist/django-html.tmLanguage.js +0 -715
  306. package/dist/django-txt.js +0 -155
  307. package/dist/django-txt.tmLanguage.js +0 -269
  308. package/dist/dml.js +0 -169
  309. package/dist/dml2.js +0 -90
  310. package/dist/dockercompose.js +0 -82
  311. package/dist/dpp.js +0 -97
  312. package/dist/dscript.js +0 -90
  313. package/dist/dune-project.js +0 -481
  314. package/dist/dune-project2.js +0 -65
  315. package/dist/dune-workspace.js +0 -298
  316. package/dist/dune-workspace2.js +0 -65
  317. package/dist/dune.js +0 -2962
  318. package/dist/dune2.js +0 -65
  319. package/dist/eex.js +0 -55
  320. package/dist/elixir-snippets.js +0 -184
  321. package/dist/elixir.js +0 -2341
  322. package/dist/elixir2.js +0 -69
  323. package/dist/elixir3.js +0 -40
  324. package/dist/erlang-erlang.js +0 -195
  325. package/dist/erlang.js +0 -81
  326. package/dist/erlang2.js +0 -86
  327. package/dist/expression.js +0 -846
  328. package/dist/features/extensionConfigurations.d.ts +0 -1
  329. package/dist/features/extensionConfigurations.js +0 -44
  330. package/dist/fsharp-fsharp.code-snippets.js +0 -18
  331. package/dist/fsharp.js +0 -80
  332. package/dist/fsharp.tmLanguage.js +0 -1844
  333. package/dist/go.js +0 -103
  334. package/dist/go.mod.js +0 -8
  335. package/dist/go.mod.tmGrammar.js +0 -182
  336. package/dist/go.sum.tmGrammar.js +0 -55
  337. package/dist/go.tmLanguage.js +0 -1025
  338. package/dist/go.work.js +0 -8
  339. package/dist/govulncheck.tmGrammar.js +0 -138
  340. package/dist/groovy-groovy.code-snippets.js +0 -229
  341. package/dist/groovy.js +0 -79
  342. package/dist/groovy.tmLanguage.js +0 -1391
  343. package/dist/haskell.js +0 -88
  344. package/dist/haskell.tmLanguage.js +0 -629
  345. package/dist/haskell2.js +0 -16
  346. package/dist/html (eex).js +0 -31
  347. package/dist/html-derivative.tmLanguage.js +0 -57
  348. package/dist/html-html.code-snippets.js +0 -20
  349. package/dist/html.js +0 -11
  350. package/dist/html.tmLanguage.js +0 -2652
  351. package/dist/html.tmLanguage2.js +0 -107
  352. package/dist/inline-styles.js +0 -104
  353. package/dist/inline-template.js +0 -88
  354. package/dist/jade.js +0 -11
  355. package/dist/java-java.js +0 -125
  356. package/dist/java-properties.js +0 -73
  357. package/dist/java.js +0 -98
  358. package/dist/java.tmLanguage.js +0 -1863
  359. package/dist/java2.js +0 -917
  360. package/dist/javascript-javascript.code-snippets.js +0 -205
  361. package/dist/javascript.js +0 -197
  362. package/dist/javascriptreact.js +0 -197
  363. package/dist/jsdoc.js.injection.tmLanguage.js +0 -32
  364. package/dist/jsdoc.ts.injection.tmLanguage.js +0 -32
  365. package/dist/json.js +0 -75
  366. package/dist/jsonc.js +0 -75
  367. package/dist/jsx-tags.js +0 -158
  368. package/dist/julia.js +0 -89
  369. package/dist/julia.tmLanguage.js +0 -954
  370. package/dist/jvm-bytecode-verbose.js +0 -1231
  371. package/dist/jvm-bytecode.js +0 -565
  372. package/dist/kotlin-kotlin.js +0 -117
  373. package/dist/kotlin.js +0 -103
  374. package/dist/kotlinscript.js +0 -103
  375. package/dist/languages/extensions/extensionConfigurationLoader.d.ts +0 -3
  376. package/dist/languages/extensions/grammarLoader.d.ts +0 -2
  377. package/dist/languages/extensions/languageConfigurationLoader.d.ts +0 -2
  378. package/dist/languages/extensions/snippetLoader.d.ts +0 -2
  379. package/dist/languages/extensions/themeLoader.d.ts +0 -2
  380. package/dist/languages/snippets/index.d.ts +0 -1
  381. package/dist/languages/textMate/index.d.ts +0 -1
  382. package/dist/languages/textMate/semanticTokens.d.ts +0 -1
  383. package/dist/literate haskell.js +0 -88
  384. package/dist/literateHaskell.tmLanguage.js +0 -70
  385. package/dist/lua.js +0 -84
  386. package/dist/lua.tmLanguage.js +0 -914
  387. package/dist/lua2.js +0 -2853
  388. package/dist/markdown-basics-markdown.code-snippets.js +0 -121
  389. package/dist/markdown-svelte-css.js +0 -37
  390. package/dist/markdown-svelte-js.js +0 -37
  391. package/dist/markdown-svelte.js +0 -59
  392. package/dist/markdown-vue.js +0 -54
  393. package/dist/markdown.js +0 -49
  394. package/dist/markdown.tmLanguage.js +0 -3042
  395. package/dist/menhir-action.js +0 -51
  396. package/dist/menhir.js +0 -597
  397. package/dist/merlin.js +0 -111
  398. package/dist/namespace.r.js +0 -88
  399. package/dist/oasis.js +0 -99
  400. package/dist/objective-c.js +0 -79
  401. package/dist/objective-c.tmLanguage.js +0 -3763
  402. package/dist/objective-cpp.js +0 -79
  403. package/dist/ocaml-dune-project.js +0 -38
  404. package/dist/ocaml-dune.js +0 -53
  405. package/dist/ocaml-markdown-codeblock.js +0 -42
  406. package/dist/ocaml-ocaml.js +0 -88
  407. package/dist/ocaml-ocamllex.js +0 -12
  408. package/dist/ocaml.META.js +0 -29
  409. package/dist/ocaml.interface.js +0 -292
  410. package/dist/ocaml.interface2.js +0 -114
  411. package/dist/ocaml.js +0 -903
  412. package/dist/ocaml.menhir.js +0 -81
  413. package/dist/ocaml.oasis.js +0 -18
  414. package/dist/ocaml.ocamlbuild.js +0 -45
  415. package/dist/ocaml.ocamlformat.js +0 -8
  416. package/dist/ocaml.ocamllex.js +0 -60
  417. package/dist/ocaml.opam-install.js +0 -49
  418. package/dist/ocaml.opam.js +0 -69
  419. package/dist/ocaml2.js +0 -114
  420. package/dist/ocaml3.js +0 -136
  421. package/dist/ocamlbuild.js +0 -189
  422. package/dist/ocamldoc.js +0 -54
  423. package/dist/ocamlformat.js +0 -206
  424. package/dist/ocamllex.js +0 -133
  425. package/dist/omnisharp-csharp.js +0 -508
  426. package/dist/omnisharp.js +0 -594
  427. package/dist/opam-install.js +0 -40
  428. package/dist/opam.js +0 -140
  429. package/dist/pascal-pascal.js +0 -382
  430. package/dist/pascal.js +0 -80
  431. package/dist/pascal2.js +0 -26
  432. package/dist/perl.js +0 -93
  433. package/dist/perl.tmLanguage.js +0 -2986
  434. package/dist/perl6.js +0 -86
  435. package/dist/perl6.tmLanguage.js +0 -323
  436. package/dist/php-php.code-snippets.js +0 -267
  437. package/dist/php.js +0 -154
  438. package/dist/php.tmLanguage.js +0 -4036
  439. package/dist/pip-requirements.js +0 -8
  440. package/dist/pip-requirements.tmLanguage.js +0 -89
  441. package/dist/plaintext.js +0 -11
  442. package/dist/platform.tmLanguage.js +0 -1135
  443. package/dist/postcss.src.yaml.js +0 -393
  444. package/dist/postgres.js +0 -80
  445. package/dist/postgresql.js +0 -75
  446. package/dist/powershell.js +0 -107
  447. package/dist/powershell.tmLanguage.js +0 -1037
  448. package/dist/pug-svelte-dotblock.js +0 -69
  449. package/dist/pug-svelte-tags.js +0 -215
  450. package/dist/pug-svelte.js +0 -307
  451. package/dist/python.js +0 -236
  452. package/dist/r.js +0 -664
  453. package/dist/r2.js +0 -88
  454. package/dist/rbuildignore.js +0 -39
  455. package/dist/rd.js +0 -81
  456. package/dist/reason-markdown-codeblock.js +0 -42
  457. package/dist/reason.js +0 -79
  458. package/dist/rmd.js +0 -84
  459. package/dist/rnamespace.js +0 -283
  460. package/dist/ruby.js +0 -95
  461. package/dist/ruby.tmLanguage.js +0 -2784
  462. package/dist/rust.js +0 -84
  463. package/dist/rust.tmLanguage.js +0 -1178
  464. package/dist/sassdoc.tmLanguage.js +0 -362
  465. package/dist/scala.js +0 -85
  466. package/dist/scalameta.js +0 -224
  467. package/dist/scss.js +0 -117
  468. package/dist/scss.tmLanguage.js +0 -1887
  469. package/dist/sdl.js +0 -162
  470. package/dist/sdl2.js +0 -90
  471. package/dist/semanticdb.js +0 -62
  472. package/dist/shell-unix-bash.tmLanguage.js +0 -2038
  473. package/dist/shellscript.js +0 -93
  474. package/dist/solargraph.js +0 -192
  475. package/dist/solidity-solidity.js +0 -213
  476. package/dist/solidity.js +0 -1224
  477. package/dist/solidity2.js +0 -71
  478. package/dist/solidity3.js +0 -143
  479. package/dist/sql.js +0 -99
  480. package/dist/sql.tmLanguage.js +0 -636
  481. package/dist/svelte.js +0 -120
  482. package/dist/svelte.svelte-vscode-javascript.js +0 -45
  483. package/dist/svelte.svelte-vscode-svelte.js +0 -46
  484. package/dist/svelte.svelte-vscode-typescript.js +0 -43
  485. package/dist/svelte.svelte-vscode.js +0 -383
  486. package/dist/svelte.tmLanguage.src.yaml.js +0 -1099
  487. package/dist/svlangserver-systemverilog.js +0 -395
  488. package/dist/svlangserver.js +0 -85
  489. package/dist/swift-swift.code-snippets.js +0 -183
  490. package/dist/swift.js +0 -90
  491. package/dist/swift.tmLanguage.js +0 -3312
  492. package/dist/systemverilog.js +0 -187
  493. package/dist/systemverilog.tmLanguage.js +0 -1259
  494. package/dist/tasty.js +0 -72
  495. package/dist/tcl-tcl.js +0 -151
  496. package/dist/tcl.js +0 -78
  497. package/dist/tcl.tmlanguage.yaml.js +0 -5490
  498. package/dist/template.js +0 -207
  499. package/dist/theme-defaults~dark_plus.js +0 -210
  500. package/dist/theme-defaults~dark_plus_experimental.js +0 -145
  501. package/dist/theme-defaults~dark_vs.js +0 -412
  502. package/dist/theme-defaults~hc_black.js +0 -471
  503. package/dist/theme-defaults~hc_light.js +0 -595
  504. package/dist/theme-defaults~light_plus.js +0 -212
  505. package/dist/theme-defaults~light_plus_experimental.js +0 -158
  506. package/dist/theme-defaults~light_vs.js +0 -441
  507. package/dist/typescript-basics-typescript.code-snippets.js +0 -313
  508. package/dist/typescript-language-features.js +0 -1103
  509. package/dist/typescript.js +0 -216
  510. package/dist/typescriptreact.js +0 -216
  511. package/dist/vb-vb.code-snippets.js +0 -88
  512. package/dist/vb.js +0 -79
  513. package/dist/verilog.js +0 -187
  514. package/dist/volar-vue.js +0 -289
  515. package/dist/vscode-R-r-snippets.js +0 -534
  516. package/dist/vscode-R-rmarkdown.js +0 -461
  517. package/dist/vscode-R.js +0 -660
  518. package/dist/vscode-django-filters.js +0 -340
  519. package/dist/vscode-django.js +0 -37
  520. package/dist/vscode-go-go.js +0 -276
  521. package/dist/vscode-go.js +0 -1610
  522. package/dist/vscode-groovy.js +0 -28
  523. package/dist/vscode-python.js +0 -706
  524. package/dist/vue-directives.js +0 -25
  525. package/dist/vue-interpolations.js +0 -25
  526. package/dist/vue-sfc-style-variable-injection.js +0 -63
  527. package/dist/vue.js +0 -151
  528. package/dist/vue.tmLanguage.js +0 -1218
  529. package/dist/xml.js +0 -116
  530. package/dist/xml.tmLanguage.js +0 -395
  531. package/dist/xsl.js +0 -39
  532. package/dist/xsl.tmLanguage.js +0 -102
  533. package/dist/yaml.js +0 -82
  534. package/dist/yaml.tmLanguage.js +0 -629
  535. /package/dist/{extensions → editor}/autofold.d.ts +0 -0
  536. /package/dist/{extensions → editor}/cobol.d.ts +0 -0
  537. /package/dist/{extensions → editor}/index.d.ts +0 -0
package/dist/vscode-go.js DELETED
@@ -1,1610 +0,0 @@
1
- var vscodeGo = [
2
- {
3
- "type": "object",
4
- "title": "Go",
5
- "properties": {
6
- "go.buildOnSave": {
7
- "type": "string",
8
- "enum": [
9
- "package",
10
- "workspace",
11
- "off"
12
- ],
13
- "default": "package",
14
- "description": "Compiles code on file save using 'go build' or 'go test -c'. Options are 'workspace', 'package', or 'off'. Not applicable when using the language server's diagnostics. See 'go.languageServerExperimentalFeatures.diagnostics' setting.",
15
- "scope": 4
16
- },
17
- "go.buildFlags": {
18
- "type": "array",
19
- "items": {
20
- "type": "string"
21
- },
22
- "default": [],
23
- "description": "Flags to `go build`/`go test` used during build-on-save or running tests. (e.g. [\"-ldflags='-s'\"]) This is propagated to the language server if `gopls.build.buildFlags` is not specified.",
24
- "scope": 4
25
- },
26
- "go.buildTags": {
27
- "type": "string",
28
- "default": "",
29
- "description": "The Go build tags to use for all commands, that support a `-tags '...'` argument. When running tests, go.testTags will be used instead if it was set. This is propagated to the language server if `gopls.build.buildFlags` is not specified.",
30
- "scope": 4
31
- },
32
- "go.testTags": {
33
- "type": [
34
- "string",
35
- "null"
36
- ],
37
- "default": null,
38
- "description": "The Go build tags to use for when running tests. If null, then buildTags will be used.",
39
- "scope": 4
40
- },
41
- "go.disableConcurrentTests": {
42
- "type": "boolean",
43
- "default": false,
44
- "description": "If true, tests will not run concurrently. When a new test run is started, the previous will be cancelled.",
45
- "scope": 4
46
- },
47
- "go.installDependenciesWhenBuilding": {
48
- "type": "boolean",
49
- "default": false,
50
- "description": "If true, then `-i` flag will be passed to `go build` everytime the code is compiled. Since Go 1.10, setting this may be unnecessary unless you are in GOPATH mode and do not use the language server.",
51
- "scope": 4
52
- },
53
- "go.lintOnSave": {
54
- "type": "string",
55
- "enum": [
56
- "file",
57
- "package",
58
- "workspace",
59
- "off"
60
- ],
61
- "enumDescriptions": [
62
- "lint the current file on file saving",
63
- "lint the current package on file saving",
64
- "lint all the packages in the current workspace root folder on file saving",
65
- "do not run lint automatically"
66
- ],
67
- "default": "package",
68
- "description": "Lints code on file save using the configured Lint tool. Options are 'file', 'package', 'workspace' or 'off'.",
69
- "scope": 4
70
- },
71
- "go.lintTool": {
72
- "type": "string",
73
- "default": "staticcheck",
74
- "description": "Specifies Lint tool name.",
75
- "scope": 4,
76
- "enum": [
77
- "staticcheck",
78
- "golint",
79
- "golangci-lint",
80
- "revive"
81
- ]
82
- },
83
- "go.lintFlags": {
84
- "type": "array",
85
- "items": {
86
- "type": "string"
87
- },
88
- "default": [],
89
- "description": "Flags to pass to Lint tool (e.g. [\"-min_confidence=.8\"])",
90
- "scope": 4
91
- },
92
- "go.vetOnSave": {
93
- "type": "string",
94
- "enum": [
95
- "package",
96
- "workspace",
97
- "off"
98
- ],
99
- "enumDescriptions": [
100
- "vet the current package on file saving",
101
- "vet all the packages in the current workspace root folder on file saving",
102
- "do not run vet automatically"
103
- ],
104
- "default": "package",
105
- "description": "Vets code on file save using 'go tool vet'. Not applicable when using the language server's diagnostics. See 'go.languageServerExperimentalFeatures.diagnostics' setting.",
106
- "scope": 4
107
- },
108
- "go.vetFlags": {
109
- "type": "array",
110
- "items": {
111
- "type": "string"
112
- },
113
- "default": [],
114
- "description": "Flags to pass to `go tool vet` (e.g. [\"-all\", \"-shadow\"])",
115
- "scope": 4
116
- },
117
- "go.formatTool": {
118
- "type": "string",
119
- "default": "default",
120
- "markdownDescription": "When the language server is enabled and one of `default`/`gofmt`/`goimports`/`gofumpt` is chosen, the language server will handle formatting. If `custom` tool is selected, the extension will use the `customFormatter` tool in the `#go.alternateTools#` section.",
121
- "scope": 4,
122
- "enum": [
123
- "default",
124
- "gofmt",
125
- "goimports",
126
- "goformat",
127
- "gofumpt",
128
- "custom"
129
- ],
130
- "markdownEnumDescriptions": [
131
- "If the language server is enabled, format via the language server, which already supports gofmt, goimports, goreturns, and gofumpt. Otherwise, goimports.",
132
- "Formats the file according to the standard Go style. (not applicable when the language server is enabled)",
133
- "Organizes imports and formats the file with gofmt. (not applicable when the language server is enabled)",
134
- "Configurable gofmt, see https://github.com/mbenkmann/goformat.",
135
- "Stricter version of gofmt, see https://github.com/mvdan/gofumpt. . Use `#gopls.format.gofumpt#` instead)",
136
- "Formats using the custom tool specified as `customFormatter` in the `#go.alternateTools#` setting. The tool should take the input as STDIN and output the formatted code as STDOUT."
137
- ]
138
- },
139
- "go.formatFlags": {
140
- "type": "array",
141
- "items": {
142
- "type": "string"
143
- },
144
- "default": [],
145
- "description": "Flags to pass to format tool (e.g. [\"-s\"]). Not applicable when using the language server.",
146
- "scope": 4
147
- },
148
- "go.inferGopath": {
149
- "type": "boolean",
150
- "default": false,
151
- "description": "Infer GOPATH from the workspace root. This is ignored when using Go Modules.",
152
- "scope": 4
153
- },
154
- "go.gopath": {
155
- "type": [
156
- "string",
157
- "null"
158
- ],
159
- "default": null,
160
- "description": "Specify GOPATH here to override the one that is set as environment variable. The inferred GOPATH from workspace root overrides this, if go.inferGopath is set to true.",
161
- "scope": 6
162
- },
163
- "go.toolsGopath": {
164
- "type": [
165
- "string",
166
- "null"
167
- ],
168
- "default": null,
169
- "description": "Location to install the Go tools that the extension depends on if you don't want them in your GOPATH.",
170
- "scope": 6
171
- },
172
- "go.goroot": {
173
- "type": [
174
- "string",
175
- "null"
176
- ],
177
- "default": null,
178
- "description": "Specifies the GOROOT to use when no environment variable is set.",
179
- "scope": 6
180
- },
181
- "go.testOnSave": {
182
- "type": "boolean",
183
- "default": false,
184
- "description": "Run 'go test' on save for current package. It is not advised to set this to `true` when you have Auto Save enabled.",
185
- "scope": 4
186
- },
187
- "go.coverOnSave": {
188
- "type": "boolean",
189
- "default": false,
190
- "description": "If true, runs 'go test -coverprofile' on save and shows test coverage.",
191
- "scope": 4
192
- },
193
- "go.coverOnTestPackage": {
194
- "type": "boolean",
195
- "default": true,
196
- "description": "If true, shows test coverage when Go: Test Package command is run.",
197
- "scope": 3
198
- },
199
- "go.coverOnSingleTest": {
200
- "type": "boolean",
201
- "default": false,
202
- "description": "If true, shows test coverage when Go: Test Function at cursor command is run.",
203
- "scope": 3
204
- },
205
- "go.coverOnSingleTestFile": {
206
- "type": "boolean",
207
- "default": false,
208
- "description": "If true, shows test coverage when Go: Test Single File command is run.",
209
- "scope": 3
210
- },
211
- "go.coverMode": {
212
- "type": "string",
213
- "enum": [
214
- "default",
215
- "set",
216
- "count",
217
- "atomic"
218
- ],
219
- "default": "default",
220
- "description": "When generating code coverage, the value for -covermode. 'default' is the default value chosen by the 'go test' command.",
221
- "scope": 4
222
- },
223
- "go.coverShowCounts": {
224
- "type": "boolean",
225
- "default": false,
226
- "description": "When generating code coverage, should counts be shown as --374--",
227
- "scope": 4
228
- },
229
- "go.coverageOptions": {
230
- "type": "string",
231
- "enum": [
232
- "showCoveredCodeOnly",
233
- "showUncoveredCodeOnly",
234
- "showBothCoveredAndUncoveredCode"
235
- ],
236
- "default": "showBothCoveredAndUncoveredCode",
237
- "description": "Use these options to control whether only covered or only uncovered code or both should be highlighted after running test coverage",
238
- "scope": 4
239
- },
240
- "go.coverageDecorator": {
241
- "type": "object",
242
- "properties": {
243
- "type": {
244
- "type": "string",
245
- "enum": [
246
- "highlight",
247
- "gutter"
248
- ]
249
- },
250
- "coveredHighlightColor": {
251
- "type": "string",
252
- "description": "Color in the rgba format to use to highlight covered code."
253
- },
254
- "uncoveredHighlightColor": {
255
- "type": "string",
256
- "description": "Color in the rgba format to use to highlight uncovered code."
257
- },
258
- "coveredBorderColor": {
259
- "type": "string",
260
- "description": "Color to use for the border of covered code."
261
- },
262
- "uncoveredBorderColor": {
263
- "type": "string",
264
- "description": "Color to use for the border of uncovered code."
265
- },
266
- "coveredGutterStyle": {
267
- "type": "string",
268
- "enum": [
269
- "blockblue",
270
- "blockred",
271
- "blockgreen",
272
- "blockyellow",
273
- "slashred",
274
- "slashgreen",
275
- "slashblue",
276
- "slashyellow",
277
- "verticalred",
278
- "verticalgreen",
279
- "verticalblue",
280
- "verticalyellow"
281
- ],
282
- "description": "Gutter style to indicate covered code."
283
- },
284
- "uncoveredGutterStyle": {
285
- "type": "string",
286
- "enum": [
287
- "blockblue",
288
- "blockred",
289
- "blockgreen",
290
- "blockyellow",
291
- "slashred",
292
- "slashgreen",
293
- "slashblue",
294
- "slashyellow",
295
- "verticalred",
296
- "verticalgreen",
297
- "verticalblue",
298
- "verticalyellow"
299
- ],
300
- "description": "Gutter style to indicate covered code."
301
- }
302
- },
303
- "additionalProperties": false,
304
- "default": {
305
- "type": "highlight",
306
- "coveredHighlightColor": "rgba(64,128,128,0.5)",
307
- "uncoveredHighlightColor": "rgba(128,64,64,0.25)",
308
- "coveredBorderColor": "rgba(64,128,128,0.5)",
309
- "uncoveredBorderColor": "rgba(128,64,64,0.25)",
310
- "coveredGutterStyle": "blockblue",
311
- "uncoveredGutterStyle": "slashyellow"
312
- },
313
- "description": "This option lets you choose the way to display code coverage. Choose either to highlight the complete line or to show a decorator in the gutter. You can customize the colors and borders for the former and the style for the latter.",
314
- "scope": 4
315
- },
316
- "go.testTimeout": {
317
- "type": "string",
318
- "default": "30s",
319
- "description": "Specifies the timeout for go test in ParseDuration format.",
320
- "scope": 4
321
- },
322
- "go.testEnvVars": {
323
- "type": "object",
324
- "default": {},
325
- "description": "Environment variables that will be passed to the process that runs the Go tests",
326
- "scope": 4
327
- },
328
- "go.testEnvFile": {
329
- "type": "string",
330
- "default": null,
331
- "description": "Absolute path to a file containing environment variables definitions. File contents should be of the form key=value.",
332
- "scope": 4
333
- },
334
- "go.testFlags": {
335
- "type": [
336
- "array",
337
- "null"
338
- ],
339
- "items": {
340
- "type": "string"
341
- },
342
- "default": null,
343
- "description": "Flags to pass to `go test`. If null, then buildFlags will be used. This is not propagated to the language server.",
344
- "scope": 4
345
- },
346
- "go.testExplorer.enable": {
347
- "type": "boolean",
348
- "default": true,
349
- "scope": 3,
350
- "description": "Enable the Go test explorer"
351
- },
352
- "go.testExplorer.packageDisplayMode": {
353
- "type": "string",
354
- "enum": [
355
- "flat",
356
- "nested"
357
- ],
358
- "default": "flat",
359
- "description": "Present packages in the test explorer flat or nested.",
360
- "scope": 4
361
- },
362
- "go.testExplorer.alwaysRunBenchmarks": {
363
- "type": "boolean",
364
- "default": false,
365
- "description": "Run benchmarks when running all tests in a file or folder.",
366
- "scope": 4
367
- },
368
- "go.testExplorer.concatenateMessages": {
369
- "type": "boolean",
370
- "default": true,
371
- "description": "Concatenate all test log messages for a given location into a single message.",
372
- "scope": 4
373
- },
374
- "go.testExplorer.showDynamicSubtestsInEditor": {
375
- "type": "boolean",
376
- "default": false,
377
- "description": "Set the source location of dynamically discovered subtests to the location of the containing function. As a result, dynamically discovered subtests will be added to the gutter test widget of the containing function.",
378
- "scope": 4
379
- },
380
- "go.testExplorer.showOutput": {
381
- "type": "boolean",
382
- "default": true,
383
- "description": "Open the test output terminal when a test run is started.",
384
- "scope": 3
385
- },
386
- "go.generateTestsFlags": {
387
- "type": "array",
388
- "items": {
389
- "type": "string"
390
- },
391
- "default": [],
392
- "description": "Additional command line flags to pass to `gotests` for generating tests.",
393
- "scope": 4
394
- },
395
- "go.toolsEnvVars": {
396
- "type": "object",
397
- "default": {},
398
- "description": "Environment variables that will be passed to the tools that run the Go tools (e.g. CGO_CFLAGS) and debuggee process launched by Delve. Format as string key:value pairs. When debugging, merged with `envFile` and `env` values with precedence `env` > `envFile` > `go.toolsEnvVars`.",
399
- "scope": 4
400
- },
401
- "go.gocodeFlags": {
402
- "type": "array",
403
- "items": {
404
- "type": "string"
405
- },
406
- "default": [
407
- "-builtin",
408
- "-ignore-case",
409
- "-unimported-packages"
410
- ],
411
- "description": "Additional flags to pass to gocode. Not applicable when using the language server.",
412
- "scope": 4
413
- },
414
- "go.gocodeAutoBuild": {
415
- "type": "boolean",
416
- "default": false,
417
- "description": "Enable gocode's autobuild feature. Not applicable when using the language server.",
418
- "scope": 4
419
- },
420
- "go.gocodePackageLookupMode": {
421
- "type": "string",
422
- "enum": [
423
- "go",
424
- "gb",
425
- "bzl"
426
- ],
427
- "default": "go",
428
- "description": "Used to determine the Go package lookup rules for completions by gocode. Only applies when using nsf/gocode. Latest versions of the Go extension uses mdempsky/gocode by default. Not applicable when using the language server.",
429
- "scope": 4
430
- },
431
- "go.useCodeSnippetsOnFunctionSuggest": {
432
- "type": "boolean",
433
- "default": false,
434
- "description": "Complete functions with their parameter signature, including the variable type. Not propagated to the language server.",
435
- "scope": 4
436
- },
437
- "go.useCodeSnippetsOnFunctionSuggestWithoutType": {
438
- "type": "boolean",
439
- "default": false,
440
- "description": "Complete functions with their parameter signature, excluding the variable types. Use `gopls.usePlaceholders` when using the language server.",
441
- "scope": 4
442
- },
443
- "go.autocompleteUnimportedPackages": {
444
- "type": "boolean",
445
- "default": false,
446
- "description": "Include unimported packages in auto-complete suggestions. Not applicable when using the language server.",
447
- "scope": 4
448
- },
449
- "go.docsTool": {
450
- "type": "string",
451
- "default": "godoc",
452
- "description": "Pick 'godoc' or 'gogetdoc' to get documentation. Not applicable when using the language server.",
453
- "scope": 4,
454
- "enum": [
455
- "godoc",
456
- "gogetdoc",
457
- "guru"
458
- ]
459
- },
460
- "go.useLanguageServer": {
461
- "type": "boolean",
462
- "default": true,
463
- "description": "Use the Go language server \"gopls\" from Google for powering language features like code navigation, completion, refactoring, formatting & diagnostics.",
464
- "scope": 3
465
- },
466
- "go.languageServerFlags": {
467
- "type": "array",
468
- "default": [],
469
- "description": "Flags like -rpc.trace and -logfile to be used while running the language server.",
470
- "scope": 3
471
- },
472
- "go.languageServerExperimentalFeatures": {
473
- "type": "object",
474
- "properties": {
475
- "diagnostics": {
476
- "type": "boolean",
477
- "default": true,
478
- "description": "If true, the language server will provide build, vet errors and the extension will ignore the `buildOnSave`, `vetOnSave` settings."
479
- }
480
- },
481
- "additionalProperties": false,
482
- "default": {
483
- "diagnostics": true
484
- },
485
- "markdownDescription": "Temporary flag to enable/disable diagnostics from the language server. This setting will be deprecated soon. Please see and response to [Issue 50](https://github.com/golang/vscode-go/issues/50).",
486
- "scope": 3
487
- },
488
- "go.trace.server": {
489
- "type": "string",
490
- "enum": [
491
- "off",
492
- "messages",
493
- "verbose"
494
- ],
495
- "default": "off",
496
- "description": "Trace the communication between VS Code and the Go language server.",
497
- "scope": 3
498
- },
499
- "go.logging.level": {
500
- "type": "string",
501
- "default": "error",
502
- "enum": [
503
- "off",
504
- "error",
505
- "info",
506
- "verbose"
507
- ],
508
- "description": "The logging level the extension logs at, defaults to 'error'",
509
- "scope": 6
510
- },
511
- "go.toolsManagement.go": {
512
- "type": "string",
513
- "default": "",
514
- "description": "The path to the `go` binary used to install the Go tools. If it's empty, the same `go` binary chosen for the project will be used for tool installation.",
515
- "scope": 6
516
- },
517
- "go.toolsManagement.checkForUpdates": {
518
- "type": "string",
519
- "default": "proxy",
520
- "enum": [
521
- "proxy",
522
- "local",
523
- "off"
524
- ],
525
- "enumDescriptions": [
526
- "keeps notified of new releases by checking the Go module proxy (GOPROXY)",
527
- "checks only the minimum tools versions required by the extension",
528
- "completely disables version check (not recommended)"
529
- ],
530
- "markdownDescription": "Specify whether to prompt about new versions of Go and the Go tools (currently, only `gopls`) the extension depends on",
531
- "scope": 3
532
- },
533
- "go.toolsManagement.autoUpdate": {
534
- "type": "boolean",
535
- "default": false,
536
- "description": "Automatically update the tools used by the extension, without prompting the user.",
537
- "scope": 4
538
- },
539
- "go.useGoProxyToCheckForToolUpdates": {
540
- "type": "boolean",
541
- "default": true,
542
- "description": "When enabled, the extension automatically checks the Go proxy if there are updates available for Go and the Go tools (at present, only gopls) it depends on and prompts the user accordingly",
543
- "markdownDeprecationMessage": "Use `go.toolsManagement.checkForUpdates` instead.",
544
- "scope": 3
545
- },
546
- "go.gotoSymbol.includeImports": {
547
- "type": "boolean",
548
- "default": false,
549
- "description": "If false, the import statements will be excluded while using the Go to Symbol in File feature. Not applicable when using the language server.",
550
- "scope": 4
551
- },
552
- "go.gotoSymbol.includeGoroot": {
553
- "type": "boolean",
554
- "default": false,
555
- "description": "If false, the standard library located at $GOROOT will be excluded while using the Go to Symbol in File feature. Not applicable when using the language server.",
556
- "scope": 4
557
- },
558
- "go.enableCodeLens": {
559
- "type": "object",
560
- "properties": {
561
- "runtest": {
562
- "type": "boolean",
563
- "default": true,
564
- "description": "If true, enables code lens for running and debugging tests"
565
- }
566
- },
567
- "additionalProperties": false,
568
- "default": {
569
- "runtest": true
570
- },
571
- "description": "Feature level setting to enable/disable code lens for references and run/debug tests",
572
- "scope": 4
573
- },
574
- "go.addTags": {
575
- "type": "object",
576
- "properties": {
577
- "promptForTags": {
578
- "type": "boolean",
579
- "default": false,
580
- "description": "If true, Go: Add Tags command will prompt the user to provide tags, options, transform values instead of using the configured values"
581
- },
582
- "tags": {
583
- "type": "string",
584
- "default": "json",
585
- "description": "Comma separated tags to be used by Go: Add Tags command"
586
- },
587
- "options": {
588
- "type": "string",
589
- "default": "json=omitempty",
590
- "description": "Comma separated tag=options pairs to be used by Go: Add Tags command"
591
- },
592
- "transform": {
593
- "type": "string",
594
- "enum": [
595
- "snakecase",
596
- "camelcase",
597
- "lispcase",
598
- "pascalcase",
599
- "keep"
600
- ],
601
- "default": "snakecase",
602
- "description": "Transformation rule used by Go: Add Tags command to add tags"
603
- },
604
- "template": {
605
- "type": "string",
606
- "default": "",
607
- "description": "Custom format used by Go: Add Tags command for the tag value to be applied"
608
- }
609
- },
610
- "additionalProperties": false,
611
- "default": {
612
- "tags": "json",
613
- "options": "json=omitempty",
614
- "promptForTags": false,
615
- "transform": "snakecase",
616
- "template": ""
617
- },
618
- "description": "Tags and options configured here will be used by the Add Tags command to add tags to struct fields. If promptForTags is true, then user will be prompted for tags and options. By default, json tags are added.",
619
- "scope": 4
620
- },
621
- "go.liveErrors": {
622
- "type": "object",
623
- "properties": {
624
- "enabled": {
625
- "type": "boolean",
626
- "default": false,
627
- "description": "If true, runs gotype on the file currently being edited and reports any semantic or syntactic errors found. Disabled when the language server is enabled."
628
- },
629
- "delay": {
630
- "type": "number",
631
- "default": 500,
632
- "description": "The number of milliseconds to delay before execution. Resets with each keystroke."
633
- }
634
- },
635
- "additionalProperties": false,
636
- "default": {
637
- "enabled": false,
638
- "delay": 500
639
- },
640
- "description": "Use gotype on the file currently being edited and report any semantic or syntactic errors found after configured delay. Not applicable when using the language server.",
641
- "scope": 4
642
- },
643
- "go.removeTags": {
644
- "type": "object",
645
- "properties": {
646
- "promptForTags": {
647
- "type": "boolean",
648
- "default": false,
649
- "description": "If true, Go: Remove Tags command will prompt the user to provide tags and options instead of using the configured values"
650
- },
651
- "tags": {
652
- "type": "string",
653
- "default": "json",
654
- "description": "Comma separated tags to be used by Go: Remove Tags command"
655
- },
656
- "options": {
657
- "type": "string",
658
- "default": "json=omitempty",
659
- "description": "Comma separated tag=options pairs to be used by Go: Remove Tags command"
660
- }
661
- },
662
- "additionalProperties": false,
663
- "default": {
664
- "tags": "",
665
- "options": "",
666
- "promptForTags": false
667
- },
668
- "description": "Tags and options configured here will be used by the Remove Tags command to remove tags to struct fields. If promptForTags is true, then user will be prompted for tags and options. By default, all tags and options will be removed.",
669
- "scope": 4
670
- },
671
- "go.playground": {
672
- "type": "object",
673
- "properties": {
674
- "openbrowser": {
675
- "type": "boolean",
676
- "default": true,
677
- "description": "Whether to open the created Go Playground in the default browser"
678
- },
679
- "share": {
680
- "type": "boolean",
681
- "default": true,
682
- "description": "Whether to make the created Go Playground shareable"
683
- },
684
- "run": {
685
- "type": "boolean",
686
- "default": true,
687
- "description": "Whether to run the created Go Playground after creation"
688
- }
689
- },
690
- "description": "The flags configured here will be passed through to command `goplay`",
691
- "additionalProperties": false,
692
- "default": {
693
- "openbrowser": true,
694
- "share": true,
695
- "run": true
696
- },
697
- "scope": 3
698
- },
699
- "go.survey.prompt": {
700
- "type": "boolean",
701
- "default": true,
702
- "description": "Prompt for surveys, including the gopls survey and the Go developer survey.",
703
- "scope": 3
704
- },
705
- "go.editorContextMenuCommands": {
706
- "type": "object",
707
- "properties": {
708
- "toggleTestFile": {
709
- "type": "boolean",
710
- "default": true,
711
- "description": "If true, adds command to toggle between a Go file and its test file to the editor context menu"
712
- },
713
- "addTags": {
714
- "type": "boolean",
715
- "default": true,
716
- "description": "If true, adds command to add configured tags from struct fields to the editor context menu"
717
- },
718
- "removeTags": {
719
- "type": "boolean",
720
- "default": true,
721
- "description": "If true, adds command to remove configured tags from struct fields to the editor context menu"
722
- },
723
- "fillStruct": {
724
- "type": "boolean",
725
- "default": true,
726
- "description": "If true, adds command to fill struct literal with default values to the editor context menu"
727
- },
728
- "testAtCursor": {
729
- "type": "boolean",
730
- "default": false,
731
- "description": "If true, adds command to run the test under the cursor to the editor context menu"
732
- },
733
- "testFile": {
734
- "type": "boolean",
735
- "default": true,
736
- "description": "If true, adds command to run all tests in the current file to the editor context menu"
737
- },
738
- "testPackage": {
739
- "type": "boolean",
740
- "default": true,
741
- "description": "If true, adds command to run all tests in the current package to the editor context menu"
742
- },
743
- "generateTestForFunction": {
744
- "type": "boolean",
745
- "default": true,
746
- "description": "If true, adds command to generate unit tests for function under the cursor to the editor context menu"
747
- },
748
- "generateTestForFile": {
749
- "type": "boolean",
750
- "default": true,
751
- "description": "If true, adds command to generate unit tests for current file to the editor context menu"
752
- },
753
- "generateTestForPackage": {
754
- "type": "boolean",
755
- "default": true,
756
- "description": "If true, adds command to generate unit tests for current package to the editor context menu"
757
- },
758
- "addImport": {
759
- "type": "boolean",
760
- "default": true,
761
- "description": "If true, adds command to import a package to the editor context menu"
762
- },
763
- "testCoverage": {
764
- "type": "boolean",
765
- "default": true,
766
- "description": "If true, adds command to run test coverage to the editor context menu"
767
- },
768
- "playground": {
769
- "type": "boolean",
770
- "default": true,
771
- "description": "If true, adds command to upload the current file or selection to the Go Playground"
772
- },
773
- "debugTestAtCursor": {
774
- "type": "boolean",
775
- "default": false,
776
- "description": "If true, adds command to debug the test under the cursor to the editor context menu"
777
- },
778
- "benchmarkAtCursor": {
779
- "type": "boolean",
780
- "default": false,
781
- "description": "If true, adds command to benchmark the test under the cursor to the editor context menu"
782
- }
783
- },
784
- "additionalProperties": false,
785
- "default": {
786
- "toggleTestFile": true,
787
- "addTags": true,
788
- "removeTags": false,
789
- "fillStruct": false,
790
- "testAtCursor": true,
791
- "testFile": false,
792
- "testPackage": false,
793
- "generateTestForFunction": true,
794
- "generateTestForFile": false,
795
- "generateTestForPackage": false,
796
- "addImport": true,
797
- "testCoverage": true,
798
- "playground": true,
799
- "debugTestAtCursor": true,
800
- "benchmarkAtCursor": false
801
- },
802
- "description": "Experimental Feature: Enable/Disable entries from the context menu in the editor.",
803
- "scope": 4
804
- },
805
- "go.gotoSymbol.ignoreFolders": {
806
- "type": "array",
807
- "items": {
808
- "type": "string"
809
- },
810
- "default": [],
811
- "description": "Folder names (not paths) to ignore while using Go to Symbol in Workspace feature. Not applicable when using the language server.",
812
- "scope": 4
813
- },
814
- "go.delveConfig": {
815
- "type": "object",
816
- "properties": {
817
- "dlvLoadConfig": {
818
- "type": "object",
819
- "properties": {
820
- "followPointers": {
821
- "type": "boolean",
822
- "description": "FollowPointers requests pointers to be automatically dereferenced",
823
- "default": true
824
- },
825
- "maxVariableRecurse": {
826
- "type": "number",
827
- "description": "MaxVariableRecurse is how far to recurse when evaluating nested types",
828
- "default": 1
829
- },
830
- "maxStringLen": {
831
- "type": "number",
832
- "description": "MaxStringLen is the maximum number of bytes read from a string",
833
- "default": 64
834
- },
835
- "maxArrayValues": {
836
- "type": "number",
837
- "description": "MaxArrayValues is the maximum number of elements read from an array, a slice or a map",
838
- "default": 64
839
- },
840
- "maxStructFields": {
841
- "type": "number",
842
- "description": "MaxStructFields is the maximum number of fields read from a struct, -1 will read all fields",
843
- "default": -1
844
- }
845
- },
846
- "description": "LoadConfig describes to delve, how to load values from target's memory. Ignored by 'dlv-dap'.",
847
- "default": {
848
- "followPointers": true,
849
- "maxVariableRecurse": 1,
850
- "maxStringLen": 64,
851
- "maxArrayValues": 64,
852
- "maxStructFields": -1
853
- }
854
- },
855
- "apiVersion": {
856
- "type": "number",
857
- "enum": [
858
- 1,
859
- 2
860
- ],
861
- "description": "Delve Api Version to use. Default value is 2. This applies only when using the 'legacy' debug adapter.",
862
- "default": 2
863
- },
864
- "showGlobalVariables": {
865
- "type": "boolean",
866
- "description": "Boolean value to indicate whether global package variables should be shown in the variables pane or not.",
867
- "default": false
868
- },
869
- "showRegisters": {
870
- "type": "boolean",
871
- "default": false,
872
- "description": "Boolean value to indicate whether register variables should be shown in the variables pane or not."
873
- },
874
- "hideSystemGoroutines": {
875
- "type": "boolean",
876
- "default": false,
877
- "description": "Boolean value to indicate whether system goroutines should be hidden from call stack view."
878
- },
879
- "showLog": {
880
- "type": "boolean",
881
- "description": "Show log output from the delve debugger. Maps to dlv's `--log` flag.",
882
- "default": false
883
- },
884
- "logOutput": {
885
- "type": "string",
886
- "enum": [
887
- "debugger",
888
- "gdbwire",
889
- "lldbout",
890
- "debuglineerr",
891
- "rpc",
892
- "dap"
893
- ],
894
- "description": "Comma separated list of components that should produce debug output. Maps to dlv's `--log-output` flag. Check `dlv log` for details.",
895
- "default": "debugger"
896
- },
897
- "debugAdapter": {
898
- "type": "string",
899
- "enum": [
900
- "legacy",
901
- "dlv-dap"
902
- ],
903
- "description": "Select which debug adapter to use by default. This is also used for choosing which debug adapter to use when no launch.json is present and with codelenses.",
904
- "default": "dlv-dap"
905
- },
906
- "dlvFlags": {
907
- "type": "array",
908
- "description": "Extra flags for `dlv`. See `dlv help` for the full list of supported. Flags such as `--log-output`, `--log`, `--log-dest`, `--api-version`, `--output`, `--backend` already have corresponding properties in the debug configuration, and flags such as `--listen` and `--headless` are used internally. If they are specified in `dlvFlags`, they may be ignored or cause an error.",
909
- "items": {
910
- "type": "string"
911
- },
912
- "default": []
913
- },
914
- "substitutePath": {
915
- "type": "array",
916
- "items": {
917
- "type": "object",
918
- "properties": {
919
- "from": {
920
- "type": "string",
921
- "description": "The absolute local path to be replaced when passing paths to the debugger",
922
- "default": ""
923
- },
924
- "to": {
925
- "type": "string",
926
- "description": "The absolute remote path to be replaced when passing paths back to the client",
927
- "default": ""
928
- }
929
- }
930
- },
931
- "description": "An array of mappings from a local path to the remote path that is used by the debuggee. The debug adapter will replace the local path with the remote path in all of the calls. Overriden by `remotePath` (in attach request).",
932
- "default": []
933
- }
934
- },
935
- "default": {},
936
- "description": "Delve settings that applies to all debugging sessions. Debug configuration in the launch.json file will override these values.",
937
- "scope": 4
938
- },
939
- "go.alternateTools": {
940
- "type": "object",
941
- "default": {},
942
- "description": "Alternate tools or alternate paths for the same tools used by the Go extension. Provide either absolute path or the name of the binary in GOPATH/bin, GOROOT/bin or PATH. Useful when you want to use wrapper script for the Go tools.",
943
- "scope": 4,
944
- "properties": {
945
- "go": {
946
- "type": "string",
947
- "default": "go",
948
- "description": "Alternate tool to use instead of the go binary or alternate path to use for the go binary."
949
- },
950
- "gopls": {
951
- "type": "string",
952
- "default": "gopls",
953
- "description": "Alternate tool to use instead of the gopls binary or alternate path to use for the gopls binary."
954
- },
955
- "dlv": {
956
- "type": "string",
957
- "default": "dlv",
958
- "description": "Alternate tool to use instead of the dlv binary or alternate path to use for the dlv binary."
959
- },
960
- "customFormatter": {
961
- "type": "string",
962
- "default": "",
963
- "markdownDescription": "Custom formatter to use instead of the language server. This should be used with the `custom` option in `#go.formatTool#`."
964
- }
965
- },
966
- "additionalProperties": true
967
- },
968
- "go.tasks.provideDefault": {
969
- "default": true,
970
- "description": "enable the default go build/test task provider.",
971
- "scope": 3,
972
- "type": "boolean"
973
- },
974
- "go.terminal.activateEnvironment": {
975
- "default": true,
976
- "description": "Apply the Go & PATH environment variables used by the extension to all integrated terminals.",
977
- "scope": 4,
978
- "type": "boolean"
979
- },
980
- "gopls": {
981
- "type": "object",
982
- "markdownDescription": "Configure the default Go language server ('gopls'). In most cases, configuring this section is unnecessary. See [the documentation](https://github.com/golang/tools/blob/master/gopls/doc/settings.md) for all available settings.",
983
- "scope": 4,
984
- "properties": {
985
- "build.allowImplicitNetworkAccess": {
986
- "type": "boolean",
987
- "markdownDescription": "(Experimental) allowImplicitNetworkAccess disables GOPROXY=off, allowing implicit module\ndownloads rather than requiring user action. This option will eventually\nbe removed.\n",
988
- "default": false,
989
- "scope": "resource"
990
- },
991
- "build.allowModfileModifications": {
992
- "type": "boolean",
993
- "markdownDescription": "(Experimental) allowModfileModifications disables -mod=readonly, allowing imports from\nout-of-scope modules. This option will eventually be removed.\n",
994
- "default": false,
995
- "scope": "resource"
996
- },
997
- "build.buildFlags": {
998
- "type": "array",
999
- "markdownDescription": "buildFlags is the set of flags passed on to the build system when invoked.\nIt is applied to queries like `go list`, which is used when discovering files.\nThe most common use is to set `-tags`.\n\nIf unspecified, values of `go.buildFlags, go.buildTags` will be propagated.\n",
1000
- "default": [],
1001
- "scope": "resource"
1002
- },
1003
- "build.directoryFilters": {
1004
- "type": "array",
1005
- "markdownDescription": "directoryFilters can be used to exclude unwanted directories from the\nworkspace. By default, all directories are included. Filters are an\noperator, `+` to include and `-` to exclude, followed by a path prefix\nrelative to the workspace folder. They are evaluated in order, and\nthe last filter that applies to a path controls whether it is included.\nThe path prefix can be empty, so an initial `-` excludes everything.\n\nDirectoryFilters also supports the `**` operator to match 0 or more directories.\n\nExamples:\n\nExclude node_modules at current depth: `-node_modules`\n\nExclude node_modules at any depth: `-**/node_modules`\n\nInclude only project_a: `-` (exclude everything), `+project_a`\n\nInclude only project_a, but not node_modules inside it: `-`, `+project_a`, `-project_a/node_modules`\n",
1006
- "default": [
1007
- "-**/node_modules"
1008
- ],
1009
- "scope": "resource"
1010
- },
1011
- "build.env": {
1012
- "type": "object",
1013
- "markdownDescription": "env adds environment variables to external commands run by `gopls`, most notably `go list`.\n",
1014
- "scope": "resource"
1015
- },
1016
- "build.expandWorkspaceToModule": {
1017
- "type": "boolean",
1018
- "markdownDescription": "(Experimental) expandWorkspaceToModule instructs `gopls` to adjust the scope of the\nworkspace to find the best available module root. `gopls` first looks for\na go.mod file in any parent directory of the workspace folder, expanding\nthe scope to that directory if it exists. If no viable parent directory is\nfound, gopls will check if there is exactly one child directory containing\na go.mod file, narrowing the scope to that directory if it exists.\n",
1019
- "default": true,
1020
- "scope": "resource"
1021
- },
1022
- "build.experimentalPackageCacheKey": {
1023
- "type": "boolean",
1024
- "markdownDescription": "(Experimental) experimentalPackageCacheKey controls whether to use a coarser cache key\nfor package type information to increase cache hits. This setting removes\nthe user's environment, build flags, and working directory from the cache\nkey, which should be a safe change as all relevant inputs into the type\nchecking pass are already hashed into the key. This is temporarily guarded\nby an experiment because caching behavior is subtle and difficult to\ncomprehensively test.\n",
1025
- "default": true,
1026
- "scope": "resource"
1027
- },
1028
- "build.experimentalWorkspaceModule": {
1029
- "type": "boolean",
1030
- "markdownDescription": "(Experimental) experimentalWorkspaceModule opts a user into the experimental support\nfor multi-module workspaces.\n\nDeprecated: this feature is deprecated and will be removed in a future\nversion of gopls (https://go.dev/issue/55331).\n",
1031
- "default": false,
1032
- "scope": "resource"
1033
- },
1034
- "build.memoryMode": {
1035
- "type": "string",
1036
- "markdownDescription": "(Experimental) memoryMode controls the tradeoff `gopls` makes between memory usage and\ncorrectness.\n\nValues other than `Normal` are untested and may break in surprising ways.\n",
1037
- "enum": [
1038
- "DegradeClosed",
1039
- "Normal"
1040
- ],
1041
- "markdownEnumDescriptions": [
1042
- "`\"DegradeClosed\"`: In DegradeClosed mode, `gopls` will collect less information about\npackages without open files. As a result, features like Find\nReferences and Rename will miss results in such packages.\n",
1043
- ""
1044
- ],
1045
- "default": "Normal",
1046
- "scope": "resource"
1047
- },
1048
- "build.standaloneTags": {
1049
- "type": "array",
1050
- "markdownDescription": "standaloneTags specifies a set of build constraints that identify\nindividual Go source files that make up the entire main package of an\nexecutable.\n\nA common example of standalone main files is the convention of using the\ndirective `//go:build ignore` to denote files that are not intended to be\nincluded in any package, for example because they are invoked directly by\nthe developer using `go run`.\n\nGopls considers a file to be a standalone main file if and only if it has\npackage name \"main\" and has a build directive of the exact form\n\"//go:build tag\" or \"// +build tag\", where tag is among the list of tags\nconfigured by this setting. Notably, if the build constraint is more\ncomplicated than a simple tag (such as the composite constraint\n`//go:build tag && go1.18`), the file is not considered to be a standalone\nmain file.\n\nThis setting is only supported when gopls is built with Go 1.16 or later.\n",
1051
- "default": [
1052
- "ignore"
1053
- ],
1054
- "scope": "resource"
1055
- },
1056
- "build.templateExtensions": {
1057
- "type": "array",
1058
- "markdownDescription": "templateExtensions gives the extensions of file names that are treateed\nas template files. (The extension\nis the part of the file name after the final dot.)\n",
1059
- "default": [],
1060
- "scope": "resource"
1061
- },
1062
- "formatting.gofumpt": {
1063
- "type": "boolean",
1064
- "markdownDescription": "gofumpt indicates if we should run gofumpt formatting.\n",
1065
- "default": false,
1066
- "scope": "resource"
1067
- },
1068
- "formatting.local": {
1069
- "type": "string",
1070
- "markdownDescription": "local is the equivalent of the `goimports -local` flag, which puts\nimports beginning with this string after third-party packages. It should\nbe the prefix of the import path whose imports should be grouped\nseparately.\n",
1071
- "default": "",
1072
- "scope": "resource"
1073
- },
1074
- "ui.codelenses": {
1075
- "type": "object",
1076
- "markdownDescription": "codelenses overrides the enabled/disabled state of code lenses. See the\n\"Code Lenses\" section of the\n[Settings page](https://github.com/golang/tools/blob/master/gopls/doc/settings.md#code-lenses)\nfor the list of supported lenses.\n\nExample Usage:\n\n```json5\n\"gopls\": {\n...\n \"codelenses\": {\n \"generate\": false, // Don't show the `go generate` lens.\n \"gc_details\": true // Show a code lens toggling the display of gc's choices.\n }\n...\n}\n```\n",
1077
- "scope": "resource",
1078
- "properties": {
1079
- "gc_details": {
1080
- "type": "boolean",
1081
- "markdownDescription": "Toggle the calculation of gc annotations.",
1082
- "default": false
1083
- },
1084
- "generate": {
1085
- "type": "boolean",
1086
- "markdownDescription": "Runs `go generate` for a given directory.",
1087
- "default": true
1088
- },
1089
- "regenerate_cgo": {
1090
- "type": "boolean",
1091
- "markdownDescription": "Regenerates cgo definitions.",
1092
- "default": true
1093
- },
1094
- "run_govulncheck": {
1095
- "type": "boolean",
1096
- "markdownDescription": "Run vulnerability check (`govulncheck`).",
1097
- "default": false
1098
- },
1099
- "test": {
1100
- "type": "boolean",
1101
- "markdownDescription": "Runs `go test` for a specific set of test or benchmark functions.",
1102
- "default": false
1103
- },
1104
- "tidy": {
1105
- "type": "boolean",
1106
- "markdownDescription": "Runs `go mod tidy` for a module.",
1107
- "default": true
1108
- },
1109
- "upgrade_dependency": {
1110
- "type": "boolean",
1111
- "markdownDescription": "Upgrades a dependency in the go.mod file for a module.",
1112
- "default": true
1113
- },
1114
- "vendor": {
1115
- "type": "boolean",
1116
- "markdownDescription": "Runs `go mod vendor` for a module.",
1117
- "default": true
1118
- }
1119
- }
1120
- },
1121
- "ui.completion.completionBudget": {
1122
- "type": "string",
1123
- "markdownDescription": "(For Debugging) completionBudget is the soft latency goal for completion requests. Most\nrequests finish in a couple milliseconds, but in some cases deep\ncompletions can take much longer. As we use up our budget we\ndynamically reduce the search scope to ensure we return timely\nresults. Zero means unlimited.\n",
1124
- "default": "100ms",
1125
- "scope": "resource"
1126
- },
1127
- "ui.completion.experimentalPostfixCompletions": {
1128
- "type": "boolean",
1129
- "markdownDescription": "(Experimental) experimentalPostfixCompletions enables artificial method snippets\nsuch as \"someSlice.sort!\".\n",
1130
- "default": true,
1131
- "scope": "resource"
1132
- },
1133
- "ui.completion.matcher": {
1134
- "type": "string",
1135
- "markdownDescription": "(Advanced) matcher sets the algorithm that is used when calculating completion\ncandidates.\n",
1136
- "enum": [
1137
- "CaseInsensitive",
1138
- "CaseSensitive",
1139
- "Fuzzy"
1140
- ],
1141
- "markdownEnumDescriptions": [
1142
- "",
1143
- "",
1144
- ""
1145
- ],
1146
- "default": "Fuzzy",
1147
- "scope": "resource"
1148
- },
1149
- "ui.completion.usePlaceholders": {
1150
- "type": "boolean",
1151
- "markdownDescription": "placeholders enables placeholders for function parameters or struct\nfields in completion responses.\n",
1152
- "default": false,
1153
- "scope": "resource"
1154
- },
1155
- "ui.diagnostic.analyses": {
1156
- "type": "object",
1157
- "markdownDescription": "analyses specify analyses that the user would like to enable or disable.\nA map of the names of analysis passes that should be enabled/disabled.\nA full list of analyzers that gopls uses can be found in\n[analyzers.md](https://github.com/golang/tools/blob/master/gopls/doc/analyzers.md).\n\nExample Usage:\n\n```json5\n...\n\"analyses\": {\n \"unreachable\": false, // Disable the unreachable analyzer.\n \"unusedparams\": true // Enable the unusedparams analyzer.\n}\n...\n```\n",
1158
- "scope": "resource",
1159
- "properties": {
1160
- "asmdecl": {
1161
- "type": "boolean",
1162
- "markdownDescription": "report mismatches between assembly files and Go declarations",
1163
- "default": true
1164
- },
1165
- "assign": {
1166
- "type": "boolean",
1167
- "markdownDescription": "check for useless assignments\n\nThis checker reports assignments of the form x = x or a[i] = a[i].\nThese are almost always useless, and even when they aren't they are\nusually a mistake.",
1168
- "default": true
1169
- },
1170
- "atomic": {
1171
- "type": "boolean",
1172
- "markdownDescription": "check for common mistakes using the sync/atomic package\n\nThe atomic checker looks for assignment statements of the form:\n\n\tx = atomic.AddUint64(&x, 1)\n\nwhich are not atomic.",
1173
- "default": true
1174
- },
1175
- "atomicalign": {
1176
- "type": "boolean",
1177
- "markdownDescription": "check for non-64-bits-aligned arguments to sync/atomic functions",
1178
- "default": true
1179
- },
1180
- "bools": {
1181
- "type": "boolean",
1182
- "markdownDescription": "check for common mistakes involving boolean operators",
1183
- "default": true
1184
- },
1185
- "buildtag": {
1186
- "type": "boolean",
1187
- "markdownDescription": "check that +build tags are well-formed and correctly located",
1188
- "default": true
1189
- },
1190
- "cgocall": {
1191
- "type": "boolean",
1192
- "markdownDescription": "detect some violations of the cgo pointer passing rules\n\nCheck for invalid cgo pointer passing.\nThis looks for code that uses cgo to call C code passing values\nwhose types are almost always invalid according to the cgo pointer\nsharing rules.\nSpecifically, it warns about attempts to pass a Go chan, map, func,\nor slice to C, either directly, or via a pointer, array, or struct.",
1193
- "default": true
1194
- },
1195
- "composites": {
1196
- "type": "boolean",
1197
- "markdownDescription": "check for unkeyed composite literals\n\nThis analyzer reports a diagnostic for composite literals of struct\ntypes imported from another package that do not use the field-keyed\nsyntax. Such literals are fragile because the addition of a new field\n(even if unexported) to the struct will cause compilation to fail.\n\nAs an example,\n\n\terr = &net.DNSConfigError{err}\n\nshould be replaced by:\n\n\terr = &net.DNSConfigError{Err: err}\n",
1198
- "default": true
1199
- },
1200
- "copylocks": {
1201
- "type": "boolean",
1202
- "markdownDescription": "check for locks erroneously passed by value\n\nInadvertently copying a value containing a lock, such as sync.Mutex or\nsync.WaitGroup, may cause both copies to malfunction. Generally such\nvalues should be referred to through a pointer.",
1203
- "default": true
1204
- },
1205
- "deepequalerrors": {
1206
- "type": "boolean",
1207
- "markdownDescription": "check for calls of reflect.DeepEqual on error values\n\nThe deepequalerrors checker looks for calls of the form:\n\n reflect.DeepEqual(err1, err2)\n\nwhere err1 and err2 are errors. Using reflect.DeepEqual to compare\nerrors is discouraged.",
1208
- "default": true
1209
- },
1210
- "embed": {
1211
- "type": "boolean",
1212
- "markdownDescription": "check for //go:embed directive import\n\nThis analyzer checks that the embed package is imported when source code contains //go:embed comment directives.\nThe embed package must be imported for //go:embed directives to function.import _ \"embed\".",
1213
- "default": true
1214
- },
1215
- "errorsas": {
1216
- "type": "boolean",
1217
- "markdownDescription": "report passing non-pointer or non-error values to errors.As\n\nThe errorsas analysis reports calls to errors.As where the type\nof the second argument is not a pointer to a type implementing error.",
1218
- "default": true
1219
- },
1220
- "fieldalignment": {
1221
- "type": "boolean",
1222
- "markdownDescription": "find structs that would use less memory if their fields were sorted\n\nThis analyzer find structs that can be rearranged to use less memory, and provides\na suggested edit with the most compact order.\n\nNote that there are two different diagnostics reported. One checks struct size,\nand the other reports \"pointer bytes\" used. Pointer bytes is how many bytes of the\nobject that the garbage collector has to potentially scan for pointers, for example:\n\n\tstruct { uint32; string }\n\nhave 16 pointer bytes because the garbage collector has to scan up through the string's\ninner pointer.\n\n\tstruct { string; *uint32 }\n\nhas 24 pointer bytes because it has to scan further through the *uint32.\n\n\tstruct { string; uint32 }\n\nhas 8 because it can stop immediately after the string pointer.\n\nBe aware that the most compact order is not always the most efficient.\nIn rare cases it may cause two variables each updated by its own goroutine\nto occupy the same CPU cache line, inducing a form of memory contention\nknown as \"false sharing\" that slows down both goroutines.\n",
1223
- "default": false
1224
- },
1225
- "fillreturns": {
1226
- "type": "boolean",
1227
- "markdownDescription": "suggest fixes for errors due to an incorrect number of return values\n\nThis checker provides suggested fixes for type errors of the\ntype \"wrong number of return values (want %d, got %d)\". For example:\n\tfunc m() (int, string, *bool, error) {\n\t\treturn\n\t}\nwill turn into\n\tfunc m() (int, string, *bool, error) {\n\t\treturn 0, \"\", nil, nil\n\t}\n\nThis functionality is similar to https://github.com/sqs/goreturns.\n",
1228
- "default": true
1229
- },
1230
- "fillstruct": {
1231
- "type": "boolean",
1232
- "markdownDescription": "note incomplete struct initializations\n\nThis analyzer provides diagnostics for any struct literals that do not have\nany fields initialized. Because the suggested fix for this analysis is\nexpensive to compute, callers should compute it separately, using the\nSuggestedFix function below.\n",
1233
- "default": true
1234
- },
1235
- "httpresponse": {
1236
- "type": "boolean",
1237
- "markdownDescription": "check for mistakes using HTTP responses\n\nA common mistake when using the net/http package is to defer a function\ncall to close the http.Response Body before checking the error that\ndetermines whether the response is valid:\n\n\tresp, err := http.Head(url)\n\tdefer resp.Body.Close()\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\t// (defer statement belongs here)\n\nThis checker helps uncover latent nil dereference bugs by reporting a\ndiagnostic for such mistakes.",
1238
- "default": true
1239
- },
1240
- "ifaceassert": {
1241
- "type": "boolean",
1242
- "markdownDescription": "detect impossible interface-to-interface type assertions\n\nThis checker flags type assertions v.(T) and corresponding type-switch cases\nin which the static type V of v is an interface that cannot possibly implement\nthe target interface T. This occurs when V and T contain methods with the same\nname but different signatures. Example:\n\n\tvar v interface {\n\t\tRead()\n\t}\n\t_ = v.(io.Reader)\n\nThe Read method in v has a different signature than the Read method in\nio.Reader, so this assertion cannot succeed.\n",
1243
- "default": true
1244
- },
1245
- "infertypeargs": {
1246
- "type": "boolean",
1247
- "markdownDescription": "check for unnecessary type arguments in call expressions\n\nExplicit type arguments may be omitted from call expressions if they can be\ninferred from function arguments, or from other type arguments:\n\n\tfunc f[T any](T) {}\n\t\n\tfunc _() {\n\t\tf[string](\"foo\") // string could be inferred\n\t}\n",
1248
- "default": true
1249
- },
1250
- "loopclosure": {
1251
- "type": "boolean",
1252
- "markdownDescription": "check references to loop variables from within nested functions\n\nThis analyzer reports places where a function literal references the\niteration variable of an enclosing loop, and the loop calls the function\nin such a way (e.g. with go or defer) that it may outlive the loop\niteration and possibly observe the wrong value of the variable.\n\nIn this example, all the deferred functions run after the loop has\ncompleted, so all observe the final value of v.\n\n for _, v := range list {\n defer func() {\n use(v) // incorrect\n }()\n }\n\nOne fix is to create a new variable for each iteration of the loop:\n\n for _, v := range list {\n v := v // new var per iteration\n defer func() {\n use(v) // ok\n }()\n }\n\nThe next example uses a go statement and has a similar problem.\nIn addition, it has a data race because the loop updates v\nconcurrent with the goroutines accessing it.\n\n for _, v := range elem {\n go func() {\n use(v) // incorrect, and a data race\n }()\n }\n\nA fix is the same as before. The checker also reports problems\nin goroutines started by golang.org/x/sync/errgroup.Group.\nA hard-to-spot variant of this form is common in parallel tests:\n\n func Test(t *testing.T) {\n for _, test := range tests {\n t.Run(test.name, func(t *testing.T) {\n t.Parallel()\n use(test) // incorrect, and a data race\n })\n }\n }\n\nThe t.Parallel() call causes the rest of the function to execute\nconcurrent with the loop.\n\nThe analyzer reports references only in the last statement,\nas it is not deep enough to understand the effects of subsequent\nstatements that might render the reference benign.\n(\"Last statement\" is defined recursively in compound\nstatements such as if, switch, and select.)\n\nSee: https://golang.org/doc/go_faq.html#closures_and_goroutines",
1253
- "default": true
1254
- },
1255
- "lostcancel": {
1256
- "type": "boolean",
1257
- "markdownDescription": "check cancel func returned by context.WithCancel is called\n\nThe cancellation function returned by context.WithCancel, WithTimeout,\nand WithDeadline must be called or the new context will remain live\nuntil its parent context is cancelled.\n(The background context is never cancelled.)",
1258
- "default": true
1259
- },
1260
- "nilfunc": {
1261
- "type": "boolean",
1262
- "markdownDescription": "check for useless comparisons between functions and nil\n\nA useless comparison is one like f == nil as opposed to f() == nil.",
1263
- "default": true
1264
- },
1265
- "nilness": {
1266
- "type": "boolean",
1267
- "markdownDescription": "check for redundant or impossible nil comparisons\n\nThe nilness checker inspects the control-flow graph of each function in\na package and reports nil pointer dereferences, degenerate nil\npointers, and panics with nil values. A degenerate comparison is of the form\nx==nil or x!=nil where x is statically known to be nil or non-nil. These are\noften a mistake, especially in control flow related to errors. Panics with nil\nvalues are checked because they are not detectable by\n\n\tif r := recover(); r != nil {\n\nThis check reports conditions such as:\n\n\tif f == nil { // impossible condition (f is a function)\n\t}\n\nand:\n\n\tp := &v\n\t...\n\tif p != nil { // tautological condition\n\t}\n\nand:\n\n\tif p == nil {\n\t\tprint(*p) // nil dereference\n\t}\n\nand:\n\n\tif p == nil {\n\t\tpanic(p)\n\t}\n",
1268
- "default": false
1269
- },
1270
- "nonewvars": {
1271
- "type": "boolean",
1272
- "markdownDescription": "suggested fixes for \"no new vars on left side of :=\"\n\nThis checker provides suggested fixes for type errors of the\ntype \"no new vars on left side of :=\". For example:\n\tz := 1\n\tz := 2\nwill turn into\n\tz := 1\n\tz = 2\n",
1273
- "default": true
1274
- },
1275
- "noresultvalues": {
1276
- "type": "boolean",
1277
- "markdownDescription": "suggested fixes for unexpected return values\n\nThis checker provides suggested fixes for type errors of the\ntype \"no result values expected\" or \"too many return values\".\nFor example:\n\tfunc z() { return nil }\nwill turn into\n\tfunc z() { return }\n",
1278
- "default": true
1279
- },
1280
- "printf": {
1281
- "type": "boolean",
1282
- "markdownDescription": "check consistency of Printf format strings and arguments\n\nThe check applies to known functions (for example, those in package fmt)\nas well as any detected wrappers of known functions.\n\nA function that wants to avail itself of printf checking but is not\nfound by this analyzer's heuristics (for example, due to use of\ndynamic calls) can insert a bogus call:\n\n\tif false {\n\t\t_ = fmt.Sprintf(format, args...) // enable printf checking\n\t}\n\nThe -funcs flag specifies a comma-separated list of names of additional\nknown formatting functions or methods. If the name contains a period,\nit must denote a specific function using one of the following forms:\n\n\tdir/pkg.Function\n\tdir/pkg.Type.Method\n\t(*dir/pkg.Type).Method\n\nOtherwise the name is interpreted as a case-insensitive unqualified\nidentifier such as \"errorf\". Either way, if a listed name ends in f, the\nfunction is assumed to be Printf-like, taking a format string before the\nargument list. Otherwise it is assumed to be Print-like, taking a list\nof arguments with no format string.\n",
1283
- "default": true
1284
- },
1285
- "shadow": {
1286
- "type": "boolean",
1287
- "markdownDescription": "check for possible unintended shadowing of variables\n\nThis analyzer check for shadowed variables.\nA shadowed variable is a variable declared in an inner scope\nwith the same name and type as a variable in an outer scope,\nand where the outer variable is mentioned after the inner one\nis declared.\n\n(This definition can be refined; the module generates too many\nfalse positives and is not yet enabled by default.)\n\nFor example:\n\n\tfunc BadRead(f *os.File, buf []byte) error {\n\t\tvar err error\n\t\tfor {\n\t\t\tn, err := f.Read(buf) // shadows the function variable 'err'\n\t\t\tif err != nil {\n\t\t\t\tbreak // causes return of wrong value\n\t\t\t}\n\t\t\tfoo(buf)\n\t\t}\n\t\treturn err\n\t}\n",
1288
- "default": false
1289
- },
1290
- "shift": {
1291
- "type": "boolean",
1292
- "markdownDescription": "check for shifts that equal or exceed the width of the integer",
1293
- "default": true
1294
- },
1295
- "simplifycompositelit": {
1296
- "type": "boolean",
1297
- "markdownDescription": "check for composite literal simplifications\n\nAn array, slice, or map composite literal of the form:\n\t[]T{T{}, T{}}\nwill be simplified to:\n\t[]T{{}, {}}\n\nThis is one of the simplifications that \"gofmt -s\" applies.",
1298
- "default": true
1299
- },
1300
- "simplifyrange": {
1301
- "type": "boolean",
1302
- "markdownDescription": "check for range statement simplifications\n\nA range of the form:\n\tfor x, _ = range v {...}\nwill be simplified to:\n\tfor x = range v {...}\n\nA range of the form:\n\tfor _ = range v {...}\nwill be simplified to:\n\tfor range v {...}\n\nThis is one of the simplifications that \"gofmt -s\" applies.",
1303
- "default": true
1304
- },
1305
- "simplifyslice": {
1306
- "type": "boolean",
1307
- "markdownDescription": "check for slice simplifications\n\nA slice expression of the form:\n\ts[a:len(s)]\nwill be simplified to:\n\ts[a:]\n\nThis is one of the simplifications that \"gofmt -s\" applies.",
1308
- "default": true
1309
- },
1310
- "sortslice": {
1311
- "type": "boolean",
1312
- "markdownDescription": "check the argument type of sort.Slice\n\nsort.Slice requires an argument of a slice type. Check that\nthe interface{} value passed to sort.Slice is actually a slice.",
1313
- "default": true
1314
- },
1315
- "stdmethods": {
1316
- "type": "boolean",
1317
- "markdownDescription": "check signature of methods of well-known interfaces\n\nSometimes a type may be intended to satisfy an interface but may fail to\ndo so because of a mistake in its method signature.\nFor example, the result of this WriteTo method should be (int64, error),\nnot error, to satisfy io.WriterTo:\n\n\ttype myWriterTo struct{...}\n func (myWriterTo) WriteTo(w io.Writer) error { ... }\n\nThis check ensures that each method whose name matches one of several\nwell-known interface methods from the standard library has the correct\nsignature for that interface.\n\nChecked method names include:\n\tFormat GobEncode GobDecode MarshalJSON MarshalXML\n\tPeek ReadByte ReadFrom ReadRune Scan Seek\n\tUnmarshalJSON UnreadByte UnreadRune WriteByte\n\tWriteTo\n",
1318
- "default": true
1319
- },
1320
- "stringintconv": {
1321
- "type": "boolean",
1322
- "markdownDescription": "check for string(int) conversions\n\nThis checker flags conversions of the form string(x) where x is an integer\n(but not byte or rune) type. Such conversions are discouraged because they\nreturn the UTF-8 representation of the Unicode code point x, and not a decimal\nstring representation of x as one might expect. Furthermore, if x denotes an\ninvalid code point, the conversion cannot be statically rejected.\n\nFor conversions that intend on using the code point, consider replacing them\nwith string(rune(x)). Otherwise, strconv.Itoa and its equivalents return the\nstring representation of the value in the desired base.\n",
1323
- "default": true
1324
- },
1325
- "structtag": {
1326
- "type": "boolean",
1327
- "markdownDescription": "check that struct field tags conform to reflect.StructTag.Get\n\nAlso report certain struct tags (json, xml) used with unexported fields.",
1328
- "default": true
1329
- },
1330
- "stubmethods": {
1331
- "type": "boolean",
1332
- "markdownDescription": "stub methods analyzer\n\nThis analyzer generates method stubs for concrete types\nin order to implement a target interface",
1333
- "default": true
1334
- },
1335
- "testinggoroutine": {
1336
- "type": "boolean",
1337
- "markdownDescription": "report calls to (*testing.T).Fatal from goroutines started by a test.\n\nFunctions that abruptly terminate a test, such as the Fatal, Fatalf, FailNow, and\nSkip{,f,Now} methods of *testing.T, must be called from the test goroutine itself.\nThis checker detects calls to these functions that occur within a goroutine\nstarted by the test. For example:\n\nfunc TestFoo(t *testing.T) {\n go func() {\n t.Fatal(\"oops\") // error: (*T).Fatal called from non-test goroutine\n }()\n}\n",
1338
- "default": true
1339
- },
1340
- "tests": {
1341
- "type": "boolean",
1342
- "markdownDescription": "check for common mistaken usages of tests and examples\n\nThe tests checker walks Test, Benchmark and Example functions checking\nmalformed names, wrong signatures and examples documenting non-existent\nidentifiers.\n\nPlease see the documentation for package testing in golang.org/pkg/testing\nfor the conventions that are enforced for Tests, Benchmarks, and Examples.",
1343
- "default": true
1344
- },
1345
- "timeformat": {
1346
- "type": "boolean",
1347
- "markdownDescription": "check for calls of (time.Time).Format or time.Parse with 2006-02-01\n\nThe timeformat checker looks for time formats with the 2006-02-01 (yyyy-dd-mm)\nformat. Internationally, \"yyyy-dd-mm\" does not occur in common calendar date\nstandards, and so it is more likely that 2006-01-02 (yyyy-mm-dd) was intended.\n",
1348
- "default": true
1349
- },
1350
- "undeclaredname": {
1351
- "type": "boolean",
1352
- "markdownDescription": "suggested fixes for \"undeclared name: <>\"\n\nThis checker provides suggested fixes for type errors of the\ntype \"undeclared name: <>\". It will either insert a new statement,\nsuch as:\n\n\"<> := \"\n\nor a new function declaration, such as:\n\nfunc <>(inferred parameters) {\n\tpanic(\"implement me!\")\n}\n",
1353
- "default": true
1354
- },
1355
- "unmarshal": {
1356
- "type": "boolean",
1357
- "markdownDescription": "report passing non-pointer or non-interface values to unmarshal\n\nThe unmarshal analysis reports calls to functions such as json.Unmarshal\nin which the argument type is not a pointer or an interface.",
1358
- "default": true
1359
- },
1360
- "unreachable": {
1361
- "type": "boolean",
1362
- "markdownDescription": "check for unreachable code\n\nThe unreachable analyzer finds statements that execution can never reach\nbecause they are preceded by an return statement, a call to panic, an\ninfinite loop, or similar constructs.",
1363
- "default": true
1364
- },
1365
- "unsafeptr": {
1366
- "type": "boolean",
1367
- "markdownDescription": "check for invalid conversions of uintptr to unsafe.Pointer\n\nThe unsafeptr analyzer reports likely incorrect uses of unsafe.Pointer\nto convert integers to pointers. A conversion from uintptr to\nunsafe.Pointer is invalid if it implies that there is a uintptr-typed\nword in memory that holds a pointer value, because that word will be\ninvisible to stack copying and to the garbage collector.",
1368
- "default": true
1369
- },
1370
- "unusedparams": {
1371
- "type": "boolean",
1372
- "markdownDescription": "check for unused parameters of functions\n\nThe unusedparams analyzer checks functions to see if there are\nany parameters that are not being used.\n\nTo reduce false positives it ignores:\n- methods\n- parameters that do not have a name or are underscored\n- functions in test files\n- functions with empty bodies or those with just a return stmt",
1373
- "default": false
1374
- },
1375
- "unusedresult": {
1376
- "type": "boolean",
1377
- "markdownDescription": "check for unused results of calls to some functions\n\nSome functions like fmt.Errorf return a result and have no side effects,\nso it is always a mistake to discard the result. This analyzer reports\ncalls to certain functions in which the result of the call is ignored.\n\nThe set of functions may be controlled using flags.",
1378
- "default": true
1379
- },
1380
- "unusedvariable": {
1381
- "type": "boolean",
1382
- "markdownDescription": "check for unused variables\n\nThe unusedvariable analyzer suggests fixes for unused variables errors.\n",
1383
- "default": false
1384
- },
1385
- "unusedwrite": {
1386
- "type": "boolean",
1387
- "markdownDescription": "checks for unused writes\n\nThe analyzer reports instances of writes to struct fields and\narrays that are never read. Specifically, when a struct object\nor an array is copied, its elements are copied implicitly by\nthe compiler, and any element write to this copy does nothing\nwith the original object.\n\nFor example:\n\n\ttype T struct { x int }\n\tfunc f(input []T) {\n\t\tfor i, v := range input { // v is a copy\n\t\t\tv.x = i // unused write to field x\n\t\t}\n\t}\n\nAnother example is about non-pointer receiver:\n\n\ttype T struct { x int }\n\tfunc (t T) f() { // t is a copy\n\t\tt.x = i // unused write to field x\n\t}\n",
1388
- "default": false
1389
- },
1390
- "useany": {
1391
- "type": "boolean",
1392
- "markdownDescription": "check for constraints that could be simplified to \"any\"",
1393
- "default": false
1394
- }
1395
- }
1396
- },
1397
- "ui.diagnostic.annotations": {
1398
- "type": "object",
1399
- "markdownDescription": "(Experimental) annotations specifies the various kinds of optimization diagnostics\nthat should be reported by the gc_details command.\n",
1400
- "scope": "resource",
1401
- "properties": {
1402
- "bounds": {
1403
- "type": "boolean",
1404
- "markdownDescription": "`\"bounds\"` controls bounds checking diagnostics.\n",
1405
- "default": true
1406
- },
1407
- "escape": {
1408
- "type": "boolean",
1409
- "markdownDescription": "`\"escape\"` controls diagnostics about escape choices.\n",
1410
- "default": true
1411
- },
1412
- "inline": {
1413
- "type": "boolean",
1414
- "markdownDescription": "`\"inline\"` controls diagnostics about inlining choices.\n",
1415
- "default": true
1416
- },
1417
- "nil": {
1418
- "type": "boolean",
1419
- "markdownDescription": "`\"nil\"` controls nil checks.\n",
1420
- "default": true
1421
- }
1422
- }
1423
- },
1424
- "ui.diagnostic.diagnosticsDelay": {
1425
- "type": "string",
1426
- "markdownDescription": "(Advanced) diagnosticsDelay controls the amount of time that gopls waits\nafter the most recent file modification before computing deep diagnostics.\nSimple diagnostics (parsing and type-checking) are always run immediately\non recently modified packages.\n\nThis option must be set to a valid duration string, for example `\"250ms\"`.\n",
1427
- "default": "250ms",
1428
- "scope": "resource"
1429
- },
1430
- "ui.diagnostic.experimentalWatchedFileDelay": {
1431
- "type": "string",
1432
- "markdownDescription": "(Experimental) experimentalWatchedFileDelay controls the amount of time that gopls waits\nfor additional workspace/didChangeWatchedFiles notifications to arrive,\nbefore processing all such notifications in a single batch. This is\nintended for use by LSP clients that don't support their own batching of\nfile system notifications.\n\nThis option must be set to a valid duration string, for example `\"100ms\"`.\n\nDeprecated: this setting is deprecated and will be removed in a future\nversion of gopls (https://go.dev/issue/55332)\n",
1433
- "default": "0s",
1434
- "scope": "resource"
1435
- },
1436
- "ui.diagnostic.staticcheck": {
1437
- "type": "boolean",
1438
- "markdownDescription": "(Experimental) staticcheck enables additional analyses from staticcheck.io.\nThese analyses are documented on\n[Staticcheck's website](https://staticcheck.io/docs/checks/).\n",
1439
- "default": false,
1440
- "scope": "resource"
1441
- },
1442
- "ui.documentation.hoverKind": {
1443
- "type": "string",
1444
- "markdownDescription": "hoverKind controls the information that appears in the hover text.\nSingleLine and Structured are intended for use only by authors of editor plugins.\n",
1445
- "enum": [
1446
- "FullDocumentation",
1447
- "NoDocumentation",
1448
- "SingleLine",
1449
- "Structured",
1450
- "SynopsisDocumentation"
1451
- ],
1452
- "markdownEnumDescriptions": [
1453
- "",
1454
- "",
1455
- "",
1456
- "`\"Structured\"` is an experimental setting that returns a structured hover format.\nThis format separates the signature from the documentation, so that the client\ncan do more manipulation of these fields.\n\nThis should only be used by clients that support this behavior.\n",
1457
- ""
1458
- ],
1459
- "default": "FullDocumentation",
1460
- "scope": "resource"
1461
- },
1462
- "ui.documentation.linkTarget": {
1463
- "type": "string",
1464
- "markdownDescription": "linkTarget controls where documentation links go.\nIt might be one of:\n\n* `\"godoc.org\"`\n* `\"pkg.go.dev\"`\n\nIf company chooses to use its own `godoc.org`, its address can be used as well.\n\nModules matching the GOPRIVATE environment variable will not have\ndocumentation links in hover.\n",
1465
- "default": "pkg.go.dev",
1466
- "scope": "resource"
1467
- },
1468
- "ui.documentation.linksInHover": {
1469
- "type": "boolean",
1470
- "markdownDescription": "linksInHover toggles the presence of links to documentation in hover.\n",
1471
- "default": true,
1472
- "scope": "resource"
1473
- },
1474
- "ui.navigation.importShortcut": {
1475
- "type": "string",
1476
- "markdownDescription": "importShortcut specifies whether import statements should link to\ndocumentation or go to definitions.\n",
1477
- "enum": [
1478
- "Both",
1479
- "Definition",
1480
- "Link"
1481
- ],
1482
- "markdownEnumDescriptions": [
1483
- "",
1484
- "",
1485
- ""
1486
- ],
1487
- "default": "Both",
1488
- "scope": "resource"
1489
- },
1490
- "ui.navigation.symbolMatcher": {
1491
- "type": "string",
1492
- "markdownDescription": "(Advanced) symbolMatcher sets the algorithm that is used when finding workspace symbols.\n",
1493
- "enum": [
1494
- "CaseInsensitive",
1495
- "CaseSensitive",
1496
- "FastFuzzy",
1497
- "Fuzzy"
1498
- ],
1499
- "markdownEnumDescriptions": [
1500
- "",
1501
- "",
1502
- "",
1503
- ""
1504
- ],
1505
- "default": "FastFuzzy",
1506
- "scope": "resource"
1507
- },
1508
- "ui.navigation.symbolStyle": {
1509
- "type": "string",
1510
- "markdownDescription": "(Advanced) symbolStyle controls how symbols are qualified in symbol responses.\n\nExample Usage:\n\n```json5\n\"gopls\": {\n...\n \"symbolStyle\": \"Dynamic\",\n...\n}\n```\n",
1511
- "enum": [
1512
- "Dynamic",
1513
- "Full",
1514
- "Package"
1515
- ],
1516
- "markdownEnumDescriptions": [
1517
- "`\"Dynamic\"` uses whichever qualifier results in the highest scoring\nmatch for the given symbol query. Here a \"qualifier\" is any \"/\" or \".\"\ndelimited suffix of the fully qualified symbol. i.e. \"to/pkg.Foo.Field\" or\njust \"Foo.Field\".\n",
1518
- "`\"Full\"` is fully qualified symbols, i.e.\n\"path/to/pkg.Foo.Field\".\n",
1519
- "`\"Package\"` is package qualified symbols i.e.\n\"pkg.Foo.Field\".\n"
1520
- ],
1521
- "default": "Dynamic",
1522
- "scope": "resource"
1523
- },
1524
- "ui.noSemanticNumber": {
1525
- "type": "boolean",
1526
- "markdownDescription": "(Experimental) noSemanticNumber turns off the sending of the semantic token 'number'\n",
1527
- "default": false,
1528
- "scope": "resource"
1529
- },
1530
- "ui.noSemanticString": {
1531
- "type": "boolean",
1532
- "markdownDescription": "(Experimental) noSemanticString turns off the sending of the semantic token 'string'\n",
1533
- "default": false,
1534
- "scope": "resource"
1535
- },
1536
- "ui.semanticTokens": {
1537
- "type": "boolean",
1538
- "markdownDescription": "(Experimental) semanticTokens controls whether the LSP server will send\nsemantic tokens to the client.\n",
1539
- "default": false,
1540
- "scope": "resource"
1541
- },
1542
- "verboseOutput": {
1543
- "type": "boolean",
1544
- "markdownDescription": "(For Debugging) verboseOutput enables additional debug logging.\n",
1545
- "default": false,
1546
- "scope": "resource"
1547
- }
1548
- }
1549
- },
1550
- "go.diagnostic.vulncheck": {
1551
- "type": "string",
1552
- "markdownDescription": "(Experimental) vulncheck enables vulnerability scanning.\n",
1553
- "enum": [
1554
- "Imports",
1555
- "Off"
1556
- ],
1557
- "markdownEnumDescriptions": [
1558
- "`\"Imports\"`: In Imports mode, `gopls` will report vulnerabilities that affect packages\ndirectly and indirectly used by the analyzed main module.\n",
1559
- "`\"Off\"`: Disable vulnerability analysis.\n"
1560
- ],
1561
- "default": "Off",
1562
- "scope": 4
1563
- },
1564
- "go.inlayHints.assignVariableTypes": {
1565
- "type": "boolean",
1566
- "markdownDescription": "Enable/disable inlay hints for variable types in assign statements:\n```go\n\ti/* int*/, j/* int*/ := 0, len(r)-1\n```",
1567
- "default": false,
1568
- "scope": 3
1569
- },
1570
- "go.inlayHints.compositeLiteralFields": {
1571
- "type": "boolean",
1572
- "markdownDescription": "Enable/disable inlay hints for composite literal field names:\n```go\n\t{/*in: */\"Hello, world\", /*want: */\"dlrow ,olleH\"}\n```",
1573
- "default": false,
1574
- "scope": 3
1575
- },
1576
- "go.inlayHints.compositeLiteralTypes": {
1577
- "type": "boolean",
1578
- "markdownDescription": "Enable/disable inlay hints for composite literal types:\n```go\n\tfor _, c := range []struct {\n\t\tin, want string\n\t}{\n\t\t/*struct{ in string; want string }*/{\"Hello, world\", \"dlrow ,olleH\"},\n\t}\n```",
1579
- "default": false,
1580
- "scope": 3
1581
- },
1582
- "go.inlayHints.constantValues": {
1583
- "type": "boolean",
1584
- "markdownDescription": "Enable/disable inlay hints for constant values:\n```go\n\tconst (\n\t\tKindNone Kind = iota/* = 0*/\n\t\tKindPrint/* = 1*/\n\t\tKindPrintf/* = 2*/\n\t\tKindErrorf/* = 3*/\n\t)\n```",
1585
- "default": false,
1586
- "scope": 3
1587
- },
1588
- "go.inlayHints.functionTypeParameters": {
1589
- "type": "boolean",
1590
- "markdownDescription": "Enable/disable inlay hints for implicit type parameters on generic functions:\n```go\n\tmyFoo/*[int, string]*/(1, \"hello\")\n```",
1591
- "default": false,
1592
- "scope": 3
1593
- },
1594
- "go.inlayHints.parameterNames": {
1595
- "type": "boolean",
1596
- "markdownDescription": "Enable/disable inlay hints for parameter names:\n```go\n\tparseInt(/* str: */ \"123\", /* radix: */ 8)\n```",
1597
- "default": false,
1598
- "scope": 3
1599
- },
1600
- "go.inlayHints.rangeVariableTypes": {
1601
- "type": "boolean",
1602
- "markdownDescription": "Enable/disable inlay hints for variable types in range statements:\n```go\n\tfor k/* int*/, v/* string*/ := range []string{} {\n\t\tfmt.Println(k, v)\n\t}\n```",
1603
- "default": false,
1604
- "scope": 3
1605
- }
1606
- }
1607
- }
1608
- ];
1609
-
1610
- export { vscodeGo as default };