@codingame/monaco-editor-wrapper 4.0.0-next.3 → 4.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.
- package/README.md +0 -26
- package/dist/_virtual/_commonjsHelpers.js +1 -4
- package/dist/_virtual/_monaco-editor.js +1 -1
- package/dist/assets/Angular.ng-template-17.1.0.vsix/expression.json +834 -0
- package/dist/assets/Angular.ng-template-17.1.0.vsix/inline-styles.json +98 -0
- package/dist/assets/Angular.ng-template-17.1.0.vsix/inline-template.json +76 -0
- package/dist/assets/Angular.ng-template-17.1.0.vsix/package.json +260 -0
- package/dist/assets/Angular.ng-template-17.1.0.vsix/template-blocks.json +83 -0
- package/dist/assets/Angular.ng-template-17.1.0.vsix/template.json +195 -0
- package/dist/assets/Dart-Code.dart-code-3.81.20240117.vsix/dart-language-configuration.json +29 -0
- package/dist/assets/Dart-Code.dart-code-3.81.20240117.vsix/dart.json +526 -0
- package/dist/assets/Dart-Code.dart-code-3.81.20240117.vsix/flutter_activity_bar.svg +14 -0
- package/dist/assets/Dart-Code.dart-code-3.81.20240117.vsix/package.json +3094 -0
- package/dist/assets/IMCTradingBV.svlangserver-0.4.1.vsix/codeblock.json +81 -0
- package/dist/assets/IMCTradingBV.svlangserver-0.4.1.vsix/language-configuration.json +57 -0
- package/dist/assets/IMCTradingBV.svlangserver-0.4.1.vsix/package.json +279 -0
- package/dist/assets/IMCTradingBV.svlangserver-0.4.1.vsix/systemverilog.json +349 -0
- package/dist/assets/IMCTradingBV.svlangserver-0.4.1.vsix/systemverilog.tmLanguage.json +1246 -0
- package/dist/assets/IMCTradingBV.svlangserver-0.4.1.vsix/tasks.schema.json +30 -0
- package/dist/assets/JakeBecker.elixir-ls-0.19.0.vsix/eex-language-configuration.json +58 -0
- package/dist/assets/JakeBecker.elixir-ls-0.19.0.vsix/eex.json +41 -0
- package/dist/assets/JakeBecker.elixir-ls-0.19.0.vsix/elixir-language-configuration.json +182 -0
- package/dist/assets/JakeBecker.elixir-ls-0.19.0.vsix/elixir.json +2698 -0
- package/dist/assets/JakeBecker.elixir-ls-0.19.0.vsix/html-eex.json +25 -0
- package/dist/assets/JakeBecker.elixir-ls-0.19.0.vsix/package.json +623 -0
- package/dist/assets/JuanBlanco.solidity-0.0.165.vsix/package.json +569 -0
- package/dist/assets/JuanBlanco.solidity-0.0.165.vsix/solidity.configuration.json +32 -0
- package/dist/assets/JuanBlanco.solidity-0.0.165.vsix/solidity.json +1215 -0
- package/dist/assets/JuanBlanco.solidity-0.0.165.vsix/solidity2.json +213 -0
- package/dist/assets/REditorSupport.r-2.8.2.vsix/Markdown Redcarpet.json +146 -0
- package/dist/assets/REditorSupport.r-2.8.2.vsix/RMarkdown.json +13 -0
- package/dist/assets/REditorSupport.r-2.8.2.vsix/Rcpp.json +34 -0
- package/dist/assets/REditorSupport.r-2.8.2.vsix/Rd (R Documentation).json +117 -0
- package/dist/assets/REditorSupport.r-2.8.2.vsix/Rlogo.svg +14 -0
- package/dist/assets/REditorSupport.r-2.8.2.vsix/dcf-configuration.json +24 -0
- package/dist/assets/REditorSupport.r-2.8.2.vsix/dcf.json +82 -0
- package/dist/assets/REditorSupport.r-2.8.2.vsix/package.json +2156 -0
- package/dist/assets/REditorSupport.r-2.8.2.vsix/r-configuration.json +33 -0
- package/dist/assets/REditorSupport.r-2.8.2.vsix/r-snippets.json +475 -0
- package/dist/assets/REditorSupport.r-2.8.2.vsix/r.json +647 -0
- package/dist/assets/REditorSupport.r-2.8.2.vsix/rbuildignore-configuration.json +2 -0
- package/dist/assets/REditorSupport.r-2.8.2.vsix/rbuildignore.json +27 -0
- package/dist/assets/REditorSupport.r-2.8.2.vsix/rd-configuration.json +27 -0
- package/dist/assets/REditorSupport.r-2.8.2.vsix/rmarkdown2.json +459 -0
- package/dist/assets/REditorSupport.r-2.8.2.vsix/rmd-configuration.json +27 -0
- package/dist/assets/REditorSupport.r-2.8.2.vsix/rnamespace.json +222 -0
- package/dist/assets/alefragnani.pascal-9.6.0.vsix/package.json +263 -0
- package/dist/assets/alefragnani.pascal-9.6.0.vsix/package.nls.json +24 -0
- package/dist/assets/alefragnani.pascal-9.6.0.vsix/package.nls.pt-br.json +24 -0
- package/dist/assets/alefragnani.pascal-9.6.0.vsix/pascal.configuration.json +32 -0
- package/dist/assets/alefragnani.pascal-9.6.0.vsix/pascal.json +414 -0
- package/dist/assets/alefragnani.pascal-9.6.0.vsix/pascal.tmLanguage +243 -0
- package/dist/assets/batisteo.vscode-django-1.15.0.vsix/django-html.tmLanguage.json +701 -0
- package/dist/assets/batisteo.vscode-django-1.15.0.vsix/django-txt.tmLanguage.json +255 -0
- package/dist/assets/batisteo.vscode-django-1.15.0.vsix/filters.json +339 -0
- package/dist/assets/batisteo.vscode-django-1.15.0.vsix/language-configuration.json +63 -0
- package/dist/assets/batisteo.vscode-django-1.15.0.vsix/package.json +156 -0
- package/dist/assets/batisteo.vscode-django-1.15.0.vsix/tags.json +524 -0
- package/dist/assets/bitwisecook.tcl-0.4.3.vsix/language-configuration.json +75 -0
- package/dist/assets/bitwisecook.tcl-0.4.3.vsix/package.json +102 -0
- package/dist/assets/bitwisecook.tcl-0.4.3.vsix/tcl.json +5474 -0
- package/dist/assets/bitwisecook.tcl-0.4.3.vsix/tcl2.json +142 -0
- package/dist/assets/broadcomMFD.cobol-language-support-2.1.0.vsix/CICS.tmLanguage.json +66 -0
- package/dist/assets/broadcomMFD.cobol-language-support-2.1.0.vsix/COBOL.tmLanguage.json +165 -0
- package/dist/assets/broadcomMFD.cobol-language-support-2.1.0.vsix/SQL.tmLanguage.json +25 -0
- package/dist/assets/broadcomMFD.cobol-language-support-2.1.0.vsix/lang-config.json +27 -0
- package/dist/assets/broadcomMFD.cobol-language-support-2.1.0.vsix/package.json +513 -0
- package/dist/assets/broadcomMFD.cobol-language-support-2.1.0.vsix/pgm_conf.schema.json +24 -0
- package/dist/assets/broadcomMFD.cobol-language-support-2.1.0.vsix/proc_grps.schema.json +55 -0
- package/dist/assets/castwide.solargraph-0.24.1.vsix/package.json +295 -0
- package/dist/assets/ckolkman.vscode-postgres-1.4.3.vsix/language-configuration.json +25 -0
- package/dist/assets/ckolkman.vscode-postgres-1.4.3.vsix/package.json +468 -0
- package/dist/assets/ckolkman.vscode-postgres-1.4.3.vsix/pgsql.tmLanguage +413 -0
- package/dist/assets/ckolkman.vscode-postgres-1.4.3.vsix/postgres-explorer.svg +100 -0
- package/dist/assets/golang.Go-0.40.3.vsix/go.json +274 -0
- package/dist/assets/golang.Go-0.40.3.vsix/go.mod.language-configuration.json +5 -0
- package/dist/assets/golang.Go-0.40.3.vsix/go.mod.tmGrammar.json +171 -0
- package/dist/assets/golang.Go-0.40.3.vsix/go.sum.tmGrammar.json +44 -0
- package/dist/assets/golang.Go-0.40.3.vsix/package.json +2828 -0
- package/dist/assets/johnsoncodehk.vscode-angular-1.0.22.vsix/angular-directives.json +123 -0
- package/dist/assets/johnsoncodehk.vscode-angular-1.0.22.vsix/angular-interpolations.json +44 -0
- package/dist/assets/johnsoncodehk.vscode-angular-1.0.22.vsix/angular-template-language-configuration.json +8 -0
- package/dist/assets/johnsoncodehk.vscode-angular-1.0.22.vsix/package.json +102 -0
- package/dist/assets/justusadam.language-haskell-3.6.0.vsix/C2Hs-configuration.json +29 -0
- package/dist/assets/justusadam.language-haskell-3.6.0.vsix/C2Hs.json +23 -0
- package/dist/assets/justusadam.language-haskell-3.6.0.vsix/Hsc2Hs-configuration.json +30 -0
- package/dist/assets/justusadam.language-haskell-3.6.0.vsix/Hsc2Hs.json +23 -0
- package/dist/assets/justusadam.language-haskell-3.6.0.vsix/alex.json +236 -0
- package/dist/assets/justusadam.language-haskell-3.6.0.vsix/cabal-configuration.json +6 -0
- package/dist/assets/justusadam.language-haskell-3.6.0.vsix/cabal.json +53 -0
- package/dist/assets/justusadam.language-haskell-3.6.0.vsix/codeblock-cabal.json +28 -0
- package/dist/assets/justusadam.language-haskell-3.6.0.vsix/codeblock-haskell.json +28 -0
- package/dist/assets/justusadam.language-haskell-3.6.0.vsix/codeblock-literate-haskell.json +28 -0
- package/dist/assets/justusadam.language-haskell-3.6.0.vsix/happy.json +196 -0
- package/dist/assets/justusadam.language-haskell-3.6.0.vsix/haskell-configuration.json +29 -0
- package/dist/assets/justusadam.language-haskell-3.6.0.vsix/haskell.json +2525 -0
- package/dist/assets/justusadam.language-haskell-3.6.0.vsix/literate-haskell-configuration.json +29 -0
- package/dist/assets/justusadam.language-haskell-3.6.0.vsix/literateHaskell.json +56 -0
- package/dist/assets/justusadam.language-haskell-3.6.0.vsix/package.json +234 -0
- package/dist/assets/mathiasfrohlich.Kotlin-1.7.1.vsix/Kotlin.tmLanguage +1067 -0
- package/dist/assets/mathiasfrohlich.Kotlin-1.7.1.vsix/codeblock.json +22 -0
- package/dist/assets/mathiasfrohlich.Kotlin-1.7.1.vsix/kotlin.configuration.json +35 -0
- package/dist/assets/mathiasfrohlich.Kotlin-1.7.1.vsix/kotlin.json +107 -0
- package/dist/assets/mathiasfrohlich.Kotlin-1.7.1.vsix/package.json +100 -0
- package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/aspnetcorerazor.tmLanguage.json +1812 -0
- package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/csharp.json +493 -0
- package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/language-configuration.json +24 -0
- package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.json +5694 -0
- package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.cs.json +203 -0
- package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.de.json +203 -0
- package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.es.json +203 -0
- package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.fr.json +203 -0
- package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.it.json +203 -0
- package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.ja.json +203 -0
- package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.json +421 -0
- package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.ko.json +203 -0
- package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.pl.json +203 -0
- package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.pt-br.json +203 -0
- package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.ru.json +203 -0
- package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.tr.json +203 -0
- package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.zh-cn.json +203 -0
- package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/package.nls.zh-tw.json +203 -0
- package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/vs2019_dark.json +783 -0
- package/dist/assets/ms-dotnettools.csharp-2.16.24.vsix/vs2019_light.json +807 -0
- package/dist/assets/ms-python.python-2023.25.10221012.vsix/conda-environment.json +1 -0
- package/dist/assets/ms-python.python-2023.25.10221012.vsix/conda-meta.json +1 -0
- package/dist/assets/ms-python.python-2023.25.10221012.vsix/condarc.json +1 -0
- package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.json +1 -0
- package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.cs.json +1 -0
- package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.de.json +1 -0
- package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.es.json +1 -0
- package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.fr.json +1 -0
- package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.it.json +1 -0
- package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.ja.json +1 -0
- package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.json +1 -0
- package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.ko.json +1 -0
- package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.pl.json +1 -0
- package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.pt-br.json +1 -0
- package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.qps-ploc.json +1 -0
- package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.ru.json +1 -0
- package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.tr.json +1 -0
- package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.zh-cn.json +1 -0
- package/dist/assets/ms-python.python-2023.25.10221012.vsix/package.nls.zh-tw.json +1 -0
- package/dist/assets/ms-python.python-2023.25.10221012.vsix/pip-requirements.json +1 -0
- package/dist/assets/ms-python.python-2023.25.10221012.vsix/pip-requirements.tmLanguage.json +1 -0
- package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.json +6383 -0
- package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.cs.json +441 -0
- package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.de.json +441 -0
- package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.es.json +441 -0
- package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.fr.json +441 -0
- package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.it.json +441 -0
- package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.ja.json +441 -0
- package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.json +1006 -0
- package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.ko.json +441 -0
- package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.pl.json +441 -0
- package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.pt-br.json +441 -0
- package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.ru.json +441 -0
- package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.tr.json +441 -0
- package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.zh-cn.json +441 -0
- package/dist/assets/ms-vscode.cpptools-1.19.2.vsix/package.nls.zh-tw.json +441 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/META.json +56 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/META2.json +10 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/atd.json +57 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/cram.json +167 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/dune-project.json +326 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/dune-project2.json +26 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/dune-workspace.json +191 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/dune.json +2949 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/dune2.json +20 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/dune3.json +34 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/logo.svg +3 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/menhir-action.json +29 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/menhir.json +349 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/menhir2.json +17 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/merlin.json +73 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/oasis.json +69 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/oasis2.json +6 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocaml-markdown-codeblock.json +24 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocaml.interface.json +161 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocaml.json +654 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocaml2.json +44 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocaml3.json +54 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocamlbuild.json +110 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocamlbuild2.json +12 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocamldoc.json +31 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocamlformat.json +239 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocamlformat2.json +5 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocamllex.json +108 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocamllex2.json +14 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/ocamllex3.json +6 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/opam-install.json +23 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/opam-install2.json +8 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/opam.json +111 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/opam2.json +21 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/package.json +1231 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/reason-markdown-codeblock.json +24 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/reason.json +2357 -0
- package/dist/assets/ocamllabs.ocaml-platform-1.16.1.vsix/reason2.json +21 -0
- package/dist/assets/pgourlain.erlang-0.9.8.vsix/Erlang.plist +2719 -0
- package/dist/assets/pgourlain.erlang-0.9.8.vsix/erlang.configuration.json +25 -0
- package/dist/assets/pgourlain.erlang-0.9.8.vsix/erlang.json +197 -0
- package/dist/assets/pgourlain.erlang-0.9.8.vsix/package.json +305 -0
- package/dist/assets/redhat.java-1.27.2024012608.vsix/JavaProperties.tmLanguage.json +103 -0
- package/dist/assets/redhat.java-1.27.2024012608.vsix/inline-html.json +44 -0
- package/dist/assets/redhat.java-1.27.2024012608.vsix/inline-json.json +44 -0
- package/dist/assets/redhat.java-1.27.2024012608.vsix/inline-sql.json +46 -0
- package/dist/assets/redhat.java-1.27.2024012608.vsix/inline-xml.json +44 -0
- package/dist/assets/redhat.java-1.27.2024012608.vsix/inline-yaml.json +44 -0
- package/dist/assets/redhat.java-1.27.2024012608.vsix/java-properties-configuration.json +67 -0
- package/dist/assets/redhat.java-1.27.2024012608.vsix/java.tmLanguage.json +1888 -0
- package/dist/assets/redhat.java-1.27.2024012608.vsix/kotlin.tmLanguage.json +702 -0
- package/dist/assets/redhat.java-1.27.2024012608.vsix/language-configuration.json +92 -0
- package/dist/assets/redhat.java-1.27.2024012608.vsix/language-configuration2.json +27 -0
- package/dist/assets/redhat.java-1.27.2024012608.vsix/package.json +1819 -0
- package/dist/assets/redhat.java-1.27.2024012608.vsix/package.nls.json +30 -0
- package/dist/assets/redhat.java-1.27.2024012608.vsix/package.nls.ko.json +27 -0
- package/dist/assets/redhat.java-1.27.2024012608.vsix/package.nls.zh-cn.json +28 -0
- package/dist/assets/redhat.java-1.27.2024012608.vsix/package.nls.zh-tw.json +27 -0
- package/dist/assets/redhat.java-1.27.2024012608.vsix/package.schema.json +48 -0
- package/dist/assets/scala-lang.scala-0.5.7.vsix/Scala.tmLanguage.json +1 -0
- package/dist/assets/scala-lang.scala-0.5.7.vsix/language-configuration.json +33 -0
- package/dist/assets/scala-lang.scala-0.5.7.vsix/package.json +67 -0
- package/dist/assets/scalameta.metals-1.27.3.vsix/book-dark.svg +5 -0
- package/dist/assets/scalameta.metals-1.27.3.vsix/book-light.svg +1 -0
- package/dist/assets/scalameta.metals-1.27.3.vsix/buildtarget.json +37 -0
- package/dist/assets/scalameta.metals-1.27.3.vsix/file_type_java.svg +1 -0
- package/dist/assets/scalameta.metals-1.27.3.vsix/file_type_scala.svg +1 -0
- package/dist/assets/scalameta.metals-1.27.3.vsix/jvm-bytecode-verbose.json +745 -0
- package/dist/assets/scalameta.metals-1.27.3.vsix/jvm-bytecode.json +395 -0
- package/dist/assets/scalameta.metals-1.27.3.vsix/package.json +1096 -0
- package/dist/assets/scalameta.metals-1.27.3.vsix/scalameta-logo.png +0 -0
- package/dist/assets/scalameta.metals-1.27.3.vsix/scalameta.svg +11 -0
- package/dist/assets/scalameta.metals-1.27.3.vsix/semanticdb.json +37 -0
- package/dist/assets/scalameta.metals-1.27.3.vsix/tasty.json +56 -0
- package/dist/assets/sumneko.lua-3.7.4.vsix/package.json +3347 -0
- package/dist/assets/sumneko.lua-3.7.4.vsix/package.nls.json +231 -0
- package/dist/assets/sumneko.lua-3.7.4.vsix/package.nls.pt-br.json +231 -0
- package/dist/assets/sumneko.lua-3.7.4.vsix/package.nls.zh-cn.json +231 -0
- package/dist/assets/sumneko.lua-3.7.4.vsix/package.nls.zh-tw.json +231 -0
- package/dist/assets/sumneko.lua-3.7.4.vsix/schema.json +3423 -0
- package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/javascript.json +43 -0
- package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/language-configuration.json +38 -0
- package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/markdown-svelte-css.json +23 -0
- package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/markdown-svelte-js.json +23 -0
- package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/markdown-svelte.json +45 -0
- package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/package-json-schema.json +9 -0
- package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/package.json +732 -0
- package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/postcss.json +377 -0
- package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/prettier-options-schema.json +112 -0
- package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/pug-svelte-dotblock.json +55 -0
- package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/pug-svelte-tags.json +201 -0
- package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/pug-svelte.json +293 -0
- package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/svelte.json +26 -0
- package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/svelte.tmLanguage.json +1171 -0
- package/dist/assets/svelte.svelte-vscode-108.2.1.vsix/typescript.json +37 -0
- package/dist/assets/webfreak.code-d-0.23.2.vsix/d.json +3163 -0
- package/dist/assets/webfreak.code-d-0.23.2.vsix/d2.json +90 -0
- package/dist/assets/webfreak.code-d-0.23.2.vsix/diet.json +742 -0
- package/dist/assets/webfreak.code-d-0.23.2.vsix/diet2.json +92 -0
- package/dist/assets/webfreak.code-d-0.23.2.vsix/diet3.json +87 -0
- package/dist/assets/webfreak.code-d-0.23.2.vsix/dml.json +157 -0
- package/dist/assets/webfreak.code-d-0.23.2.vsix/dub.schema.json +377 -0
- package/dist/assets/webfreak.code-d-0.23.2.vsix/general.json +84 -0
- package/dist/assets/webfreak.code-d-0.23.2.vsix/package.json +1306 -0
- package/dist/assets/webfreak.code-d-0.23.2.vsix/sdl.json +149 -0
- package/dist/configuration/index.d.ts +1 -1
- package/dist/configuration/index.js +2 -2
- package/dist/editor/cobol.js +1 -1
- package/dist/extensions/Angular.ng-template-17.1.0.vsix.js +20 -0
- package/dist/extensions/Dart-Code.dart-code-3.81.20240117.vsix.js +16 -0
- package/dist/extensions/IMCTradingBV.svlangserver-0.4.1.vsix.js +14 -12
- package/dist/extensions/JakeBecker.elixir-ls-0.19.0.vsix.js +20 -0
- package/dist/extensions/JuanBlanco.solidity-0.0.165.vsix.js +16 -0
- package/dist/extensions/REditorSupport.r-2.8.2.vsix.js +44 -0
- package/dist/extensions/alefragnani.pascal-9.6.0.vsix.js +16 -9
- package/dist/extensions/batisteo.vscode-django-1.15.0.vsix.js +20 -0
- package/dist/extensions/bitwisecook.tcl-0.4.3.vsix.js +12 -9
- package/dist/extensions/broadcomMFD.cobol-language-support-2.1.0.vsix.js +22 -0
- package/dist/extensions/castwide.solargraph-0.24.1.vsix.js +10 -0
- package/dist/extensions/ckolkman.vscode-postgres-1.4.3.vsix.js +16 -0
- package/dist/extensions/golang.Go-0.40.3.vsix.js +18 -0
- package/dist/extensions/johnsoncodehk.vscode-angular-1.0.22.vsix.js +12 -9
- package/dist/extensions/justusadam.language-haskell-3.6.0.vsix.js +24 -25
- package/dist/extensions/mathiasfrohlich.Kotlin-1.7.1.vsix.js +13 -10
- package/dist/extensions/ms-dotnettools.csharp-2.16.24.vsix.js +48 -0
- package/dist/extensions/ms-python.python-2023.25.10221012.vsix.js +50 -0
- package/dist/extensions/ms-vscode.cpptools-1.19.2.vsix.js +38 -0
- package/dist/extensions/ocamllabs.ocaml-platform-1.16.1.vsix.js +84 -0
- package/dist/extensions/pgourlain.erlang-0.9.8.vsix.js +16 -0
- package/dist/extensions/redhat.java-1.27.2024012608.vsix.js +42 -0
- package/dist/extensions/scala-lang.scala-0.5.7.vsix.js +14 -0
- package/dist/extensions/scalameta.metals-1.27.3.vsix.js +32 -0
- package/dist/extensions/sumneko.lua-3.7.4.vsix.js +20 -0
- package/dist/extensions/svelte.svelte-vscode-108.2.1.vsix.js +38 -0
- package/dist/extensions/webfreak.code-d-0.23.2.vsix.js +18 -18
- package/dist/extensions.d.ts +35 -35
- package/dist/features/debug.js +1 -2
- package/dist/features/extensionHostWorker.d.ts +1 -0
- package/dist/features/extensionHostWorker.js +11 -0
- package/dist/features/search.d.ts +1 -1
- package/dist/features/search.js +3 -3
- package/dist/features/viewPanels.d.ts +1 -1
- package/dist/features/viewPanels.js +7 -4
- package/dist/features/views.d.ts +4 -4
- package/dist/features/views.js +19 -9
- package/dist/index.d.ts +2 -1
- package/dist/keybindings/index.js +1 -1
- package/dist/keybindings/vim.js +1 -1
- package/dist/languages/index.js +1 -1
- package/dist/main.js +3 -2
- package/dist/monaco.d.ts +1 -3
- package/dist/monaco.js +61 -60
- package/dist/node_modules/@codingame/monaco-vscode-files-service-override/external/tslib/tslib.es6.js +11 -0
- package/dist/node_modules/@codingame/monaco-vscode-files-service-override/files.js +396 -0
- package/dist/node_modules/@codingame/monaco-vscode-files-service-override/override/vs/platform/dialogs/common/dialogs.js +8 -0
- package/dist/node_modules/@codingame/monaco-vscode-files-service-override/vscode/src/vs/platform/files/browser/indexedDBFileSystemProvider.js +406 -0
- package/dist/node_modules/@codingame/monaco-vscode-files-service-override/vscode/src/vs/platform/files/common/fileService.js +989 -0
- package/dist/node_modules/@codingame/monaco-vscode-files-service-override/vscode/src/vs/platform/files/common/io.js +77 -0
- package/dist/node_modules/@codingame/monaco-vscode-files-service-override/vscode/src/vs/workbench/services/textfile/browser/browserTextFileService.js +58 -0
- package/dist/node_modules/@codingame/monaco-vscode-files-service-override/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +641 -0
- package/dist/node_modules/@codingame/monaco-vscode-files-service-override/vscode/src/vs/workbench/services/textfile/common/textFileEditorModelManager.js +404 -0
- package/dist/node_modules/@codingame/monaco-vscode-files-service-override/vscode/src/vs/workbench/services/textfile/common/textFileSaveParticipant.js +64 -0
- package/dist/node_modules/monaco-vim/lib/cm_adapter.js +7 -3
- package/dist/services.d.ts +3 -1
- package/dist/services.js +61 -26
- package/dist/tools/EditorOpenHandlerRegistry.d.ts +1 -1
- package/dist/tools/EditorOpenHandlerRegistry.js +3 -3
- package/dist/tools/FakeWorker.d.ts +5 -0
- package/dist/tools/FakeWorker.js +8 -0
- package/dist/tools/crossOriginWorker.d.ts +9 -0
- package/dist/tools/crossOriginWorker.js +35 -0
- package/dist/tools.js +1 -1
- package/dist/worker.d.ts +1 -0
- package/dist/worker.js +9 -2
- package/package.json +112 -39
- package/stats.html +32 -28
- package/dist/_virtual/Angular.ng-template-15.2.1.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/C2Hs-configuration.json.raw.js +0 -3
- package/dist/_virtual/C2Hs.json.raw.js +0 -3
- package/dist/_virtual/COBOL.tmLanguage.json.raw.js +0 -3
- package/dist/_virtual/Dart-Code.dart-code-3.63.20230419.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/Erlang.plist.raw.js +0 -3
- package/dist/_virtual/Hsc2Hs-configuration.json.raw.js +0 -3
- package/dist/_virtual/Hsc2Hs.json.raw.js +0 -3
- package/dist/_virtual/IMCTradingBV.svlangserver-0.4.1.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/JakeBecker.elixir-ls-0.14.5.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/JavaProperties.tmLanguage.json.raw.js +0 -3
- package/dist/_virtual/JuanBlanco.solidity-0.0.152.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/Kotlin.tmLanguage.raw.js +0 -3
- package/dist/_virtual/META.json.raw.js +0 -3
- package/dist/_virtual/META.json.raw2.js +0 -3
- package/dist/_virtual/Markdown Redcarpet.json.raw.js +0 -3
- package/dist/_virtual/REditorSupport.r-2.7.2.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/RMarkdown.json.raw.js +0 -3
- package/dist/_virtual/Rcpp.json.raw.js +0 -3
- package/dist/_virtual/Rd (R Documentation).json.raw.js +0 -3
- package/dist/_virtual/Rlogo.svg.raw.js +0 -3
- package/dist/_virtual/Scala.tmLanguage.json.raw.js +0 -3
- package/dist/_virtual/_rollup-plugin-web-worker-loader__helper__browser__createBase64WorkerFactory.js +0 -31
- package/dist/_virtual/alefragnani.pascal-9.6.0.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/alex.json.raw.js +0 -3
- package/dist/_virtual/angular-directives.json.raw.js +0 -3
- package/dist/_virtual/angular-interpolations.json.raw.js +0 -3
- package/dist/_virtual/angular-template-language-configuration.json.raw.js +0 -3
- package/dist/_virtual/aspnetcorerazor.tmLanguage.json.raw.js +0 -3
- package/dist/_virtual/atd.json.raw.js +0 -3
- package/dist/_virtual/batisteo.vscode-django-1.10.0.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/bitwisecook.tcl-0.4.3.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/book-dark.svg.raw.js +0 -3
- package/dist/_virtual/book-light.svg.raw.js +0 -3
- package/dist/_virtual/broadcomMFD.cobol-language-support-1.2.1.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/buildtarget.json.raw.js +0 -3
- package/dist/_virtual/cabal-configuration.json.raw.js +0 -3
- package/dist/_virtual/cabal.json.raw.js +0 -3
- package/dist/_virtual/castwide.solargraph-0.24.0.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/ckolkman.vscode-postgres-1.4.2.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/codeblock-cabal.json.raw.js +0 -3
- package/dist/_virtual/codeblock-haskell.json.raw.js +0 -3
- package/dist/_virtual/codeblock-literate-haskell.json.raw.js +0 -3
- package/dist/_virtual/codeblock.json.raw.js +0 -3
- package/dist/_virtual/codeblock.json.raw2.js +0 -3
- package/dist/_virtual/conda-environment.json.raw.js +0 -3
- package/dist/_virtual/conda-meta.json.raw.js +0 -3
- package/dist/_virtual/condarc.json.raw.js +0 -3
- package/dist/_virtual/cram.json.raw.js +0 -3
- package/dist/_virtual/csharp.json.raw.js +0 -3
- package/dist/_virtual/css.worker.js +0 -6
- package/dist/_virtual/d.json.raw.js +0 -3
- package/dist/_virtual/d.json.raw2.js +0 -3
- package/dist/_virtual/dart-language-configuration.json.raw.js +0 -3
- package/dist/_virtual/dart.json.raw.js +0 -3
- package/dist/_virtual/dcf-configuration.json.raw.js +0 -3
- package/dist/_virtual/dcf.json.raw.js +0 -3
- package/dist/_virtual/diet.json.raw.js +0 -3
- package/dist/_virtual/diet.json.raw2.js +0 -3
- package/dist/_virtual/diet.json.raw3.js +0 -3
- package/dist/_virtual/django-html.tmLanguage.json.raw.js +0 -3
- package/dist/_virtual/django-txt.tmLanguage.json.raw.js +0 -3
- package/dist/_virtual/dml.json.raw.js +0 -3
- package/dist/_virtual/dub.schema.json.raw.js +0 -3
- package/dist/_virtual/dune-project.json.raw.js +0 -3
- package/dist/_virtual/dune-project.json.raw2.js +0 -3
- package/dist/_virtual/dune-workspace.json.raw.js +0 -3
- package/dist/_virtual/dune.json.raw.js +0 -3
- package/dist/_virtual/dune.json.raw2.js +0 -3
- package/dist/_virtual/dune.json.raw3.js +0 -3
- package/dist/_virtual/editor.worker.js +0 -6
- package/dist/_virtual/eex-language-configuration.json.raw.js +0 -3
- package/dist/_virtual/eex.json.raw.js +0 -3
- package/dist/_virtual/elixir-language-configuration.json.raw.js +0 -3
- package/dist/_virtual/elixir.json.raw.js +0 -3
- package/dist/_virtual/erlang.configuration.json.raw.js +0 -3
- package/dist/_virtual/erlang.json.raw.js +0 -3
- package/dist/_virtual/expression.json.raw.js +0 -3
- package/dist/_virtual/file_type_java.svg.raw.js +0 -3
- package/dist/_virtual/file_type_scala.svg.raw.js +0 -3
- package/dist/_virtual/filters.json.raw.js +0 -3
- package/dist/_virtual/flutter_activity_bar.svg.raw.js +0 -3
- package/dist/_virtual/general.json.raw.js +0 -3
- package/dist/_virtual/go.json.raw.js +0 -3
- package/dist/_virtual/go.mod.language-configuration.json.raw.js +0 -3
- package/dist/_virtual/go.mod.tmGrammar.json.raw.js +0 -3
- package/dist/_virtual/go.sum.tmGrammar.json.raw.js +0 -3
- package/dist/_virtual/golang.Go-0.38.0.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/govulncheck.tmGrammar.json.raw.js +0 -3
- package/dist/_virtual/happy.json.raw.js +0 -3
- package/dist/_virtual/haskell-configuration.json.raw.js +0 -3
- package/dist/_virtual/haskell.json.raw.js +0 -3
- package/dist/_virtual/html-eex.json.raw.js +0 -3
- package/dist/_virtual/html.worker.js +0 -6
- package/dist/_virtual/inline-styles.json.raw.js +0 -3
- package/dist/_virtual/inline-template.json.raw.js +0 -3
- package/dist/_virtual/java-properties-configuration.json.raw.js +0 -3
- package/dist/_virtual/java.json.raw.js +0 -3
- package/dist/_virtual/javascript.json.raw.js +0 -3
- package/dist/_virtual/johnsoncodehk.vscode-angular-1.0.22.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/json.worker.js +0 -6
- package/dist/_virtual/justusadam.language-haskell-3.6.0.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/jvm-bytecode-verbose.json.raw.js +0 -3
- package/dist/_virtual/jvm-bytecode.json.raw.js +0 -3
- package/dist/_virtual/kotlin.configuration.json.raw.js +0 -3
- package/dist/_virtual/kotlin.json.raw.js +0 -3
- package/dist/_virtual/lang-config.json.raw.js +0 -3
- package/dist/_virtual/language-configuration.json.raw.js +0 -3
- package/dist/_virtual/language-configuration.json.raw2.js +0 -3
- package/dist/_virtual/language-configuration.json.raw3.js +0 -3
- package/dist/_virtual/language-configuration.json.raw4.js +0 -3
- package/dist/_virtual/language-configuration.json.raw5.js +0 -3
- package/dist/_virtual/language-configuration.json.raw6.js +0 -3
- package/dist/_virtual/language-configuration.json.raw7.js +0 -3
- package/dist/_virtual/language-configuration.json.raw8.js +0 -3
- package/dist/_virtual/literate-haskell-configuration.json.raw.js +0 -3
- package/dist/_virtual/literateHaskell.json.raw.js +0 -3
- package/dist/_virtual/logo.svg.raw.js +0 -3
- package/dist/_virtual/markdown-svelte-css.json.raw.js +0 -3
- package/dist/_virtual/markdown-svelte-js.json.raw.js +0 -3
- package/dist/_virtual/markdown-svelte.json.raw.js +0 -3
- package/dist/_virtual/mathiasfrohlich.Kotlin-1.7.1.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/menhir-action.json.raw.js +0 -3
- package/dist/_virtual/menhir.json.raw.js +0 -3
- package/dist/_virtual/menhir.json.raw2.js +0 -3
- package/dist/_virtual/merlin.json.raw.js +0 -3
- package/dist/_virtual/ms-dotnettools.csharp-1.25.4.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/ms-python.python-2023.7.11111009.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/ms-vscode.cpptools-1.15.2.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/oasis.json.raw.js +0 -3
- package/dist/_virtual/oasis.json.raw2.js +0 -3
- package/dist/_virtual/ocaml-markdown-codeblock.json.raw.js +0 -3
- package/dist/_virtual/ocaml.interface.json.raw.js +0 -3
- package/dist/_virtual/ocaml.json.raw.js +0 -3
- package/dist/_virtual/ocaml.json.raw2.js +0 -3
- package/dist/_virtual/ocaml.json.raw3.js +0 -3
- package/dist/_virtual/ocamlbuild.json.raw.js +0 -3
- package/dist/_virtual/ocamlbuild.json.raw2.js +0 -3
- package/dist/_virtual/ocamldoc.json.raw.js +0 -3
- package/dist/_virtual/ocamlformat.json.raw.js +0 -3
- package/dist/_virtual/ocamlformat.json.raw2.js +0 -3
- package/dist/_virtual/ocamllabs.ocaml-platform-1.12.2.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/ocamllex.json.raw.js +0 -3
- package/dist/_virtual/ocamllex.json.raw2.js +0 -3
- package/dist/_virtual/ocamllex.json.raw3.js +0 -3
- package/dist/_virtual/opam-install.json.raw.js +0 -3
- package/dist/_virtual/opam-install.json.raw2.js +0 -3
- package/dist/_virtual/opam.json.raw.js +0 -3
- package/dist/_virtual/opam.json.raw2.js +0 -3
- package/dist/_virtual/package-json-schema.json.raw.js +0 -3
- package/dist/_virtual/package.schema.json.raw.js +0 -3
- package/dist/_virtual/pascal.configuration.json.raw.js +0 -3
- package/dist/_virtual/pascal.json.raw.js +0 -3
- package/dist/_virtual/pascal.tmLanguage.raw.js +0 -3
- package/dist/_virtual/pgourlain.erlang-0.8.8.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/pgsql.tmLanguage.raw.js +0 -3
- package/dist/_virtual/pip-requirements.json.raw.js +0 -3
- package/dist/_virtual/pip-requirements.tmLanguage.json.raw.js +0 -3
- package/dist/_virtual/postcss.json.raw.js +0 -3
- package/dist/_virtual/postgres-explorer.svg.raw.js +0 -3
- package/dist/_virtual/prettier-options-schema.json.raw.js +0 -3
- package/dist/_virtual/pug-svelte-dotblock.json.raw.js +0 -3
- package/dist/_virtual/pug-svelte-tags.json.raw.js +0 -3
- package/dist/_virtual/pug-svelte.json.raw.js +0 -3
- package/dist/_virtual/r-configuration.json.raw.js +0 -3
- package/dist/_virtual/r-snippets.json.raw.js +0 -3
- package/dist/_virtual/r.json.raw.js +0 -3
- package/dist/_virtual/rbuildignore-configuration.json.raw.js +0 -3
- package/dist/_virtual/rbuildignore.json.raw.js +0 -3
- package/dist/_virtual/rd-configuration.json.raw.js +0 -3
- package/dist/_virtual/reason-markdown-codeblock.json.raw.js +0 -3
- package/dist/_virtual/reason.json.raw.js +0 -3
- package/dist/_virtual/reason.json.raw2.js +0 -3
- package/dist/_virtual/redhat.java-1.18.2023042204.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/rmarkdown.json.raw2.js +0 -3
- package/dist/_virtual/rmd-configuration.json.raw.js +0 -3
- package/dist/_virtual/rnamespace-configuration.json.raw.js +0 -3
- package/dist/_virtual/rnamespace.json.raw.js +0 -3
- package/dist/_virtual/scala-lang.scala-0.5.6.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/scalameta-logo.png.raw.js +0 -3
- package/dist/_virtual/scalameta.metals-1.23.0.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/scalameta.svg.raw.js +0 -3
- package/dist/_virtual/schema.json.raw.js +0 -3
- package/dist/_virtual/sdl.json.raw.js +0 -3
- package/dist/_virtual/semanticdb.json.raw.js +0 -3
- package/dist/_virtual/solidity.configuration.json.raw.js +0 -3
- package/dist/_virtual/solidity.json.raw.js +0 -3
- package/dist/_virtual/solidity.json.raw2.js +0 -3
- package/dist/_virtual/sumneko.lua-3.6.18.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/svelte.json.raw.js +0 -3
- package/dist/_virtual/svelte.svelte-vscode-107.3.0.vsix_package.json.vsjson.js +0 -3
- package/dist/_virtual/svelte.tmLanguage.json.raw.js +0 -3
- package/dist/_virtual/systemverilog.json.raw.js +0 -3
- package/dist/_virtual/systemverilog.tmLanguage.json.raw.js +0 -3
- package/dist/_virtual/tags.json.raw.js +0 -3
- package/dist/_virtual/tasks.schema.json.raw.js +0 -3
- package/dist/_virtual/tasty.json.raw.js +0 -3
- package/dist/_virtual/tcl.json.raw.js +0 -3
- package/dist/_virtual/tcl.json.raw2.js +0 -3
- package/dist/_virtual/template.json.raw.js +0 -3
- package/dist/_virtual/ts.worker.js +0 -6
- package/dist/_virtual/typescript.json.raw.js +0 -3
- package/dist/_virtual/vs2019_dark.json.raw.js +0 -3
- package/dist/_virtual/vs2019_light.json.raw.js +0 -3
- package/dist/_virtual/webfreak.code-d-0.23.2.vsix_package.json.vsjson.js +0 -3
- package/dist/extensions/Angular.ng-template-15.2.1.vsix.js +0 -15
- package/dist/extensions/Dart-Code.dart-code-3.63.20230419.vsix.js +0 -14
- package/dist/extensions/JakeBecker.elixir-ls-0.14.5.vsix.js +0 -18
- package/dist/extensions/JuanBlanco.solidity-0.0.152.vsix.js +0 -13
- package/dist/extensions/REditorSupport.r-2.7.2.vsix.js +0 -47
- package/dist/extensions/batisteo.vscode-django-1.10.0.vsix.js +0 -17
- package/dist/extensions/broadcomMFD.cobol-language-support-1.2.1.vsix.js +0 -11
- package/dist/extensions/castwide.solargraph-0.24.0.vsix.js +0 -8
- package/dist/extensions/ckolkman.vscode-postgres-1.4.2.vsix.js +0 -14
- package/dist/extensions/golang.Go-0.38.0.vsix.js +0 -17
- package/dist/extensions/ms-dotnettools.csharp-1.25.4.vsix.js +0 -17
- package/dist/extensions/ms-python.python-2023.7.11111009.vsix.js +0 -20
- package/dist/extensions/ms-vscode.cpptools-1.15.2.vsix.js +0 -8
- package/dist/extensions/ocamllabs.ocaml-platform-1.12.2.vsix.js +0 -92
- package/dist/extensions/pgourlain.erlang-0.8.8.vsix.js +0 -13
- package/dist/extensions/redhat.java-1.18.2023042204.vsix.js +0 -19
- package/dist/extensions/scala-lang.scala-0.5.6.vsix.js +0 -11
- package/dist/extensions/scalameta.metals-1.23.0.vsix.js +0 -34
- package/dist/extensions/sumneko.lua-3.6.18.vsix.js +0 -10
- package/dist/extensions/svelte.svelte-vscode-107.3.0.vsix.js +0 -37
- package/dist/features/cssContribution.d.ts +0 -1
- package/dist/features/cssContribution.js +0 -6
- package/dist/features/htmlContribution.d.ts +0 -4
- package/dist/features/htmlContribution.js +0 -102
- package/dist/features/jsonContribution.d.ts +0 -4
- package/dist/features/jsonContribution.js +0 -22
- package/dist/features/typescriptContribution.d.ts +0 -1
- package/dist/features/typescriptContribution.js +0 -44
- package/dist/node_modules/@types/node/console.d.js +0 -3
- package/dist/node_modules/@types/node/globals.d.js +0 -3
- package/dist/node_modules/@types/node/process.d.js +0 -3
- package/dist/node_modules/tslib/tslib.es6.js +0 -77
|
@@ -0,0 +1,404 @@
|
|
|
1
|
+
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
3
|
+
import { toErrorMessage } from 'vscode/vscode/vs/base/common/errorMessage';
|
|
4
|
+
import { Emitter, Event } from 'vscode/vscode/vs/base/common/event';
|
|
5
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
6
|
+
import { TextFileEditorModel } from 'vscode/vscode/vs/workbench/services/textfile/common/textFileEditorModel';
|
|
7
|
+
import { Disposable, DisposableStore, dispose } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
8
|
+
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
9
|
+
import { ResourceMap } from 'vscode/vscode/vs/base/common/map';
|
|
10
|
+
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
|
|
11
|
+
import { ResourceQueue, Promises } from 'vscode/vscode/vs/base/common/async';
|
|
12
|
+
import { onUnexpectedError } from 'vscode/vscode/vs/base/common/errors';
|
|
13
|
+
import { TextFileSaveParticipant } from './textFileSaveParticipant.js';
|
|
14
|
+
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification';
|
|
15
|
+
import { IWorkingCopyFileService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService';
|
|
16
|
+
import { joinPath, extname } from 'vscode/vscode/vs/base/common/resources';
|
|
17
|
+
import { createTextBufferFactoryFromSnapshot } from 'vscode/vscode/vs/editor/common/model/textModel';
|
|
18
|
+
import { PLAINTEXT_LANGUAGE_ID, PLAINTEXT_EXTENSION } from 'vscode/vscode/vs/editor/common/languages/modesRegistry';
|
|
19
|
+
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity';
|
|
20
|
+
|
|
21
|
+
let TextFileEditorModelManager = class TextFileEditorModelManager extends Disposable {
|
|
22
|
+
get models() {
|
|
23
|
+
return [...( this.mapResourceToModel.values())];
|
|
24
|
+
}
|
|
25
|
+
constructor(instantiationService, fileService, notificationService, workingCopyFileService, uriIdentityService) {
|
|
26
|
+
super();
|
|
27
|
+
this.instantiationService = instantiationService;
|
|
28
|
+
this.fileService = fileService;
|
|
29
|
+
this.notificationService = notificationService;
|
|
30
|
+
this.workingCopyFileService = workingCopyFileService;
|
|
31
|
+
this.uriIdentityService = uriIdentityService;
|
|
32
|
+
this._onDidCreate = this._register(( new Emitter()));
|
|
33
|
+
this.onDidCreate = this._onDidCreate.event;
|
|
34
|
+
this._onDidResolve = this._register(( new Emitter()));
|
|
35
|
+
this.onDidResolve = this._onDidResolve.event;
|
|
36
|
+
this._onDidRemove = this._register(( new Emitter()));
|
|
37
|
+
this.onDidRemove = this._onDidRemove.event;
|
|
38
|
+
this._onDidChangeDirty = this._register(( new Emitter()));
|
|
39
|
+
this.onDidChangeDirty = this._onDidChangeDirty.event;
|
|
40
|
+
this._onDidChangeReadonly = this._register(( new Emitter()));
|
|
41
|
+
this.onDidChangeReadonly = this._onDidChangeReadonly.event;
|
|
42
|
+
this._onDidChangeOrphaned = this._register(( new Emitter()));
|
|
43
|
+
this.onDidChangeOrphaned = this._onDidChangeOrphaned.event;
|
|
44
|
+
this._onDidSaveError = this._register(( new Emitter()));
|
|
45
|
+
this.onDidSaveError = this._onDidSaveError.event;
|
|
46
|
+
this._onDidSave = this._register(( new Emitter()));
|
|
47
|
+
this.onDidSave = this._onDidSave.event;
|
|
48
|
+
this._onDidRevert = this._register(( new Emitter()));
|
|
49
|
+
this.onDidRevert = this._onDidRevert.event;
|
|
50
|
+
this._onDidChangeEncoding = this._register(( new Emitter()));
|
|
51
|
+
this.onDidChangeEncoding = this._onDidChangeEncoding.event;
|
|
52
|
+
this.mapResourceToModel = ( new ResourceMap());
|
|
53
|
+
this.mapResourceToModelListeners = ( new ResourceMap());
|
|
54
|
+
this.mapResourceToDisposeListener = ( new ResourceMap());
|
|
55
|
+
this.mapResourceToPendingModelResolvers = ( new ResourceMap());
|
|
56
|
+
this.modelResolveQueue = this._register(( new ResourceQueue()));
|
|
57
|
+
this.saveErrorHandler = (() => {
|
|
58
|
+
const notificationService = this.notificationService;
|
|
59
|
+
return {
|
|
60
|
+
onSaveError(error, model) {
|
|
61
|
+
notificationService.error(( localizeWithPath(
|
|
62
|
+
'vs/workbench/services/textfile/common/textFileEditorModelManager',
|
|
63
|
+
{ key: 'genericSaveError', comment: ['{0} is the resource that failed to save and {1} the error message'] },
|
|
64
|
+
"Failed to save '{0}': {1}",
|
|
65
|
+
model.name,
|
|
66
|
+
toErrorMessage(error, false)
|
|
67
|
+
)));
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
})();
|
|
71
|
+
this.mapCorrelationIdToModelsToRestore = ( new Map());
|
|
72
|
+
this.saveParticipants = this._register(this.instantiationService.createInstance(TextFileSaveParticipant));
|
|
73
|
+
this.registerListeners();
|
|
74
|
+
}
|
|
75
|
+
registerListeners() {
|
|
76
|
+
this._register(this.fileService.onDidFilesChange(e => this.onDidFilesChange(e)));
|
|
77
|
+
this._register(this.fileService.onDidChangeFileSystemProviderCapabilities(e => this.onDidChangeFileSystemProviderCapabilities(e)));
|
|
78
|
+
this._register(this.fileService.onDidChangeFileSystemProviderRegistrations(e => this.onDidChangeFileSystemProviderRegistrations(e)));
|
|
79
|
+
this._register(this.workingCopyFileService.onWillRunWorkingCopyFileOperation(e => this.onWillRunWorkingCopyFileOperation(e)));
|
|
80
|
+
this._register(this.workingCopyFileService.onDidFailWorkingCopyFileOperation(e => this.onDidFailWorkingCopyFileOperation(e)));
|
|
81
|
+
this._register(this.workingCopyFileService.onDidRunWorkingCopyFileOperation(e => this.onDidRunWorkingCopyFileOperation(e)));
|
|
82
|
+
}
|
|
83
|
+
onDidFilesChange(e) {
|
|
84
|
+
for (const model of this.models) {
|
|
85
|
+
if (model.isDirty()) {
|
|
86
|
+
continue;
|
|
87
|
+
}
|
|
88
|
+
if (e.contains(model.resource, 0 , 1 )) {
|
|
89
|
+
this.queueModelReload(model);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
onDidChangeFileSystemProviderCapabilities(e) {
|
|
94
|
+
this.queueModelReloads(e.scheme);
|
|
95
|
+
}
|
|
96
|
+
onDidChangeFileSystemProviderRegistrations(e) {
|
|
97
|
+
if (!e.added) {
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
this.queueModelReloads(e.scheme);
|
|
101
|
+
}
|
|
102
|
+
queueModelReloads(scheme) {
|
|
103
|
+
for (const model of this.models) {
|
|
104
|
+
if (model.isDirty()) {
|
|
105
|
+
continue;
|
|
106
|
+
}
|
|
107
|
+
if (scheme === model.resource.scheme) {
|
|
108
|
+
this.queueModelReload(model);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
queueModelReload(model) {
|
|
113
|
+
const queue = this.modelResolveQueue.queueFor(model.resource);
|
|
114
|
+
if (queue.size <= 1) {
|
|
115
|
+
queue.queue(async () => {
|
|
116
|
+
try {
|
|
117
|
+
await this.reload(model);
|
|
118
|
+
}
|
|
119
|
+
catch (error) {
|
|
120
|
+
onUnexpectedError(error);
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
onWillRunWorkingCopyFileOperation(e) {
|
|
126
|
+
if (e.operation === 2 || e.operation === 3 ) {
|
|
127
|
+
const modelsToRestore = [];
|
|
128
|
+
for (const { source, target } of e.files) {
|
|
129
|
+
if (source) {
|
|
130
|
+
if (this.uriIdentityService.extUri.isEqual(source, target)) {
|
|
131
|
+
continue;
|
|
132
|
+
}
|
|
133
|
+
const sourceModels = [];
|
|
134
|
+
for (const model of this.models) {
|
|
135
|
+
if (this.uriIdentityService.extUri.isEqualOrParent(model.resource, source)) {
|
|
136
|
+
sourceModels.push(model);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
for (const sourceModel of sourceModels) {
|
|
140
|
+
const sourceModelResource = sourceModel.resource;
|
|
141
|
+
let targetModelResource;
|
|
142
|
+
if (this.uriIdentityService.extUri.isEqual(sourceModelResource, source)) {
|
|
143
|
+
targetModelResource = target;
|
|
144
|
+
}
|
|
145
|
+
else {
|
|
146
|
+
targetModelResource = joinPath(target, sourceModelResource.path.substr(source.path.length + 1));
|
|
147
|
+
}
|
|
148
|
+
modelsToRestore.push({
|
|
149
|
+
source: sourceModelResource,
|
|
150
|
+
target: targetModelResource,
|
|
151
|
+
languageId: sourceModel.getLanguageId(),
|
|
152
|
+
encoding: sourceModel.getEncoding(),
|
|
153
|
+
snapshot: sourceModel.isDirty() ? sourceModel.createSnapshot() : undefined
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
this.mapCorrelationIdToModelsToRestore.set(e.correlationId, modelsToRestore);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
onDidFailWorkingCopyFileOperation(e) {
|
|
162
|
+
if (((e.operation === 2 || e.operation === 3) )) {
|
|
163
|
+
const modelsToRestore = this.mapCorrelationIdToModelsToRestore.get(e.correlationId);
|
|
164
|
+
if (modelsToRestore) {
|
|
165
|
+
this.mapCorrelationIdToModelsToRestore.delete(e.correlationId);
|
|
166
|
+
modelsToRestore.forEach(model => {
|
|
167
|
+
if (model.snapshot) {
|
|
168
|
+
this.get(model.source)?.setDirty(true);
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
onDidRunWorkingCopyFileOperation(e) {
|
|
175
|
+
switch (e.operation) {
|
|
176
|
+
case 0 :
|
|
177
|
+
e.waitUntil((async () => {
|
|
178
|
+
for (const { target } of e.files) {
|
|
179
|
+
const model = this.get(target);
|
|
180
|
+
if (model && !model.isDisposed()) {
|
|
181
|
+
await model.revert();
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
})());
|
|
185
|
+
break;
|
|
186
|
+
case 2 :
|
|
187
|
+
case 3 :
|
|
188
|
+
e.waitUntil((async () => {
|
|
189
|
+
const modelsToRestore = this.mapCorrelationIdToModelsToRestore.get(e.correlationId);
|
|
190
|
+
if (modelsToRestore) {
|
|
191
|
+
this.mapCorrelationIdToModelsToRestore.delete(e.correlationId);
|
|
192
|
+
await Promises.settled(( modelsToRestore.map(async (modelToRestore) => {
|
|
193
|
+
const restoredModel = await this.resolve(modelToRestore.target, {
|
|
194
|
+
reload: { async: false },
|
|
195
|
+
contents: modelToRestore.snapshot ? createTextBufferFactoryFromSnapshot(modelToRestore.snapshot) : undefined,
|
|
196
|
+
encoding: modelToRestore.encoding
|
|
197
|
+
});
|
|
198
|
+
if (modelToRestore.languageId &&
|
|
199
|
+
modelToRestore.languageId !== PLAINTEXT_LANGUAGE_ID &&
|
|
200
|
+
restoredModel.getLanguageId() === PLAINTEXT_LANGUAGE_ID &&
|
|
201
|
+
extname(modelToRestore.target) !== PLAINTEXT_EXTENSION) {
|
|
202
|
+
restoredModel.updateTextEditorModel(undefined, modelToRestore.languageId);
|
|
203
|
+
}
|
|
204
|
+
})));
|
|
205
|
+
}
|
|
206
|
+
})());
|
|
207
|
+
break;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
get(resource) {
|
|
211
|
+
return this.mapResourceToModel.get(resource);
|
|
212
|
+
}
|
|
213
|
+
has(resource) {
|
|
214
|
+
return ( this.mapResourceToModel.has(resource));
|
|
215
|
+
}
|
|
216
|
+
async reload(model) {
|
|
217
|
+
await this.joinPendingResolves(model.resource);
|
|
218
|
+
if (model.isDirty() || model.isDisposed() || !( this.has(model.resource))) {
|
|
219
|
+
return;
|
|
220
|
+
}
|
|
221
|
+
await this.doResolve(model, { reload: { async: false } });
|
|
222
|
+
}
|
|
223
|
+
async resolve(resource, options) {
|
|
224
|
+
const pendingResolve = this.joinPendingResolves(resource);
|
|
225
|
+
if (pendingResolve) {
|
|
226
|
+
await pendingResolve;
|
|
227
|
+
}
|
|
228
|
+
return this.doResolve(resource, options);
|
|
229
|
+
}
|
|
230
|
+
async doResolve(resourceOrModel, options) {
|
|
231
|
+
let model;
|
|
232
|
+
let resource;
|
|
233
|
+
if (URI.isUri(resourceOrModel)) {
|
|
234
|
+
resource = resourceOrModel;
|
|
235
|
+
model = this.get(resource);
|
|
236
|
+
}
|
|
237
|
+
else {
|
|
238
|
+
resource = resourceOrModel.resource;
|
|
239
|
+
model = resourceOrModel;
|
|
240
|
+
}
|
|
241
|
+
let modelResolve;
|
|
242
|
+
let didCreateModel = false;
|
|
243
|
+
if (model) {
|
|
244
|
+
if (options?.contents) {
|
|
245
|
+
modelResolve = model.resolve(options);
|
|
246
|
+
}
|
|
247
|
+
else if (options?.reload) {
|
|
248
|
+
if (options.reload.async) {
|
|
249
|
+
modelResolve = Promise.resolve();
|
|
250
|
+
(async () => {
|
|
251
|
+
try {
|
|
252
|
+
await model.resolve(options);
|
|
253
|
+
}
|
|
254
|
+
catch (error) {
|
|
255
|
+
onUnexpectedError(error);
|
|
256
|
+
}
|
|
257
|
+
})();
|
|
258
|
+
}
|
|
259
|
+
else {
|
|
260
|
+
modelResolve = model.resolve(options);
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
else {
|
|
264
|
+
modelResolve = Promise.resolve();
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
else {
|
|
268
|
+
didCreateModel = true;
|
|
269
|
+
const newModel = model = this.instantiationService.createInstance(TextFileEditorModel, resource, options ? options.encoding : undefined, options ? options.languageId : undefined);
|
|
270
|
+
modelResolve = model.resolve(options);
|
|
271
|
+
this.registerModel(newModel);
|
|
272
|
+
}
|
|
273
|
+
this.mapResourceToPendingModelResolvers.set(resource, modelResolve);
|
|
274
|
+
this.add(resource, model);
|
|
275
|
+
if (didCreateModel) {
|
|
276
|
+
this._onDidCreate.fire(model);
|
|
277
|
+
if (model.isDirty()) {
|
|
278
|
+
this._onDidChangeDirty.fire(model);
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
try {
|
|
282
|
+
await modelResolve;
|
|
283
|
+
}
|
|
284
|
+
catch (error) {
|
|
285
|
+
if (didCreateModel) {
|
|
286
|
+
model.dispose();
|
|
287
|
+
}
|
|
288
|
+
throw error;
|
|
289
|
+
}
|
|
290
|
+
finally {
|
|
291
|
+
this.mapResourceToPendingModelResolvers.delete(resource);
|
|
292
|
+
}
|
|
293
|
+
if (options?.languageId) {
|
|
294
|
+
model.setLanguageId(options.languageId);
|
|
295
|
+
}
|
|
296
|
+
if (didCreateModel && model.isDirty()) {
|
|
297
|
+
this._onDidChangeDirty.fire(model);
|
|
298
|
+
}
|
|
299
|
+
return model;
|
|
300
|
+
}
|
|
301
|
+
joinPendingResolves(resource) {
|
|
302
|
+
const pendingModelResolve = this.mapResourceToPendingModelResolvers.get(resource);
|
|
303
|
+
if (!pendingModelResolve) {
|
|
304
|
+
return;
|
|
305
|
+
}
|
|
306
|
+
return this.doJoinPendingResolves(resource);
|
|
307
|
+
}
|
|
308
|
+
async doJoinPendingResolves(resource) {
|
|
309
|
+
let currentModelCopyResolve;
|
|
310
|
+
while (( this.mapResourceToPendingModelResolvers.has(resource))) {
|
|
311
|
+
const nextPendingModelResolve = this.mapResourceToPendingModelResolvers.get(resource);
|
|
312
|
+
if (nextPendingModelResolve === currentModelCopyResolve) {
|
|
313
|
+
return;
|
|
314
|
+
}
|
|
315
|
+
currentModelCopyResolve = nextPendingModelResolve;
|
|
316
|
+
try {
|
|
317
|
+
await nextPendingModelResolve;
|
|
318
|
+
}
|
|
319
|
+
catch (error) {
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
registerModel(model) {
|
|
324
|
+
const modelListeners = ( new DisposableStore());
|
|
325
|
+
modelListeners.add(model.onDidResolve(reason => this._onDidResolve.fire({ model, reason })));
|
|
326
|
+
modelListeners.add(model.onDidChangeDirty(() => this._onDidChangeDirty.fire(model)));
|
|
327
|
+
modelListeners.add(model.onDidChangeReadonly(() => this._onDidChangeReadonly.fire(model)));
|
|
328
|
+
modelListeners.add(model.onDidChangeOrphaned(() => this._onDidChangeOrphaned.fire(model)));
|
|
329
|
+
modelListeners.add(model.onDidSaveError(() => this._onDidSaveError.fire(model)));
|
|
330
|
+
modelListeners.add(model.onDidSave(e => this._onDidSave.fire({ model, ...e })));
|
|
331
|
+
modelListeners.add(model.onDidRevert(() => this._onDidRevert.fire(model)));
|
|
332
|
+
modelListeners.add(model.onDidChangeEncoding(() => this._onDidChangeEncoding.fire(model)));
|
|
333
|
+
this.mapResourceToModelListeners.set(model.resource, modelListeners);
|
|
334
|
+
}
|
|
335
|
+
add(resource, model) {
|
|
336
|
+
const knownModel = this.mapResourceToModel.get(resource);
|
|
337
|
+
if (knownModel === model) {
|
|
338
|
+
return;
|
|
339
|
+
}
|
|
340
|
+
const disposeListener = this.mapResourceToDisposeListener.get(resource);
|
|
341
|
+
disposeListener?.dispose();
|
|
342
|
+
this.mapResourceToModel.set(resource, model);
|
|
343
|
+
this.mapResourceToDisposeListener.set(resource, model.onWillDispose(() => this.remove(resource)));
|
|
344
|
+
}
|
|
345
|
+
remove(resource) {
|
|
346
|
+
const removed = this.mapResourceToModel.delete(resource);
|
|
347
|
+
const disposeListener = this.mapResourceToDisposeListener.get(resource);
|
|
348
|
+
if (disposeListener) {
|
|
349
|
+
dispose(disposeListener);
|
|
350
|
+
this.mapResourceToDisposeListener.delete(resource);
|
|
351
|
+
}
|
|
352
|
+
const modelListener = this.mapResourceToModelListeners.get(resource);
|
|
353
|
+
if (modelListener) {
|
|
354
|
+
dispose(modelListener);
|
|
355
|
+
this.mapResourceToModelListeners.delete(resource);
|
|
356
|
+
}
|
|
357
|
+
if (removed) {
|
|
358
|
+
this._onDidRemove.fire(resource);
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
addSaveParticipant(participant) {
|
|
362
|
+
return this.saveParticipants.addSaveParticipant(participant);
|
|
363
|
+
}
|
|
364
|
+
runSaveParticipants(model, context, token) {
|
|
365
|
+
return this.saveParticipants.participate(model, context, token);
|
|
366
|
+
}
|
|
367
|
+
canDispose(model) {
|
|
368
|
+
if (model.isDisposed() ||
|
|
369
|
+
(!( this.mapResourceToPendingModelResolvers.has(model.resource)) && !model.isDirty())) {
|
|
370
|
+
return true;
|
|
371
|
+
}
|
|
372
|
+
return this.doCanDispose(model);
|
|
373
|
+
}
|
|
374
|
+
async doCanDispose(model) {
|
|
375
|
+
const pendingResolve = this.joinPendingResolves(model.resource);
|
|
376
|
+
if (pendingResolve) {
|
|
377
|
+
await pendingResolve;
|
|
378
|
+
return this.canDispose(model);
|
|
379
|
+
}
|
|
380
|
+
if (model.isDirty()) {
|
|
381
|
+
await Event.toPromise(model.onDidChangeDirty);
|
|
382
|
+
return this.canDispose(model);
|
|
383
|
+
}
|
|
384
|
+
return true;
|
|
385
|
+
}
|
|
386
|
+
dispose() {
|
|
387
|
+
super.dispose();
|
|
388
|
+
this.mapResourceToModel.clear();
|
|
389
|
+
this.mapResourceToPendingModelResolvers.clear();
|
|
390
|
+
dispose(( this.mapResourceToDisposeListener.values()));
|
|
391
|
+
this.mapResourceToDisposeListener.clear();
|
|
392
|
+
dispose(( this.mapResourceToModelListeners.values()));
|
|
393
|
+
this.mapResourceToModelListeners.clear();
|
|
394
|
+
}
|
|
395
|
+
};
|
|
396
|
+
TextFileEditorModelManager = ( __decorate([
|
|
397
|
+
( __param(0, IInstantiationService)),
|
|
398
|
+
( __param(1, IFileService)),
|
|
399
|
+
( __param(2, INotificationService)),
|
|
400
|
+
( __param(3, IWorkingCopyFileService)),
|
|
401
|
+
( __param(4, IUriIdentityService))
|
|
402
|
+
], TextFileEditorModelManager));
|
|
403
|
+
|
|
404
|
+
export { TextFileEditorModelManager };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
3
|
+
import { raceCancellation } from 'vscode/vscode/vs/base/common/async';
|
|
4
|
+
import { CancellationTokenSource } from 'vscode/vscode/vs/base/common/cancellation';
|
|
5
|
+
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
6
|
+
import { IProgressService } from 'vscode/vscode/vs/platform/progress/common/progress';
|
|
7
|
+
import { Disposable, toDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
8
|
+
import { insert } from 'vscode/vscode/vs/base/common/arrays';
|
|
9
|
+
|
|
10
|
+
let TextFileSaveParticipant = class TextFileSaveParticipant extends Disposable {
|
|
11
|
+
constructor(progressService, logService) {
|
|
12
|
+
super();
|
|
13
|
+
this.progressService = progressService;
|
|
14
|
+
this.logService = logService;
|
|
15
|
+
this.saveParticipants = [];
|
|
16
|
+
}
|
|
17
|
+
addSaveParticipant(participant) {
|
|
18
|
+
const remove = insert(this.saveParticipants, participant);
|
|
19
|
+
return toDisposable(() => remove());
|
|
20
|
+
}
|
|
21
|
+
participate(model, context, token) {
|
|
22
|
+
const cts = ( new CancellationTokenSource(token));
|
|
23
|
+
return this.progressService.withProgress({
|
|
24
|
+
title: ( localizeWithPath(
|
|
25
|
+
'vs/workbench/services/textfile/common/textFileSaveParticipant',
|
|
26
|
+
'saveParticipants',
|
|
27
|
+
"Saving '{0}'",
|
|
28
|
+
model.name
|
|
29
|
+
)),
|
|
30
|
+
location: 15 ,
|
|
31
|
+
cancellable: true,
|
|
32
|
+
delay: model.isDirty() ? 3000 : 5000
|
|
33
|
+
}, async (progress) => {
|
|
34
|
+
model.textEditorModel?.pushStackElement();
|
|
35
|
+
for (const saveParticipant of this.saveParticipants) {
|
|
36
|
+
if (cts.token.isCancellationRequested || !model.textEditorModel ) {
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
try {
|
|
40
|
+
const promise = saveParticipant.participate(model, context, progress, cts.token);
|
|
41
|
+
await raceCancellation(promise, cts.token);
|
|
42
|
+
}
|
|
43
|
+
catch (err) {
|
|
44
|
+
this.logService.error(err);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
model.textEditorModel?.pushStackElement();
|
|
48
|
+
}, () => {
|
|
49
|
+
cts.cancel();
|
|
50
|
+
}).finally(() => {
|
|
51
|
+
cts.dispose();
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
dispose() {
|
|
55
|
+
this.saveParticipants.splice(0, this.saveParticipants.length);
|
|
56
|
+
super.dispose();
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
TextFileSaveParticipant = ( __decorate([
|
|
60
|
+
( __param(0, IProgressService)),
|
|
61
|
+
( __param(1, ILogService))
|
|
62
|
+
], TextFileSaveParticipant));
|
|
63
|
+
|
|
64
|
+
export { TextFileSaveParticipant };
|
|
@@ -964,7 +964,7 @@ import require$$1 from '../../../_virtual/shiftCommand.js';
|
|
|
964
964
|
return false;
|
|
965
965
|
}
|
|
966
966
|
} else {
|
|
967
|
-
var _pos2 = lastSearch ? model.getPositionAt(model.getOffsetAt(lastSearch.
|
|
967
|
+
var _pos2 = lastSearch ? model.getPositionAt(model.getOffsetAt(lastSearch.getEndPosition()) + 1) : monacoPos;
|
|
968
968
|
|
|
969
969
|
match = model.findNextMatch(query, _pos2, isRegex, matchCase);
|
|
970
970
|
|
|
@@ -994,8 +994,12 @@ import require$$1 from '../../../_virtual/shiftCommand.js';
|
|
|
994
994
|
range: lastSearch,
|
|
995
995
|
text: text,
|
|
996
996
|
forceMoveMarkers: true
|
|
997
|
-
}])
|
|
998
|
-
|
|
997
|
+
}], function (edits) {
|
|
998
|
+
var _edits$0$range = edits[0].range,
|
|
999
|
+
endLineNumber = _edits$0$range.endLineNumber,
|
|
1000
|
+
endColumn = _edits$0$range.endColumn;
|
|
1001
|
+
lastSearch = lastSearch.setEndPosition(endLineNumber, endColumn);
|
|
1002
|
+
});
|
|
999
1003
|
editor.setPosition(lastSearch.getStartPosition());
|
|
1000
1004
|
}
|
|
1001
1005
|
}
|
package/dist/services.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import * as monaco from 'monaco-editor';
|
|
2
2
|
import EditorOpenHandlerRegistry from './tools/EditorOpenHandlerRegistry';
|
|
3
|
-
import 'vscode/
|
|
3
|
+
import 'vscode/localExtensionHost';
|
|
4
4
|
declare const editorOpenHandlerRegistry: EditorOpenHandlerRegistry;
|
|
5
|
+
export declare function setUseGlobalPicker(useGlobalPicker?: boolean): void;
|
|
6
|
+
export declare function useGlobalPicker(): boolean;
|
|
5
7
|
export declare function registerServices(newServices: monaco.editor.IEditorOverrideServices): void;
|
|
6
8
|
export declare function initialize(): Promise<void>;
|
|
7
9
|
export { editorOpenHandlerRegistry };
|
package/dist/services.js
CHANGED
|
@@ -1,42 +1,72 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import getAccessibilityServiceOverride from 'vscode
|
|
13
|
-
import
|
|
1
|
+
import getExtensionServiceOverride from '@codingame/monaco-vscode-extensions-service-override';
|
|
2
|
+
import getModelServiceOverride from '@codingame/monaco-vscode-model-service-override';
|
|
3
|
+
import getDialogsServiceOverride from '@codingame/monaco-vscode-dialogs-service-override';
|
|
4
|
+
import getConfigurationServiceOverride from '@codingame/monaco-vscode-configuration-service-override';
|
|
5
|
+
import getKeybindingsServiceOverride from '@codingame/monaco-vscode-keybindings-service-override';
|
|
6
|
+
import getTextmateServiceOverride from '@codingame/monaco-vscode-textmate-service-override';
|
|
7
|
+
import getThemeServiceOverride from '@codingame/monaco-vscode-theme-service-override';
|
|
8
|
+
import getLanguagesServiceOverride from '@codingame/monaco-vscode-languages-service-override';
|
|
9
|
+
import getAudioCueServiceOverride from '@codingame/monaco-vscode-audio-cue-service-override';
|
|
10
|
+
import getPreferencesServiceOverride from '@codingame/monaco-vscode-preferences-service-override';
|
|
11
|
+
import getSnippetServiceOverride from '@codingame/monaco-vscode-snippets-service-override';
|
|
12
|
+
import getAccessibilityServiceOverride from '@codingame/monaco-vscode-accessibility-service-override';
|
|
13
|
+
import getLanguageDetectionWorkerServiceOverride from '@codingame/monaco-vscode-language-detection-worker-service-override';
|
|
14
|
+
import getEditorServiceOverride from '@codingame/monaco-vscode-editor-service-override';
|
|
15
|
+
import getStorageServiceOverride from '@codingame/monaco-vscode-storage-service-override';
|
|
16
|
+
import getLifecycleServiceOverride from '@codingame/monaco-vscode-lifecycle-service-override';
|
|
17
|
+
import getQuickAccessServiceOverride from '@codingame/monaco-vscode-quickaccess-service-override';
|
|
18
|
+
import getLogServiceOverride from '@codingame/monaco-vscode-log-service-override';
|
|
19
|
+
import getWorkingCopyServiceOverride from '@codingame/monaco-vscode-working-copy-service-override';
|
|
14
20
|
import { initialize as initialize$1, StandaloneServices, ILogService, LogLevel } from 'vscode/services';
|
|
15
|
-
import
|
|
16
|
-
import
|
|
21
|
+
import * as monaco from 'monaco-editor';
|
|
22
|
+
import { initFile } from './node_modules/@codingame/monaco-vscode-files-service-override/files.js';
|
|
23
|
+
import 'vscode/vscode/vs/platform/files/common/files';
|
|
24
|
+
import 'vscode/vscode/vs/platform/files/browser/htmlFileSystemProvider';
|
|
25
|
+
import 'vscode/vscode/vs/platform/files/common/inMemoryFilesystemProvider';
|
|
26
|
+
import 'vscode/vscode/vs/base/browser/indexedDB';
|
|
27
|
+
import './node_modules/@codingame/monaco-vscode-files-service-override/vscode/src/vs/platform/files/browser/indexedDBFileSystemProvider.js';
|
|
17
28
|
import EditorOpenHandlerRegistry from './tools/EditorOpenHandlerRegistry.js';
|
|
18
|
-
import 'vscode/
|
|
29
|
+
import 'vscode/localExtensionHost';
|
|
19
30
|
|
|
20
31
|
const editorOpenHandlerRegistry = new EditorOpenHandlerRegistry();
|
|
32
|
+
let _useGlobalPicker = false;
|
|
33
|
+
function setUseGlobalPicker(useGlobalPicker = true) {
|
|
34
|
+
_useGlobalPicker = useGlobalPicker;
|
|
35
|
+
}
|
|
36
|
+
function useGlobalPicker() {
|
|
37
|
+
// should picker and keybindings be global or per-editor
|
|
38
|
+
return _useGlobalPicker;
|
|
39
|
+
}
|
|
21
40
|
let services = {
|
|
41
|
+
...getLogServiceOverride(),
|
|
42
|
+
...getExtensionServiceOverride(),
|
|
22
43
|
...getModelServiceOverride(),
|
|
23
44
|
...getDialogsServiceOverride(),
|
|
24
|
-
...getConfigurationServiceOverride(
|
|
25
|
-
...getKeybindingsServiceOverride(
|
|
45
|
+
...getConfigurationServiceOverride(),
|
|
46
|
+
...getKeybindingsServiceOverride({
|
|
47
|
+
shouldUseGlobalKeybindings() {
|
|
48
|
+
return useGlobalPicker();
|
|
49
|
+
}
|
|
50
|
+
}),
|
|
26
51
|
...getTextmateServiceOverride(),
|
|
27
52
|
...getThemeServiceOverride(),
|
|
28
53
|
...getLanguagesServiceOverride(),
|
|
29
54
|
...getAudioCueServiceOverride(),
|
|
30
55
|
...getPreferencesServiceOverride(),
|
|
31
56
|
...getSnippetServiceOverride(),
|
|
32
|
-
...
|
|
33
|
-
isKeybindingConfigurationVisible: () => false,
|
|
34
|
-
shouldUseGlobalPicker: () => false
|
|
35
|
-
}),
|
|
57
|
+
...getLanguageDetectionWorkerServiceOverride(),
|
|
36
58
|
...getEditorServiceOverride((model, input, sideBySide) => {
|
|
37
59
|
return editorOpenHandlerRegistry.openCodeEditor(model, input, sideBySide);
|
|
38
60
|
}),
|
|
39
|
-
...getAccessibilityServiceOverride()
|
|
61
|
+
...getAccessibilityServiceOverride(),
|
|
62
|
+
...getStorageServiceOverride(),
|
|
63
|
+
...getLifecycleServiceOverride(),
|
|
64
|
+
...getQuickAccessServiceOverride({
|
|
65
|
+
shouldUseGlobalPicker() {
|
|
66
|
+
return useGlobalPicker();
|
|
67
|
+
}
|
|
68
|
+
}),
|
|
69
|
+
...getWorkingCopyServiceOverride()
|
|
40
70
|
};
|
|
41
71
|
function registerServices(newServices) {
|
|
42
72
|
services = {
|
|
@@ -47,9 +77,14 @@ function registerServices(newServices) {
|
|
|
47
77
|
async function initialize() {
|
|
48
78
|
// wait a short time for the services to be registered
|
|
49
79
|
await new Promise(resolve => setTimeout(resolve, 0));
|
|
50
|
-
|
|
80
|
+
const workspaceFile = monaco.Uri.file('/workspace.code-workspace');
|
|
81
|
+
await initFile(workspaceFile, JSON.stringify({
|
|
82
|
+
folders: [{
|
|
83
|
+
path: '/tmp/project'
|
|
84
|
+
}]
|
|
85
|
+
}));
|
|
86
|
+
await initialize$1(services, undefined, { workspaceProvider: { open: async () => false, workspace: { workspaceUri: workspaceFile }, trusted: true } });
|
|
51
87
|
StandaloneServices.get(ILogService).setLevel(LogLevel.Off);
|
|
52
|
-
await initialize$2();
|
|
53
88
|
}
|
|
54
89
|
|
|
55
|
-
export { editorOpenHandlerRegistry, initialize, registerServices };
|
|
90
|
+
export { editorOpenHandlerRegistry, initialize, registerServices, setUseGlobalPicker, useGlobalPicker };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as monaco from 'monaco-editor';
|
|
2
|
-
import { OpenEditor, IEditorOptions, IResolvedTextEditorModel } from 'vscode
|
|
2
|
+
import { OpenEditor, IEditorOptions, IResolvedTextEditorModel } from '@codingame/monaco-vscode-editor-service-override';
|
|
3
3
|
import { IReference } from 'vscode/monaco';
|
|
4
4
|
export type EditorOpenHandler = (modelRef: IReference<IResolvedTextEditorModel>, input: IEditorOptions | undefined, editor: monaco.editor.ICodeEditor | null, sideBySide?: boolean) => Promise<monaco.editor.ICodeEditor | null>;
|
|
5
5
|
export default class EditorOpenHandlerRegistry {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createEditor } from '../monaco.js';
|
|
2
2
|
|
|
3
3
|
let currentEditor = null;
|
|
4
|
-
|
|
4
|
+
function openNewCodeEditor(modelRef) {
|
|
5
5
|
if (currentEditor != null && modelRef.object.textEditorModel === currentEditor.model) {
|
|
6
6
|
return currentEditor.editor;
|
|
7
7
|
}
|
|
@@ -24,7 +24,7 @@ async function openNewCodeEditor(modelRef) {
|
|
|
24
24
|
container.appendChild(editorElem);
|
|
25
25
|
document.body.appendChild(container);
|
|
26
26
|
try {
|
|
27
|
-
const editor =
|
|
27
|
+
const editor = createEditor(editorElem, {
|
|
28
28
|
model: modelRef.object.textEditorModel,
|
|
29
29
|
readOnly: true,
|
|
30
30
|
automaticLayout: true
|
|
@@ -66,7 +66,7 @@ class EditorOpenHandlerRegistry {
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
if (modelEditor == null) {
|
|
69
|
-
modelEditor =
|
|
69
|
+
modelEditor = openNewCodeEditor(modelRef);
|
|
70
70
|
// Destroy model ref when we close the editor popup
|
|
71
71
|
const onModelUnmount = () => {
|
|
72
72
|
modelRef.dispose();
|