@codingame/monaco-editor-wrapper 27.0.0 → 29.0.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 (166) hide show
  1. package/dist/_virtual/_.vsix.js +8 -8
  2. package/dist/assets/{Dart-Code.dart-code-3.133.20260331.vsix → Dart-Code.dart-code-3.133.20260421.vsix}/package.json +6 -10
  3. package/dist/assets/{Vue.volar-3.2.6.vsix → Vue.volar-3.2.7.vsix}/package.json +1 -1
  4. package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/changelog.md +105 -0
  5. package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/package.json +82 -29
  6. package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/package.nls.cs.json +6 -3
  7. package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/package.nls.de.json +4 -1
  8. package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/package.nls.es.json +6 -3
  9. package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/package.nls.fr.json +8 -5
  10. package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/package.nls.it.json +4 -1
  11. package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/package.nls.ja.json +9 -6
  12. package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/package.nls.json +10 -2
  13. package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/package.nls.ko.json +7 -4
  14. package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/package.nls.pl.json +5 -2
  15. package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/package.nls.pt-br.json +10 -7
  16. package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/package.nls.ru.json +6 -3
  17. package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/package.nls.tr.json +7 -4
  18. package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/package.nls.zh-cn.json +7 -4
  19. package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/package.nls.zh-tw.json +7 -4
  20. package/dist/assets/{ms-python.python-2026.5.2026032701.vsix → ms-python.python-2026.5.2026042602.vsix}/package.json +1 -1
  21. package/dist/assets/{ms-vscode.cpptools-1.31.4.vsix → ms-vscode.cpptools-1.32.1.vsix}/changelog.md +26 -0
  22. package/dist/assets/{ms-vscode.cpptools-1.31.4.vsix → ms-vscode.cpptools-1.32.1.vsix}/package.json +9 -2
  23. package/dist/assets/{ms-vscode.cpptools-1.31.4.vsix → ms-vscode.cpptools-1.32.1.vsix}/package.nls.cs.json +1 -0
  24. package/dist/assets/{ms-vscode.cpptools-1.31.4.vsix → ms-vscode.cpptools-1.32.1.vsix}/package.nls.de.json +1 -0
  25. package/dist/assets/{ms-vscode.cpptools-1.31.4.vsix → ms-vscode.cpptools-1.32.1.vsix}/package.nls.es.json +1 -0
  26. package/dist/assets/{ms-vscode.cpptools-1.31.4.vsix → ms-vscode.cpptools-1.32.1.vsix}/package.nls.fr.json +1 -0
  27. package/dist/assets/{ms-vscode.cpptools-1.31.4.vsix → ms-vscode.cpptools-1.32.1.vsix}/package.nls.it.json +1 -0
  28. package/dist/assets/{ms-vscode.cpptools-1.31.4.vsix → ms-vscode.cpptools-1.32.1.vsix}/package.nls.ja.json +1 -0
  29. package/dist/assets/{ms-vscode.cpptools-1.31.4.vsix → ms-vscode.cpptools-1.32.1.vsix}/package.nls.json +1 -0
  30. package/dist/assets/{ms-vscode.cpptools-1.31.4.vsix → ms-vscode.cpptools-1.32.1.vsix}/package.nls.ko.json +1 -0
  31. package/dist/assets/{ms-vscode.cpptools-1.31.4.vsix → ms-vscode.cpptools-1.32.1.vsix}/package.nls.pl.json +1 -0
  32. package/dist/assets/{ms-vscode.cpptools-1.31.4.vsix → ms-vscode.cpptools-1.32.1.vsix}/package.nls.pt-br.json +1 -0
  33. package/dist/assets/{ms-vscode.cpptools-1.31.4.vsix → ms-vscode.cpptools-1.32.1.vsix}/package.nls.ru.json +1 -0
  34. package/dist/assets/{ms-vscode.cpptools-1.31.4.vsix → ms-vscode.cpptools-1.32.1.vsix}/package.nls.tr.json +1 -0
  35. package/dist/assets/{ms-vscode.cpptools-1.31.4.vsix → ms-vscode.cpptools-1.32.1.vsix}/package.nls.zh-cn.json +1 -0
  36. package/dist/assets/{ms-vscode.cpptools-1.31.4.vsix → ms-vscode.cpptools-1.32.1.vsix}/package.nls.zh-tw.json +1 -0
  37. package/dist/assets/{redhat.java-1.54.2026040108.vsix → redhat.java-1.55.2026042408.vsix}/changelog.md +18 -0
  38. package/dist/assets/{redhat.java-1.54.2026040108.vsix → redhat.java-1.55.2026042408.vsix}/package.json +8 -1
  39. package/dist/assets/{redhat.java-1.54.2026040108.vsix → redhat.java-1.55.2026042408.vsix}/readme.md +1 -0
  40. package/dist/assets/{scalameta.metals-1.64.3.vsix → scalameta.metals-1.65.3.vsix}/README.md +27 -27
  41. package/dist/assets/{scalameta.metals-1.64.3.vsix → scalameta.metals-1.65.3.vsix}/package.json +73 -18
  42. package/dist/assets/scalameta.metals-1.65.3.vsix/twirl-html.json +192 -0
  43. package/dist/assets/scalameta.metals-1.65.3.vsix/twirl-html.language-configuration.json +92 -0
  44. package/dist/assets/{sumneko.lua-3.17.1.vsix → sumneko.lua-3.18.2.vsix}/changelog.md +24 -0
  45. package/dist/assets/{sumneko.lua-3.17.1.vsix → sumneko.lua-3.18.2.vsix}/package.json +1 -1
  46. package/dist/extensions/{Dart-Code.dart-code-3.133.20260331.vsix.js → Dart-Code.dart-code-3.133.20260421.vsix.js} +7 -7
  47. package/dist/extensions/{Vue.volar-3.2.6.vsix.js → Vue.volar-3.2.7.vsix.js} +21 -21
  48. package/dist/extensions/ms-dotnettools.csharp-2.136.19.vsix.js +58 -0
  49. package/dist/extensions/{ms-python.python-2026.5.2026032701.vsix.js → ms-python.python-2026.5.2026042602.vsix.js} +25 -25
  50. package/dist/extensions/ms-vscode.cpptools-1.32.1.vsix.js +44 -0
  51. package/dist/extensions/redhat.java-1.55.2026042408.vsix.js +48 -0
  52. package/dist/extensions/scalameta.metals-1.65.3.vsix.js +48 -0
  53. package/dist/extensions/{sumneko.lua-3.17.1.vsix.js → sumneko.lua-3.18.2.vsix.js} +12 -12
  54. package/dist/node_modules/monaco-emacs/lib/emacs/actions.js +50 -50
  55. package/dist/node_modules/monaco-emacs/lib/emacs/commands.js +14 -14
  56. package/dist/node_modules/monaco-emacs/lib/emacs/state.js +8 -8
  57. package/dist/node_modules/monaco-emacs/lib/emacs/util.js +12 -12
  58. package/dist/node_modules/monaco-emacs/lib/index.js +9 -9
  59. package/dist/tools.js +1 -1
  60. package/package.json +98 -98
  61. package/stats.html +1 -1
  62. package/dist/assets/scalameta.metals-1.64.3.vsix/twirl-html.json +0 -10
  63. package/dist/extensions/ms-dotnettools.csharp-2.131.79.vsix.js +0 -58
  64. package/dist/extensions/ms-vscode.cpptools-1.31.4.vsix.js +0 -44
  65. package/dist/extensions/redhat.java-1.54.2026040108.vsix.js +0 -48
  66. package/dist/extensions/scalameta.metals-1.64.3.vsix.js +0 -46
  67. /package/dist/assets/{Dart-Code.dart-code-3.133.20260331.vsix → Dart-Code.dart-code-3.133.20260421.vsix}/changelog.md +0 -0
  68. /package/dist/assets/{Dart-Code.dart-code-3.133.20260331.vsix → Dart-Code.dart-code-3.133.20260421.vsix}/dart-language-configuration.json +0 -0
  69. /package/dist/assets/{Dart-Code.dart-code-3.133.20260331.vsix → Dart-Code.dart-code-3.133.20260421.vsix}/dart.json +0 -0
  70. /package/dist/assets/{Dart-Code.dart-code-3.133.20260331.vsix → Dart-Code.dart-code-3.133.20260421.vsix}/dart.png +0 -0
  71. /package/dist/assets/{Dart-Code.dart-code-3.133.20260331.vsix → Dart-Code.dart-code-3.133.20260421.vsix}/readme.md +0 -0
  72. /package/dist/assets/{Vue.volar-3.2.6.vsix → Vue.volar-3.2.7.vsix}/changelog.md +0 -0
  73. /package/dist/assets/{Vue.volar-3.2.6.vsix → Vue.volar-3.2.7.vsix}/icon.png +0 -0
  74. /package/dist/assets/{Vue.volar-3.2.6.vsix → Vue.volar-3.2.7.vsix}/markdown-language-configuration.json +0 -0
  75. /package/dist/assets/{Vue.volar-3.2.6.vsix → Vue.volar-3.2.7.vsix}/markdown-vue.json +0 -0
  76. /package/dist/assets/{Vue.volar-3.2.6.vsix → Vue.volar-3.2.7.vsix}/mdx-vue.json +0 -0
  77. /package/dist/assets/{Vue.volar-3.2.6.vsix → Vue.volar-3.2.7.vsix}/package.nls.ja.json +0 -0
  78. /package/dist/assets/{Vue.volar-3.2.6.vsix → Vue.volar-3.2.7.vsix}/package.nls.json +0 -0
  79. /package/dist/assets/{Vue.volar-3.2.6.vsix → Vue.volar-3.2.7.vsix}/package.nls.ru.json +0 -0
  80. /package/dist/assets/{Vue.volar-3.2.6.vsix → Vue.volar-3.2.7.vsix}/package.nls.zh-CN.json +0 -0
  81. /package/dist/assets/{Vue.volar-3.2.6.vsix → Vue.volar-3.2.7.vsix}/package.nls.zh-TW.json +0 -0
  82. /package/dist/assets/{Vue.volar-3.2.6.vsix → Vue.volar-3.2.7.vsix}/readme.md +0 -0
  83. /package/dist/assets/{Vue.volar-3.2.6.vsix → Vue.volar-3.2.7.vsix}/sfc-template-language-configuration.json +0 -0
  84. /package/dist/assets/{Vue.volar-3.2.6.vsix → Vue.volar-3.2.7.vsix}/vue-directives.json +0 -0
  85. /package/dist/assets/{Vue.volar-3.2.6.vsix → Vue.volar-3.2.7.vsix}/vue-interpolations.json +0 -0
  86. /package/dist/assets/{Vue.volar-3.2.6.vsix → Vue.volar-3.2.7.vsix}/vue-language-configuration.json +0 -0
  87. /package/dist/assets/{Vue.volar-3.2.6.vsix → Vue.volar-3.2.7.vsix}/vue-sfc-script-leading-operator-fix.json +0 -0
  88. /package/dist/assets/{Vue.volar-3.2.6.vsix → Vue.volar-3.2.7.vsix}/vue-sfc-style-variable-injection.json +0 -0
  89. /package/dist/assets/{Vue.volar-3.2.6.vsix → Vue.volar-3.2.7.vsix}/vue-tsconfig.schema.json +0 -0
  90. /package/dist/assets/{Vue.volar-3.2.6.vsix → Vue.volar-3.2.7.vsix}/vue.tmLanguage.json +0 -0
  91. /package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/aspnetcorerazor.tmLanguage.json +0 -0
  92. /package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/csharp.json +0 -0
  93. /package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/csharpIcon.png +0 -0
  94. /package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/language-configuration.json +0 -0
  95. /package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/language-configuration2.json +0 -0
  96. /package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/readme.md +0 -0
  97. /package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/vs2019_dark.json +0 -0
  98. /package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/vs2019_light.json +0 -0
  99. /package/dist/assets/{ms-dotnettools.csharp-2.131.79.vsix → ms-dotnettools.csharp-2.136.19.vsix}/xaml.tmLanguage.json +0 -0
  100. /package/dist/assets/{ms-python.python-2026.5.2026032701.vsix → ms-python.python-2026.5.2026042602.vsix}/changelog.md +0 -0
  101. /package/dist/assets/{ms-python.python-2026.5.2026032701.vsix → ms-python.python-2026.5.2026042602.vsix}/conda-environment.json +0 -0
  102. /package/dist/assets/{ms-python.python-2026.5.2026032701.vsix → ms-python.python-2026.5.2026042602.vsix}/conda-meta.json +0 -0
  103. /package/dist/assets/{ms-python.python-2026.5.2026032701.vsix → ms-python.python-2026.5.2026042602.vsix}/condarc.json +0 -0
  104. /package/dist/assets/{ms-python.python-2026.5.2026032701.vsix → ms-python.python-2026.5.2026042602.vsix}/icon.png +0 -0
  105. /package/dist/assets/{ms-python.python-2026.5.2026032701.vsix → ms-python.python-2026.5.2026042602.vsix}/package.nls.cs.json +0 -0
  106. /package/dist/assets/{ms-python.python-2026.5.2026032701.vsix → ms-python.python-2026.5.2026042602.vsix}/package.nls.de.json +0 -0
  107. /package/dist/assets/{ms-python.python-2026.5.2026032701.vsix → ms-python.python-2026.5.2026042602.vsix}/package.nls.es.json +0 -0
  108. /package/dist/assets/{ms-python.python-2026.5.2026032701.vsix → ms-python.python-2026.5.2026042602.vsix}/package.nls.fr.json +0 -0
  109. /package/dist/assets/{ms-python.python-2026.5.2026032701.vsix → ms-python.python-2026.5.2026042602.vsix}/package.nls.it.json +0 -0
  110. /package/dist/assets/{ms-python.python-2026.5.2026032701.vsix → ms-python.python-2026.5.2026042602.vsix}/package.nls.ja.json +0 -0
  111. /package/dist/assets/{ms-python.python-2026.5.2026032701.vsix → ms-python.python-2026.5.2026042602.vsix}/package.nls.json +0 -0
  112. /package/dist/assets/{ms-python.python-2026.5.2026032701.vsix → ms-python.python-2026.5.2026042602.vsix}/package.nls.ko.json +0 -0
  113. /package/dist/assets/{ms-python.python-2026.5.2026032701.vsix → ms-python.python-2026.5.2026042602.vsix}/package.nls.pl.json +0 -0
  114. /package/dist/assets/{ms-python.python-2026.5.2026032701.vsix → ms-python.python-2026.5.2026042602.vsix}/package.nls.pt-br.json +0 -0
  115. /package/dist/assets/{ms-python.python-2026.5.2026032701.vsix → ms-python.python-2026.5.2026042602.vsix}/package.nls.qps-ploc.json +0 -0
  116. /package/dist/assets/{ms-python.python-2026.5.2026032701.vsix → ms-python.python-2026.5.2026042602.vsix}/package.nls.ru.json +0 -0
  117. /package/dist/assets/{ms-python.python-2026.5.2026032701.vsix → ms-python.python-2026.5.2026042602.vsix}/package.nls.tr.json +0 -0
  118. /package/dist/assets/{ms-python.python-2026.5.2026032701.vsix → ms-python.python-2026.5.2026042602.vsix}/package.nls.zh-cn.json +0 -0
  119. /package/dist/assets/{ms-python.python-2026.5.2026032701.vsix → ms-python.python-2026.5.2026042602.vsix}/package.nls.zh-tw.json +0 -0
  120. /package/dist/assets/{ms-python.python-2026.5.2026032701.vsix → ms-python.python-2026.5.2026042602.vsix}/pip-requirements.json +0 -0
  121. /package/dist/assets/{ms-python.python-2026.5.2026032701.vsix → ms-python.python-2026.5.2026042602.vsix}/pip-requirements.tmLanguage.json +0 -0
  122. /package/dist/assets/{ms-python.python-2026.5.2026032701.vsix → ms-python.python-2026.5.2026042602.vsix}/readme.md +0 -0
  123. /package/dist/assets/{ms-vscode.cpptools-1.31.4.vsix → ms-vscode.cpptools-1.32.1.vsix}/LanguageCCPP_color_128x.png +0 -0
  124. /package/dist/assets/{ms-vscode.cpptools-1.31.4.vsix → ms-vscode.cpptools-1.32.1.vsix}/readme.md +0 -0
  125. /package/dist/assets/{redhat.java-1.54.2026040108.vsix → redhat.java-1.55.2026042408.vsix}/JavaProperties.tmLanguage.json +0 -0
  126. /package/dist/assets/{redhat.java-1.54.2026040108.vsix → redhat.java-1.55.2026042408.vsix}/icon128.png +0 -0
  127. /package/dist/assets/{redhat.java-1.54.2026040108.vsix → redhat.java-1.55.2026042408.vsix}/inline-html.json +0 -0
  128. /package/dist/assets/{redhat.java-1.54.2026040108.vsix → redhat.java-1.55.2026042408.vsix}/inline-json.json +0 -0
  129. /package/dist/assets/{redhat.java-1.54.2026040108.vsix → redhat.java-1.55.2026042408.vsix}/inline-sql.json +0 -0
  130. /package/dist/assets/{redhat.java-1.54.2026040108.vsix → redhat.java-1.55.2026042408.vsix}/inline-xml.json +0 -0
  131. /package/dist/assets/{redhat.java-1.54.2026040108.vsix → redhat.java-1.55.2026042408.vsix}/inline-yaml.json +0 -0
  132. /package/dist/assets/{redhat.java-1.54.2026040108.vsix → redhat.java-1.55.2026042408.vsix}/java-properties-configuration.json +0 -0
  133. /package/dist/assets/{redhat.java-1.54.2026040108.vsix → redhat.java-1.55.2026042408.vsix}/java.tmLanguage.json +0 -0
  134. /package/dist/assets/{redhat.java-1.54.2026040108.vsix → redhat.java-1.55.2026042408.vsix}/kotlin.tmLanguage.json +0 -0
  135. /package/dist/assets/{redhat.java-1.54.2026040108.vsix → redhat.java-1.55.2026042408.vsix}/language-configuration.json +0 -0
  136. /package/dist/assets/{redhat.java-1.54.2026040108.vsix → redhat.java-1.55.2026042408.vsix}/language-configuration2.json +0 -0
  137. /package/dist/assets/{redhat.java-1.54.2026040108.vsix → redhat.java-1.55.2026042408.vsix}/package.nls.json +0 -0
  138. /package/dist/assets/{redhat.java-1.54.2026040108.vsix → redhat.java-1.55.2026042408.vsix}/package.nls.ko.json +0 -0
  139. /package/dist/assets/{redhat.java-1.54.2026040108.vsix → redhat.java-1.55.2026042408.vsix}/package.nls.zh-cn.json +0 -0
  140. /package/dist/assets/{redhat.java-1.54.2026040108.vsix → redhat.java-1.55.2026042408.vsix}/package.nls.zh-tw.json +0 -0
  141. /package/dist/assets/{redhat.java-1.54.2026040108.vsix → redhat.java-1.55.2026042408.vsix}/package.schema.json +0 -0
  142. /package/dist/assets/{scalameta.metals-1.64.3.vsix → scalameta.metals-1.65.3.vsix}/CHANGELOG.md +0 -0
  143. /package/dist/assets/{scalameta.metals-1.64.3.vsix → scalameta.metals-1.65.3.vsix}/book-dark.svg +0 -0
  144. /package/dist/assets/{scalameta.metals-1.64.3.vsix → scalameta.metals-1.65.3.vsix}/book-light.svg +0 -0
  145. /package/dist/assets/{scalameta.metals-1.64.3.vsix → scalameta.metals-1.65.3.vsix}/buildtarget.json +0 -0
  146. /package/dist/assets/{scalameta.metals-1.64.3.vsix → scalameta.metals-1.65.3.vsix}/file_type_java.svg +0 -0
  147. /package/dist/assets/{scalameta.metals-1.64.3.vsix → scalameta.metals-1.65.3.vsix}/file_type_play.svg +0 -0
  148. /package/dist/assets/{scalameta.metals-1.64.3.vsix → scalameta.metals-1.65.3.vsix}/file_type_scala.svg +0 -0
  149. /package/dist/assets/{scalameta.metals-1.64.3.vsix → scalameta.metals-1.65.3.vsix}/jvm-bytecode-verbose.json +0 -0
  150. /package/dist/assets/{scalameta.metals-1.64.3.vsix → scalameta.metals-1.65.3.vsix}/jvm-bytecode.json +0 -0
  151. /package/dist/assets/{scalameta.metals-1.64.3.vsix → scalameta.metals-1.65.3.vsix}/logo.png +0 -0
  152. /package/dist/assets/{scalameta.metals-1.64.3.vsix → scalameta.metals-1.65.3.vsix}/routes.json +0 -0
  153. /package/dist/assets/{scalameta.metals-1.64.3.vsix → scalameta.metals-1.65.3.vsix}/scalameta-logo.png +0 -0
  154. /package/dist/assets/{scalameta.metals-1.64.3.vsix → scalameta.metals-1.65.3.vsix}/semanticdb.json +0 -0
  155. /package/dist/assets/{scalameta.metals-1.64.3.vsix → scalameta.metals-1.65.3.vsix}/tasty.json +0 -0
  156. /package/dist/assets/{scalameta.metals-1.64.3.vsix → scalameta.metals-1.65.3.vsix}/twirl-js.json +0 -0
  157. /package/dist/assets/{scalameta.metals-1.64.3.vsix → scalameta.metals-1.65.3.vsix}/twirl-xml.json +0 -0
  158. /package/dist/assets/{sumneko.lua-3.17.1.vsix → sumneko.lua-3.18.2.vsix}/logo.png +0 -0
  159. /package/dist/assets/{sumneko.lua-3.17.1.vsix → sumneko.lua-3.18.2.vsix}/package.nls.es-419.json +0 -0
  160. /package/dist/assets/{sumneko.lua-3.17.1.vsix → sumneko.lua-3.18.2.vsix}/package.nls.ja-jp.json +0 -0
  161. /package/dist/assets/{sumneko.lua-3.17.1.vsix → sumneko.lua-3.18.2.vsix}/package.nls.json +0 -0
  162. /package/dist/assets/{sumneko.lua-3.17.1.vsix → sumneko.lua-3.18.2.vsix}/package.nls.pt-br.json +0 -0
  163. /package/dist/assets/{sumneko.lua-3.17.1.vsix → sumneko.lua-3.18.2.vsix}/package.nls.zh-cn.json +0 -0
  164. /package/dist/assets/{sumneko.lua-3.17.1.vsix → sumneko.lua-3.18.2.vsix}/package.nls.zh-tw.json +0 -0
  165. /package/dist/assets/{sumneko.lua-3.17.1.vsix → sumneko.lua-3.18.2.vsix}/readme.md +0 -0
  166. /package/dist/assets/{sumneko.lua-3.17.1.vsix → sumneko.lua-3.18.2.vsix}/schema.json +0 -0
@@ -5,7 +5,7 @@
5
5
  "author": "Red Hat",
6
6
  "icon": "icons/icon128.png",
7
7
  "license": "EPL-2.0",
8
- "version": "1.54.2026040108",
8
+ "version": "1.55.2026042408",
9
9
  "publisher": "redhat",
10
10
  "bugs": "https://github.com/redhat-developer/vscode-java/issues",
11
11
  "preview": false,
@@ -413,6 +413,13 @@
413
413
  "scope": "window",
414
414
  "order": 80
415
415
  },
416
+ "java.jdt.ls.scalaSupport.enabled": {
417
+ "type": "boolean",
418
+ "default": true,
419
+ "markdownDescription": "[Experimental] Specify whether to enable `scala` plugin in Gradle projects. Defaults to `true`.",
420
+ "scope": "window",
421
+ "order": 80
422
+ },
416
423
  "java.jdt.ls.groovySupport.enabled": {
417
424
  "type": "boolean",
418
425
  "default": true,
@@ -234,6 +234,7 @@ The following settings are supported:
234
234
  * `java.jdt.ls.androidSupport.enabled`: [Experimental] Specify whether to enable Android project importing. When set to `auto`, the Android support will be enabled in Visual Studio Code - Insiders. **Note:** Only works for Android Gradle Plugin `3.2.0` or higher. Defaults to `auto`.
235
235
  * `java.jdt.ls.kotlinSupport.enabled`: [Experimental] Specify whether to enable `org.jetbrains.kotlin.jvm` plugin in Gradle projects. Defaults to `true`.
236
236
  * `java.jdt.ls.groovySupport.enabled`: [Experimental] Specify whether to enable `groovy` plugin in Gradle projects. Defaults to `true`.
237
+ * `java.jdt.ls.scalaSupport.enabled`: [Experimental] Specify whether to enable `scala` plugin in Gradle projects. Defaults to `true`.
237
238
  * `java.completion.postfix.enabled`: Enable/disable postfix completion support. Defaults to `true`.
238
239
  * `java.completion.chain.enabled`: Enable/disable chain completion support. Defaults to `false`.
239
240
  * `java.completion.matchCase`: Specify whether to match case for code completion. Defaults to `firstLetter`.
@@ -48,7 +48,7 @@ by clicking on this badge
48
48
  [![Install Metals extension](https://img.shields.io/badge/metals-vscode-blue.png)](https://github.com/scalameta/metals-vscode/blob/HEAD/vscode:extension/scalameta.metals)
49
49
  or via the VS Code editor:
50
50
 
51
- ![install stable version](https://github.com/scalameta/gh-pages-images/blob/master/metals/vscode/Qew0fNH.png?raw=true)
51
+ ![install stable version](https://raw.githubusercontent.com/scalameta/gh-pages-images/main/metals/vscode/Qew0fNH.png)
52
52
 
53
53
  Next, open a directory containing your Scala code. The extension activates when
54
54
  the main directory contains `build.sbt` or `build.sc` file, a Scala file is
@@ -62,14 +62,14 @@ with [SNAPSHOT](#SNAPSHOT) releases of Metals server. Using pre-release versions
62
62
  may result in less stable experience and it is not intented for beginners.
63
63
  Pre-release versions follow `major.minor.PATCH` versioning.
64
64
 
65
- ![Install the pre-release extension](https://github.com/scalameta/gh-pages-images/blob/master/metals/vscode/CzOTleE.png?raw=true)
65
+ ![Install the pre-release extension](https://raw.githubusercontent.com/scalameta/gh-pages-images/main/metals/vscode/CzOTleE.png)
66
66
 
67
67
  ## Importing a build
68
68
 
69
69
  The first time you open Metals in a new workspace it prompts you to import the build.
70
70
  Click "Import build" to start the installation step.
71
71
 
72
- ![Import build](https://github.com/scalameta/gh-pages-images/blob/master/metals/Image/0VqZWay.png?raw=true)
72
+ ![Import build](https://raw.githubusercontent.com/scalameta/gh-pages-images/main/metals/Image/0VqZWay.png)
73
73
 
74
74
  - "Not now" disables this prompt for 2 minutes.
75
75
  - "Don't show again" disables this prompt forever, use `rm -rf .metals/` to re-enable
@@ -93,7 +93,7 @@ Update the "Sbt Script" setting to use a custom `sbt` script instead of the
93
93
  default Metals launcher if you need further customizations like reading environment
94
94
  variables.
95
95
 
96
- ![Sbt Launcher](https://github.com/scalameta/gh-pages-images/blob/master/metals/vscode/NuwEBe4.png?raw=true)
96
+ ![Sbt Launcher](https://raw.githubusercontent.com/scalameta/gh-pages-images/main/metals/vscode/NuwEBe4.png)
97
97
 
98
98
  ### Speeding up import
99
99
 
@@ -111,21 +111,21 @@ to learn how to speed up build import.
111
111
  When you change `build.sbt` or sources under `project/`, you will be prompted to
112
112
  re-import the build.
113
113
 
114
- ![Import sbt changes](https://github.com/scalameta/gh-pages-images/blob/master/metals/Image/72kdZkL.png?raw=true)
114
+ ![Import sbt changes](https://raw.githubusercontent.com/scalameta/gh-pages-images/main/metals/Image/72kdZkL.png)
115
115
 
116
116
  ### Manually trigger build import
117
117
 
118
118
  To manually trigger a build import, execute the "Import build" command through
119
119
  the command palette (`Cmd + Shift + P`).
120
120
 
121
- ![Import build command](https://github.com/scalameta/gh-pages-images/blob/master/metals/Image/QHLKt8u.png?raw=true)
121
+ ![Import build command](https://raw.githubusercontent.com/scalameta/gh-pages-images/main/metals/Image/QHLKt8u.png)
122
122
 
123
123
  ## Run doctor
124
124
 
125
125
  Execute the "Run Doctor" through the command palette to troubleshoot potential
126
126
  configuration problems in your workspace.
127
127
 
128
- ![Run doctor command](https://github.com/scalameta/gh-pages-images/blob/master/metals/Image/K02g0UM.png?raw=true)
128
+ ![Run doctor command](https://raw.githubusercontent.com/scalameta/gh-pages-images/main/metals/Image/K02g0UM.png)
129
129
 
130
130
  ## Configure Java version
131
131
 
@@ -141,7 +141,7 @@ environment variable (via
141
141
  If no matching Java found, a JDK will be downloaded using
142
142
  [coursier](https://get-coursier.io).
143
143
 
144
- #### Settings
144
+ #### Settings:
145
145
 
146
146
  - `Java Version` - minimum JDK version accepted for running Metals server. If
147
147
  none found, this is also the version that will be downloaded using coursier.
@@ -155,12 +155,12 @@ for running the build server but appropriate `-release` flags are added for
155
155
  compilation. By default Metals uses JDK defined by `JAVA_HOME` environment
156
156
  variable, if the variable is not set is falls to using the Metals's JDK.
157
157
 
158
- #### Settings
158
+ #### Settings:
159
159
 
160
160
  - `Java Home` - path to project's JDK's Home. Note: this setting isn't respected
161
161
  for `Bazel`.
162
162
 
163
- ![Java Home setting](https://github.com/scalameta/gh-pages-images/blob/master/metals/vscode/sKrPKk2.png?raw=true)
163
+ ![Java Home setting](https://raw.githubusercontent.com/scalameta/gh-pages-images/main/metals/vscode/sKrPKk2.png)
164
164
 
165
165
  Note: Project's JDK version should be greater or equal to Metals's server JDK
166
166
  version for features like completions to work correctly.
@@ -184,7 +184,7 @@ Use the 'Custom Repositories' setting for the Metals VS Code extension to tell
184
184
  artifacts from your private artifact repository.
185
185
 
186
186
  Use `.jvmopts` to set sbt options
187
- (<https://www.scala-sbt.org/1.0/docs/Proxy-Repositories.html>) for
187
+ (https://www.scala-sbt.org/1.0/docs/Proxy-Repositories.html) for
188
188
  `sbt bloopInstall` which resolves library dependencies. You can also provide a
189
189
  custom sbt script (see 'Custom sbt launcher').
190
190
 
@@ -248,15 +248,15 @@ for more context.
248
248
  Run the "Explorer: Focus on Outline View" command to open the symbol outline for
249
249
  the current file in the sidebar.
250
250
 
251
- ![Document Symbols Outline](https://github.com/scalameta/gh-pages-images/blob/master/metals/vscode/T0kVJsr.gif?raw=true)
251
+ ![Document Symbols Outline](https://raw.githubusercontent.com/scalameta/gh-pages-images/main/metals/vscode/T0kVJsr.gif)
252
252
 
253
253
  Run the "Open Symbol in File" command to search for a symbol in the current file
254
254
  without opening the sidebar.
255
255
 
256
- ![Document Symbols Command](https://github.com/scalameta/gh-pages-images/blob/master/metals/vscode/0PJ4brd.png?raw=true)
256
+ ![Document Symbols Command](https://raw.githubusercontent.com/scalameta/gh-pages-images/main/metals/vscode/0PJ4brd.png)
257
257
 
258
258
  As you type, the symbol outline is also visible at the top of the file.
259
- ![Document Symbols Outline](https://github.com/scalameta/gh-pages-images/blob/master/metals/vscode/L217n4q.png?raw=true)
259
+ ![Document Symbols Outline](https://raw.githubusercontent.com/scalameta/gh-pages-images/main/metals/vscode/L217n4q.png)
260
260
 
261
261
  ## Go to parent code lenses
262
262
 
@@ -273,7 +273,7 @@ using two commands:
273
273
  - `Metals: Go to super method` - immediately goes to the parent of the method the cursor is pointing to
274
274
 
275
275
  - `Metals: Reveal super method hierachy` - displays the full method hierachy and enables to move to any parent,
276
- it is best used with the Metals Quick Pick extension.
276
+ it is best used with the Metals Quick Pick extension.
277
277
 
278
278
  You can also bind those commands to a shortcut.
279
279
 
@@ -285,9 +285,9 @@ There is a great number of templates already available and it should be easy to
285
285
  To start the setup you can use the Metals: New Scala project command, which works as following:
286
286
 
287
287
  1. Choose the template and then:
288
- 1. Use the proposed templates.
289
- 2. Choose "Discover more" and then choose from the list downloaded from the Giter8 wiki page.
290
- 3. Input a custom Github repository following the `organization/repo` schema.
288
+ 1. Use the proposed templates.
289
+ 2. Choose "Discover more" and then choose from the list downloaded from the Giter8 wiki page.
290
+ 3. Input a custom Github repository following the `organization/repo` schema.
291
291
  2. Navigate to the parent directory that you want to create your new project in.
292
292
  3. Choose the name or accept the default one.
293
293
 
@@ -325,7 +325,7 @@ project's modules. From this panel it's possible to
325
325
  - run/debug test
326
326
  - navigate to test's definition.
327
327
 
328
- ![test-explorer](https://github.com/scalameta/gh-pages-images/blob/master/metals/vscode/Z3VtS0O.gif?raw=true)
328
+ ![test-explorer](https://raw.githubusercontent.com/scalameta/gh-pages-images/main/metals/vscode/Z3VtS0O.gif)
329
329
 
330
330
  NOTE: While Metals detects test suites for most of existing testing
331
331
  frameworks, support for recognizing individual tests is more limited.
@@ -340,11 +340,11 @@ individual test discovery:
340
340
  If you encounter an error, create an
341
341
  [issue](https://github.com/scalameta/metals/issues).
342
342
 
343
- ![test-explorer](https://github.com/scalameta/gh-pages-images/blob/master/metals/vscode/Z3VtS0O.gif?raw=true)
343
+ ![test-explorer](https://raw.githubusercontent.com/scalameta/gh-pages-images/main/metals/vscode/Z3VtS0O.gif)
344
344
 
345
345
  ### via code lenses
346
346
 
347
- ![lenses](https://github.com/scalameta/gh-pages-images/blob/master/metals/vscode/5nTnrcS.png?raw=true)
347
+ ![lenses](https://raw.githubusercontent.com/scalameta/gh-pages-images/main/metals/vscode/5nTnrcS.png)
348
348
 
349
349
  For each main or test class Metals shows two code lenses `run | debug` or
350
350
  `test | test debug`, which show up above the definition as a kind of virtual
@@ -476,26 +476,26 @@ nativeConfig ~= { c =>
476
476
 
477
477
  ## On type formatting for multiline string formatting
478
478
 
479
- ![on-type](https://github.com/scalameta/gh-pages-images/blob/master/metals/vscode/a0O2vCs.gif?raw=true)
479
+ ![on-type](https://raw.githubusercontent.com/scalameta/gh-pages-images/main/metals/vscode/a0O2vCs.gif)
480
480
 
481
481
  To properly support adding `|` in multiline strings we are using the
482
482
  `onTypeFormatting` method. The functionality is enabled by default, but you can
483
483
  disable/enable `onTypeFormatting` inside Visual Studio Code settings by checking
484
484
  `Editor: Format On Type`:
485
485
 
486
- ![on-type-setting](https://github.com/scalameta/gh-pages-images/blob/master/metals/vscode/s6nT9rC.png?raw=true)
486
+ ![on-type-setting](https://raw.githubusercontent.com/scalameta/gh-pages-images/main/metals/vscode/s6nT9rC.png)
487
487
 
488
488
  ## Formatting on paste for multiline strings
489
489
 
490
490
  Whenever text is paste into a multiline string with `|` it will be properly
491
491
  formatted by Metals:
492
492
 
493
- ![format-on-paste](https://github.com/scalameta/gh-pages-images/blob/master/metals/vscode/fF0XWYC.gif?raw=true)
493
+ ![format-on-paste](https://raw.githubusercontent.com/scalameta/gh-pages-images/main/metals/vscode/fF0XWYC.gif)
494
494
 
495
495
  This feature is enabled by default. If you need to disable/enable formatting on
496
496
  paste in Visual Studio Code you can check the `Editor: Format On Paste` setting:
497
497
 
498
- ![format-on-paste-setting](https://github.com/scalameta/gh-pages-images/blob/master/metals/vscode/rMrk27F.png?raw=true)
498
+ ![format-on-paste-setting](https://raw.githubusercontent.com/scalameta/gh-pages-images/main/metals/vscode/rMrk27F.png)
499
499
 
500
500
  ## Worksheets
501
501
 
@@ -507,7 +507,7 @@ the scenes worksheets are powered by the great work done in
507
507
  ### Getting started with Worksheets
508
508
 
509
509
  To get started with a worksheet you can either use the `metals.new-scala-file`
510
- command and select *Worksheet* or create a file called `*.worksheet.sc`.
510
+ command and select _Worksheet_ or create a file called `*.worksheet.sc`.
511
511
  This format is important since this is what tells Metals that it's meant to be
512
512
  treated as a worksheet and not just a Scala script. Where you create the
513
513
  script also matters. If you'd like to use classes and values from your
@@ -631,4 +631,4 @@ extension to use default IntelliJ shortcuts with VS Code.
631
631
  ## GitHub Codespaces and GitHub.dev support
632
632
 
633
633
  See
634
- <https://scalameta.org/metals/docs/editors/online-ides#github-codespaces-and-githubdev>
634
+ https://scalameta.org/metals/docs/editors/online-ides#github-codespaces-and-githubdev
@@ -9,7 +9,7 @@
9
9
  "ide",
10
10
  "scalameta"
11
11
  ],
12
- "version": "1.64.3",
12
+ "version": "1.65.3",
13
13
  "publisher": "scalameta",
14
14
  "contributors": [
15
15
  {
@@ -165,12 +165,13 @@
165
165
  },
166
166
  {
167
167
  "id": "twirl-html",
168
- "aliases": [
169
- "Twirl HTML"
170
- ],
171
168
  "extensions": [
172
169
  ".scala.html"
173
170
  ],
171
+ "aliases": [
172
+ "Twirl HTML"
173
+ ],
174
+ "configuration": "./syntaxes/language-configurations/twirl-html.language-configuration.json",
174
175
  "icon": {
175
176
  "dark": "icons/file_type_play.svg",
176
177
  "light": "icons/file_type_play.svg"
@@ -216,6 +217,24 @@
216
217
  }
217
218
  }
218
219
  ],
220
+ "customEditors": [
221
+ {
222
+ "viewType": "metals.classDecoder",
223
+ "displayName": "Metals (decoded class file)",
224
+ "selector": [
225
+ {
226
+ "filenamePattern": "*.class"
227
+ },
228
+ {
229
+ "filenamePattern": "*.tasty"
230
+ },
231
+ {
232
+ "filenamePattern": "*.semanticdb"
233
+ }
234
+ ],
235
+ "priority": "option"
236
+ }
237
+ ],
219
238
  "grammars": [
220
239
  {
221
240
  "language": "javap-verbose",
@@ -249,8 +268,11 @@
249
268
  },
250
269
  {
251
270
  "language": "twirl-html",
252
- "scopeName": "text.html.twirl",
271
+ "scopeName": "source.twirl",
253
272
  "path": "./syntaxes/twirl-html.json",
273
+ "unbalancedBracketScopes": [
274
+ "source.twirl"
275
+ ],
254
276
  "embeddedLanguages": {
255
277
  "text.html.basic": "html"
256
278
  }
@@ -352,7 +374,7 @@
352
374
  },
353
375
  "metals.serverVersion": {
354
376
  "type": "string",
355
- "default": "1.6.6",
377
+ "default": "1.6.7",
356
378
  "markdownDescription": "The version of the Metals server artifact. Requires reloading the window. \n\n**VS Code extension version is guaranteed to work only with the default version, change if you know what you're doing**"
357
379
  },
358
380
  "metals.serverProperties": {
@@ -526,6 +548,24 @@
526
548
  "default": true,
527
549
  "markdownDescription": "When this option is enabled, Metals will provide semantic tokens for clients that support it. The feature is still experimental and does not work for all sources."
528
550
  },
551
+ "metals.classFileOpenEncoding": {
552
+ "type": "string",
553
+ "default": "cfr",
554
+ "enum": [
555
+ "none",
556
+ "cfr",
557
+ "javap",
558
+ "javap-verbose"
559
+ ],
560
+ "enumDescriptions": [
561
+ "Open `.class` files in the editor as usual.",
562
+ "Open with CFR decompiled Java (same as **Metals: Show decompiled Java**).",
563
+ "Open with javap disassembly (same as **Metals: Show javap**).",
564
+ "Open with javap verbose disassembly (same as **Metals: Show javap verbose**)."
565
+ ],
566
+ "scope": "window",
567
+ "markdownDescription": "When not `none`, opening a `.class` file uses a Metals custom editor and together with `workbench.editorAssociations` set VS Code does not treat the file as binary (no “Open anyway” prompt). The decoded view uses the same `metalsDecode:` pipeline as **Show decompiled Java** / **Show javap**."
568
+ },
529
569
  "metals.testUserInterface": {
530
570
  "type": "string",
531
571
  "default": "Test Explorer",
@@ -562,6 +602,10 @@
562
602
  "2.12.18",
563
603
  "2.12.17",
564
604
  "2.11.12",
605
+ "3.8.3",
606
+ "3.8.2",
607
+ "3.8.1",
608
+ "3.8.0",
565
609
  "3.7.4",
566
610
  "3.7.3",
567
611
  "3.7.2",
@@ -619,6 +663,17 @@
619
663
  "type": "boolean",
620
664
  "default": false,
621
665
  "markdownDescription": "If Metals should start an HTTP Model Context Protocol server, that can be used by AI tools to provide better context about the codebase. Needs to be enabled in the client as well."
666
+ },
667
+ "metals.trace.server": {
668
+ "type": "string",
669
+ "enum": [
670
+ "off",
671
+ "messages",
672
+ "verbose"
673
+ ],
674
+ "default": "off",
675
+ "description": "Traces the communication between VS Code and the Metals language server.",
676
+ "scope": "window"
622
677
  }
623
678
  }
624
679
  },
@@ -1323,43 +1378,43 @@
1323
1378
  "@types/js-yaml": "4.0.9",
1324
1379
  "@types/marked": "^6.0.0",
1325
1380
  "@types/mocha": "^10.0.10",
1326
- "@types/node": "25.5.0",
1381
+ "@types/node": "25.6.0",
1327
1382
  "@types/node-fetch": "^2.6.13",
1328
1383
  "@types/semver": "^7.7.1",
1329
1384
  "@types/shell-quote": "^1.6.1",
1330
- "@types/sinon": "^21.0.0",
1385
+ "@types/sinon": "^21.0.1",
1331
1386
  "@types/vscode": "1.63.0",
1332
1387
  "@types/yauzl": "^2.10.3",
1333
- "@typescript-eslint/eslint-plugin": "^8.57.2",
1334
- "@typescript-eslint/parser": "^8.57.2",
1388
+ "@typescript-eslint/eslint-plugin": "^8.58.2",
1389
+ "@typescript-eslint/parser": "^8.58.2",
1335
1390
  "@vscode/test-electron": "^2.3.0",
1336
- "@vscode/vsce": "^3.7.1",
1391
+ "@vscode/vsce": "^3.9.0",
1337
1392
  "chai": "^6.2.2",
1338
1393
  "conventional-changelog-cli": "5.0.0",
1339
- "eslint": "^10.1.0",
1394
+ "eslint": "^10.2.1",
1340
1395
  "eslint-config-prettier": "^10.1.8",
1341
1396
  "eslint-plugin-mocha": "^11.2.0",
1342
1397
  "glob": "^13.0.6",
1343
1398
  "mocha": "^11.7.5",
1344
- "ovsx": "0.10.9",
1345
- "prettier": "3.8.1",
1399
+ "ovsx": "0.10.11",
1400
+ "prettier": "3.8.3",
1346
1401
  "rimraf": "^6.1.3",
1347
- "sinon": "^21.0.3",
1402
+ "sinon": "^21.1.2",
1348
1403
  "ts-mocha": "^10.1.0",
1349
- "typescript": "5.9.3"
1404
+ "typescript": "6.0.3"
1350
1405
  },
1351
1406
  "dependencies": {
1352
1407
  "ansicolor": "^2.0.3",
1353
1408
  "fp-ts": "^2.16.11",
1354
1409
  "js-yaml": "4.1.1",
1355
- "marked": "^17.0.5",
1410
+ "marked": "^18.0.2",
1356
1411
  "node-fetch": "^3.3.2",
1357
1412
  "promisify-child-process": "4.1.2",
1358
1413
  "semver": "^7.7.4",
1359
1414
  "shell-quote": "^1.8.3",
1360
1415
  "vscode-languageclient": "9.0.1",
1361
1416
  "vscode-languageserver-protocol": "3.17.5",
1362
- "yauzl": "^3.2.1"
1417
+ "yauzl": "^3.3.0"
1363
1418
  },
1364
1419
  "extensionPack": [
1365
1420
  "scala-lang.scala"
@@ -0,0 +1,192 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
3
+ "name": "Twirl HTML",
4
+ "scopeName": "source.twirl",
5
+ "fileTypes": ["scala.html"],
6
+ "foldingStartMarker": "^[^\\S\\r\\n]*@\\*[^\\S\\r\\n]*[^\\S\\r\\n]*.*$",
7
+ "foldingStopMarker": "^[\\s]*\\*@[^\\S\\r\\n]*$",
8
+ "repository": {
9
+ "util-match-parens": {
10
+ "name": "meta.util.twirl.parens",
11
+ "comment": "A utility pattern to match everything inside a set of braces, including nested braces )(, as Scala source.",
12
+ "begin": "\\(",
13
+ "end": "\\)",
14
+ "patterns": [
15
+ { "include": "#util-match-parens" },
16
+ { "include": "source.scala" }
17
+ ]
18
+ },
19
+ "util-match-curly": {
20
+ "name": "meta.util.twirl.curly",
21
+ "comment": "A utility pattern to match everything inside a set of curly braces }{ as HTML-first source and then further nested @ScalaExpr expressions.",
22
+ "begin": "\\{",
23
+ "end": "\\}",
24
+ "patterns": [{ "include": "#util-match-curly" }, { "include": "$self" }]
25
+ },
26
+ "symbols-at": {
27
+ "name": "keyword.interpolation.scala",
28
+ "comment": "Applies colouring to the magic Twirl character @.",
29
+ "match": "@"
30
+ },
31
+ "comment-block-twirl": {
32
+ "name": "comment.block",
33
+ "comment": "A block comment @**@.",
34
+ "begin": "@\\*",
35
+ "end": "\\*@"
36
+ },
37
+ "comment-line-twirl": {
38
+ "name": "comment.line",
39
+ "match": "\/\/\/*.*"
40
+ },
41
+
42
+ "scala-explicit-implicits": {
43
+ "name": "meta.embedded.scala.explicitImplicits",
44
+ "match": "(@)([^\\)\\n\\r]*\\([^\\)\\n\\r]*\\)[ ]*\\([^\\)\\n\\r]*\\)[ ]*)",
45
+ "comment": "Matches implicit values provided to any method.",
46
+ "captures": {
47
+ "1": { "patterns": [{ "include": "#symbols-at" }] },
48
+ "2": { "patterns": [{ "include": "source.scala" }] }
49
+ }
50
+ },
51
+ "scala-inline": {
52
+ "name": "meta.embedded.scala.inlineScala",
53
+ "applyEndPatternLast": 1,
54
+ "begin": "(@)([\\w\\.]*)",
55
+ "end": "(?=[\\n\\r;!#%&*+\\-<@>\/?\\^|~£§])",
56
+ "comment": "Tries its best to match inline Scala code, starting with @ and ending at some characters where it's not possible to define something by in the Scala program (and is therefore definitely just a normal string)",
57
+ "beginCaptures": {
58
+ "1": { "patterns": [{ "include": "#symbols-at" }] },
59
+ "2": { "name": "keyword.control.twirl.m" }
60
+ },
61
+ "patterns": [
62
+ { "include": "#comment-block-twirl" },
63
+ { "include": "source.scala" }
64
+ ]
65
+ },
66
+ "scala-line": {
67
+ "name": "meta.embedded.scala.scalaLine",
68
+ "comment": "Scala expression @(t: T) , matching nested braces.",
69
+ "begin": "(@)[\\w\\.]*\\(",
70
+ "end": "\\)",
71
+ "beginCaptures": {
72
+ "1": { "patterns": [{ "include": "#symbols-at" }] }
73
+ },
74
+ "patterns": [
75
+ { "include": "#util-match-parens" },
76
+ { "include": "#symbols-at" },
77
+ { "include": "#comment-block-twirl" },
78
+ { "include": "source.scala" }
79
+ ]
80
+ },
81
+ "scala-line-curly": {
82
+ "name": "meta.embedded.scala.curly",
83
+ "begin": "(@)[^\\S\r\n]*\\{$",
84
+ "end": "(?=[\\n ;!#%&*+\\-<@>\/?\\^|~£§])",
85
+ "comment": "Same as #scala-inline but for curly braces }{ instead.",
86
+ "beginCaptures": {
87
+ "1": { "patterns": [{ "include": "#symbols-at" }] }
88
+ },
89
+ "patterns": [{ "include": "#util-match-curly" }, { "include": "$self" }]
90
+ },
91
+ "scala-block": {
92
+ "name": "meta.embedded.scala.source.block",
93
+ "begin": "(@)[\\w\\.]*\\{",
94
+ "end": "\\}",
95
+ "comment": "I don't know what this does anymore. I learnt that we could add comments here too late.",
96
+ "beginCaptures": {
97
+ "1": { "patterns": [{ "include": "#symbols-at" }] }
98
+ },
99
+ "patterns": [
100
+ { "include": "#util-match-curly" },
101
+ { "include": "source.scala" }
102
+ ]
103
+ },
104
+ "scala-expr": {
105
+ "name": "meta.embedded.scala.source.expr",
106
+ "begin": "(@)([\\w\\.]*)\\(",
107
+ "end": "\\)",
108
+ "comment": "A Scala expression in Twirl - matching @something(...).",
109
+ "beginCaptures": {
110
+ "1": { "patterns": [{ "include": "#symbols-at" }] },
111
+ "2": {
112
+ "patterns": [
113
+ { "include": "#keyword-this" },
114
+ { "include": "source.scala" }
115
+ ]
116
+ }
117
+ },
118
+ "patterns": [
119
+ { "include": "#util-match-parens" },
120
+ { "include": "#keyword-this" },
121
+ { "include": "source.scala" }
122
+ ]
123
+ },
124
+ "scala-importStatement": {
125
+ "name": "meta.embedded.scala.source.importStatementLine",
126
+ "match": "(@)[ ]*(import [^@*\\n\\r]*)(.*)",
127
+ "comment": "An import statement, attempts to capture anything that isn't @* and then match that as Scala source, then match the remainder after that as a Twirl comment.",
128
+ "captures": {
129
+ "1": { "patterns": [{ "include": "#symbols-at" }] },
130
+ "2": { "patterns": [{ "include": "source.scala" }] },
131
+ "3": { "patterns": [{ "include": "#comment-block-twirl" }] }
132
+ }
133
+ },
134
+
135
+ "util-match-curly-template-block": {
136
+ "name": "meta.embedded.util.matchCurlyTemplateBlock",
137
+ "begin": "\\{",
138
+ "end": "\\}",
139
+ "patterns": [{ "include": "$self" }]
140
+ },
141
+ "scala-template-block": {
142
+ "name": "meta.embedded.twirl.source.templateBlock",
143
+ "begin": "(@)([\\w\\.]*)\\s*\\=\\s*\\{",
144
+ "end": "\\}",
145
+ "comment": "Attempts to match a template block in assignment, so @ something = { ... }",
146
+ "beginCaptures": {
147
+ "1": { "patterns": [{ "include": "#symbols-at" }] },
148
+ "2": { "patterns": [{ "name": "keyword.control" }] }
149
+ },
150
+ "patterns": [
151
+ { "include": "#util-match-curly-template-block" },
152
+ { "include": "$self" }
153
+ ]
154
+ },
155
+ "twirl-template-params": {
156
+ "name": "meta.embedded.twirl.templateHeader.parameters.ident",
157
+ "begin": "(@)([\\s]+[(][^)]*\\))(\\g<2>*)",
158
+ "end": "(?:[\\s]*)[)]([\\s]*[(][^)]*[)])*",
159
+ "comment": "Attempts to match the template parameters of a Twirl HTML file.",
160
+ "beginCaptures": {
161
+ "1": { "patterns": [{ "include": "#symbols-at" }] },
162
+ "0": { "patterns": [{ "include": "source.scala" }] }
163
+ },
164
+ "endCaptures": { "0": { "patterns": [{ "include": "source.scala" }] } },
165
+ "patterns": [{ "include": "source.scala" }]
166
+ },
167
+ "escape-at": {
168
+ "name": "string",
169
+ "match": "@@"
170
+ },
171
+ "keyword-this": {
172
+ "name": "keyword",
173
+ "match": "\\b(this)\\b"
174
+ }
175
+ },
176
+ "patterns": [
177
+ { "include": "#escape-at" },
178
+ { "include": "#comment-line-twirl" },
179
+ { "include": "#comment-block-twirl" },
180
+ { "include": "#twirl-template-params" },
181
+ { "include": "#scala-explicit-implicits" },
182
+ { "include": "#scala-template-block" },
183
+ { "include": "#scala-block" },
184
+ { "include": "#scala-expr" },
185
+ { "include": "#scala-line" },
186
+ { "include": "#scala-importStatement" },
187
+ { "include": "#scala-inline" },
188
+ { "include": "#scala-line-curly" },
189
+ { "include": "#symbols-at" },
190
+ { "include": "text.html.derivative" }
191
+ ]
192
+ }