@codingame/monaco-editor-wrapper 3.10.0 → 4.0.0-monaco-update.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -26
- package/dist/{_monaco-editor_commonjs-external.js → _virtual/_commonjsHelpers.js} +2 -9
- package/dist/_virtual/_monaco-editor.js +6 -0
- package/dist/_virtual/actions.js +3 -0
- package/dist/_virtual/basicInput.js +3 -0
- package/dist/_virtual/cm_adapter.js +3 -0
- package/dist/_virtual/commands.js +3 -0
- package/dist/_virtual/editor.api.js +6 -0
- package/dist/_virtual/index.js +3 -0
- package/dist/_virtual/index2.js +3 -0
- package/dist/_virtual/index3.js +3 -0
- package/dist/_virtual/keymap_vim.js +3 -0
- package/dist/_virtual/shiftCommand.js +6 -0
- package/dist/_virtual/state.js +3 -0
- package/dist/_virtual/statusbar.js +3 -0
- package/dist/_virtual/util.js +3 -0
- 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 -2
- package/dist/configuration/index.js +45 -0
- package/dist/editor/autofold.js +24 -0
- package/dist/editor/cobol.js +67 -0
- package/dist/editor/index.js +9 -0
- 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 +20 -0
- 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 +20 -0
- package/dist/extensions/batisteo.vscode-django-1.15.0.vsix.js +20 -0
- package/dist/extensions/bitwisecook.tcl-0.4.3.vsix.js +16 -0
- 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 +16 -0
- package/dist/extensions/justusadam.language-haskell-3.6.0.vsix.js +40 -0
- package/dist/extensions/mathiasfrohlich.Kotlin-1.7.1.vsix.js +18 -0
- 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 +28 -0
- package/dist/extensions.d.ts +36 -0
- package/dist/features/debug.js +6 -0
- package/dist/features/extensionHostWorker.js +11 -0
- package/dist/features/search.d.ts +1 -0
- package/dist/features/search.js +7 -0
- package/dist/features/viewPanels.d.ts +1 -0
- package/dist/features/viewPanels.js +11 -0
- package/dist/features/views.d.ts +4 -0
- package/dist/features/views.js +27 -0
- package/dist/index.d.ts +3 -3
- package/dist/keybindings/index.js +36 -0
- package/dist/keybindings/vim.js +82 -0
- package/dist/languages/index.d.ts +0 -2
- package/dist/languages/index.js +40 -0
- package/dist/main.js +9 -3564
- package/dist/monaco.d.ts +5 -11
- package/dist/monaco.js +91 -0
- package/dist/node_modules/lodash.kebabcase/index.js +439 -0
- package/dist/node_modules/lodash.throttle/index.js +443 -0
- package/dist/node_modules/monaco-emacs/lib/emacs/actions.js +596 -0
- package/dist/node_modules/monaco-emacs/lib/emacs/basicInput.js +113 -0
- package/dist/node_modules/monaco-emacs/lib/emacs/commands.js +184 -0
- package/dist/node_modules/monaco-emacs/lib/emacs/index.js +186 -0
- package/dist/node_modules/monaco-emacs/lib/emacs/state.js +116 -0
- package/dist/node_modules/monaco-emacs/lib/emacs/util.js +112 -0
- package/dist/node_modules/monaco-emacs/lib/index.js +31 -0
- package/dist/{vim.js → node_modules/monaco-vim/lib/cm/keymap_vim.js} +4 -1790
- package/dist/node_modules/monaco-vim/lib/cm_adapter.js +1397 -0
- package/dist/node_modules/monaco-vim/lib/index.js +71 -0
- package/dist/node_modules/monaco-vim/lib/statusbar.js +239 -0
- package/dist/services.d.ts +8 -0
- package/dist/services.js +73 -0
- package/dist/style.js +12 -0
- package/dist/theme/index.d.ts +1 -4
- package/dist/theme/index.js +21 -0
- package/dist/tools/EditorOpenHandlerRegistry.d.ts +3 -2
- package/dist/tools/EditorOpenHandlerRegistry.js +108 -0
- package/dist/tools/FakeWorker.d.ts +5 -0
- package/dist/tools/FakeWorker.js +8 -0
- package/dist/tools.js +235 -0
- package/dist/worker.d.ts +1 -10
- package/dist/worker.js +11 -43
- package/package.json +135 -75
- package/stats.html +104 -1439
- package/dist/COBOL.tmLanguage.js +0 -172
- package/dist/Erlang.plist.js +0 -1752
- package/dist/HTML (Eex)2.js +0 -100
- package/dist/JSON.tmLanguage.js +0 -221
- package/dist/JSONC.tmLanguage.js +0 -221
- package/dist/JavaProperties.tmLanguage.js +0 -116
- package/dist/JavaScript.tmLanguage.js +0 -5929
- package/dist/JavaScriptReact.tmLanguage.js +0 -5929
- package/dist/Kotlin.tmLanguage.js +0 -724
- package/dist/META.js +0 -100
- package/dist/MagicPython.tmLanguage.js +0 -4221
- package/dist/MagicRegExp.tmLanguage.js +0 -505
- package/dist/Markdown Redcarpet.js +0 -221
- package/dist/RMarkdown.js +0 -25
- package/dist/Rcpp.js +0 -50
- package/dist/Rd (R Documentation).js +0 -131
- package/dist/Regular Expressions (JavaScript).tmLanguage.js +0 -166
- package/dist/Scala.tmLanguage.js +0 -1324
- package/dist/TypeScript.tmLanguage.js +0 -5680
- package/dist/TypeScriptReact.tmLanguage.js +0 -5929
- package/dist/_rollupPluginBabelHelpers.js +0 -51
- package/dist/angular.js +0 -62
- package/dist/asp-vb-net.tmlanguage.js +0 -247
- package/dist/aspnetcorerazor.js +0 -72
- package/dist/aspnetcorerazor.tmLanguage.js +0 -1825
- package/dist/atd.js +0 -110
- package/dist/atd2.js +0 -114
- package/dist/buildignore.r.js +0 -5
- package/dist/buildtarget.js +0 -53
- package/dist/c.js +0 -101
- package/dist/c.tmLanguage.js +0 -3565
- package/dist/cabal.js +0 -10
- package/dist/cabal.tmLanguage.js +0 -66
- package/dist/clojure.js +0 -68
- package/dist/clojure.tmLanguage.js +0 -439
- package/dist/cobol.js +0 -6
- package/dist/cobol2.js +0 -341
- package/dist/codeblock-cabal.js +0 -42
- package/dist/codeblock-haskell.js +0 -42
- package/dist/codeblock-literate-haskell.js +0 -42
- package/dist/codeblock.js +0 -59
- package/dist/codeblock2.js +0 -36
- package/dist/codeblock3.js +0 -95
- package/dist/coffeescript-coffeescript.code-snippets.js +0 -18
- package/dist/coffeescript.js +0 -91
- package/dist/coffeescript.tmLanguage.js +0 -1324
- package/dist/configuration/files.d.ts +0 -6
- package/dist/cpp-c.code-snippets.js +0 -18
- package/dist/cpp-cpp.code-snippets.js +0 -18
- package/dist/cpp.js +0 -101
- package/dist/cpp.tmLanguage.js +0 -16648
- package/dist/cpptools.js +0 -2631
- package/dist/cram.js +0 -257
- package/dist/csharp.js +0 -92
- package/dist/csharp.tmLanguage.js +0 -4992
- package/dist/css.js +0 -106
- package/dist/css.tmLanguage.js +0 -1873
- package/dist/css.worker.js +0 -6
- package/dist/cuda-cpp.js +0 -101
- package/dist/cuda-cpp.tmLanguage.js +0 -19993
- package/dist/d-diet.js +0 -92
- package/dist/d.js +0 -3212
- package/dist/d2.js +0 -97
- package/dist/d3.js +0 -609
- package/dist/dart.js +0 -543
- package/dist/dart2.js +0 -103
- package/dist/dart3.js +0 -1130
- package/dist/dcf.js +0 -93
- package/dist/debian-control.r.js +0 -69
- package/dist/diet.js +0 -758
- package/dist/diet2.js +0 -100
- package/dist/django-html.js +0 -155
- package/dist/django-html.tmLanguage.js +0 -715
- package/dist/django-txt.js +0 -155
- package/dist/django-txt.tmLanguage.js +0 -269
- package/dist/dml.js +0 -169
- package/dist/dml2.js +0 -90
- package/dist/dockercompose.js +0 -82
- package/dist/dpp.js +0 -97
- package/dist/dscript.js +0 -90
- package/dist/dune-project.js +0 -481
- package/dist/dune-project2.js +0 -65
- package/dist/dune-workspace.js +0 -298
- package/dist/dune-workspace2.js +0 -65
- package/dist/dune.js +0 -2962
- package/dist/dune2.js +0 -65
- package/dist/eex.js +0 -55
- package/dist/elixir-snippets.js +0 -184
- package/dist/elixir.js +0 -2341
- package/dist/elixir2.js +0 -69
- package/dist/elixir3.js +0 -40
- package/dist/erlang-erlang.js +0 -195
- package/dist/erlang.js +0 -81
- package/dist/erlang2.js +0 -86
- package/dist/expression.js +0 -846
- package/dist/features/cssContribution.d.ts +0 -1
- package/dist/features/cssContribution.js +0 -7
- package/dist/features/extensionConfigurations.d.ts +0 -1
- package/dist/features/extensionConfigurations.js +0 -44
- package/dist/features/htmlContribution.d.ts +0 -4
- package/dist/features/htmlContribution.js +0 -112
- package/dist/features/jsonContribution.d.ts +0 -6
- package/dist/features/jsonContribution.js +0 -43
- package/dist/features/typescriptContribution.d.ts +0 -1
- package/dist/features/typescriptContribution.js +0 -32
- package/dist/fsharp-fsharp.code-snippets.js +0 -18
- package/dist/fsharp.js +0 -80
- package/dist/fsharp.tmLanguage.js +0 -1844
- package/dist/go.js +0 -103
- package/dist/go.mod.js +0 -8
- package/dist/go.mod.tmGrammar.js +0 -182
- package/dist/go.sum.tmGrammar.js +0 -55
- package/dist/go.tmLanguage.js +0 -1025
- package/dist/go.work.js +0 -8
- package/dist/govulncheck.tmGrammar.js +0 -138
- package/dist/groovy-groovy.code-snippets.js +0 -229
- package/dist/groovy.js +0 -79
- package/dist/groovy.tmLanguage.js +0 -1391
- package/dist/haskell.js +0 -88
- package/dist/haskell.tmLanguage.js +0 -629
- package/dist/haskell2.js +0 -16
- package/dist/html (eex).js +0 -31
- package/dist/html-derivative.tmLanguage.js +0 -57
- package/dist/html-html.code-snippets.js +0 -20
- package/dist/html.js +0 -11
- package/dist/html.tmLanguage.js +0 -2652
- package/dist/html.tmLanguage2.js +0 -107
- package/dist/html.worker.js +0 -6
- package/dist/index.js +0 -2207
- package/dist/index2.js +0 -1398
- package/dist/inline-styles.js +0 -104
- package/dist/inline-template.js +0 -88
- package/dist/jade.js +0 -11
- package/dist/java-java.js +0 -125
- package/dist/java-properties.js +0 -73
- package/dist/java.js +0 -98
- package/dist/java.tmLanguage.js +0 -1863
- package/dist/java2.js +0 -917
- package/dist/javascript-javascript.code-snippets.js +0 -205
- package/dist/javascript.js +0 -197
- package/dist/javascriptreact.js +0 -197
- package/dist/jsdoc.js.injection.tmLanguage.js +0 -32
- package/dist/jsdoc.ts.injection.tmLanguage.js +0 -32
- package/dist/json.js +0 -75
- package/dist/json.worker.js +0 -6
- package/dist/jsonc.js +0 -75
- package/dist/jsx-tags.js +0 -158
- package/dist/julia.js +0 -89
- package/dist/julia.tmLanguage.js +0 -954
- package/dist/jvm-bytecode-verbose.js +0 -1231
- package/dist/jvm-bytecode.js +0 -565
- package/dist/kotlin-kotlin.js +0 -117
- package/dist/kotlin.js +0 -103
- package/dist/kotlinscript.js +0 -103
- package/dist/languages/extensions/extensionConfigurationLoader.d.ts +0 -3
- package/dist/languages/extensions/grammarLoader.d.ts +0 -2
- package/dist/languages/extensions/languageConfigurationLoader.d.ts +0 -2
- package/dist/languages/extensions/snippetLoader.d.ts +0 -2
- package/dist/languages/extensions/themeLoader.d.ts +0 -2
- package/dist/languages/textMate/index.d.ts +0 -1
- package/dist/literate haskell.js +0 -88
- package/dist/literateHaskell.tmLanguage.js +0 -70
- package/dist/lua.js +0 -84
- package/dist/lua.tmLanguage.js +0 -914
- package/dist/lua2.js +0 -2853
- package/dist/markdown-basics-markdown.code-snippets.js +0 -121
- package/dist/markdown-svelte-css.js +0 -37
- package/dist/markdown-svelte-js.js +0 -37
- package/dist/markdown-svelte.js +0 -59
- package/dist/markdown-vue.js +0 -54
- package/dist/markdown.js +0 -49
- package/dist/markdown.tmLanguage.js +0 -3042
- package/dist/menhir-action.js +0 -51
- package/dist/menhir.js +0 -597
- package/dist/merlin.js +0 -111
- package/dist/namespace.r.js +0 -88
- package/dist/oasis.js +0 -99
- package/dist/objective-c.js +0 -79
- package/dist/objective-c.tmLanguage.js +0 -3763
- package/dist/objective-cpp.js +0 -79
- package/dist/ocaml-dune-project.js +0 -38
- package/dist/ocaml-dune.js +0 -53
- package/dist/ocaml-markdown-codeblock.js +0 -42
- package/dist/ocaml-ocaml.js +0 -88
- package/dist/ocaml-ocamllex.js +0 -12
- package/dist/ocaml.META.js +0 -29
- package/dist/ocaml.interface.js +0 -292
- package/dist/ocaml.interface2.js +0 -114
- package/dist/ocaml.js +0 -903
- package/dist/ocaml.menhir.js +0 -81
- package/dist/ocaml.oasis.js +0 -18
- package/dist/ocaml.ocamlbuild.js +0 -45
- package/dist/ocaml.ocamlformat.js +0 -8
- package/dist/ocaml.ocamllex.js +0 -60
- package/dist/ocaml.opam-install.js +0 -49
- package/dist/ocaml.opam.js +0 -69
- package/dist/ocaml2.js +0 -114
- package/dist/ocaml3.js +0 -136
- package/dist/ocamlbuild.js +0 -189
- package/dist/ocamldoc.js +0 -54
- package/dist/ocamlformat.js +0 -206
- package/dist/ocamllex.js +0 -133
- package/dist/omnisharp-csharp.js +0 -508
- package/dist/omnisharp.js +0 -594
- package/dist/opam-install.js +0 -40
- package/dist/opam.js +0 -140
- package/dist/pascal-pascal.js +0 -382
- package/dist/pascal.js +0 -80
- package/dist/pascal.tmLanguage.js +0 -169
- package/dist/pascal2.js +0 -26
- package/dist/perl.js +0 -93
- package/dist/perl.tmLanguage.js +0 -2986
- package/dist/perl6.js +0 -86
- package/dist/perl6.tmLanguage.js +0 -323
- package/dist/pgsql.tmLanguage.js +0 -284
- package/dist/php-php.code-snippets.js +0 -267
- package/dist/php.js +0 -154
- package/dist/php.tmLanguage.js +0 -4036
- package/dist/pip-requirements.js +0 -8
- package/dist/pip-requirements.tmLanguage.js +0 -89
- package/dist/plaintext.js +0 -11
- package/dist/platform.tmLanguage.js +0 -1135
- package/dist/postcss.src.yaml.js +0 -393
- package/dist/postgres.js +0 -80
- package/dist/postgresql.js +0 -75
- package/dist/powershell.js +0 -107
- package/dist/powershell.tmLanguage.js +0 -1037
- package/dist/pug-svelte-dotblock.js +0 -69
- package/dist/pug-svelte-tags.js +0 -215
- package/dist/pug-svelte.js +0 -307
- package/dist/python.js +0 -236
- package/dist/r.js +0 -664
- package/dist/r2.js +0 -88
- package/dist/rbuildignore.js +0 -39
- package/dist/rd.js +0 -81
- package/dist/reason-markdown-codeblock.js +0 -42
- package/dist/reason.js +0 -79
- package/dist/rmd.js +0 -84
- package/dist/rnamespace.js +0 -283
- package/dist/ruby.js +0 -95
- package/dist/ruby.tmLanguage.js +0 -2784
- package/dist/rust.js +0 -84
- package/dist/rust.tmLanguage.js +0 -1178
- package/dist/sassdoc.tmLanguage.js +0 -362
- package/dist/scala.js +0 -85
- package/dist/scalameta.js +0 -224
- package/dist/scss.js +0 -117
- package/dist/scss.tmLanguage.js +0 -1887
- package/dist/sdl.js +0 -162
- package/dist/sdl2.js +0 -90
- package/dist/semanticdb.js +0 -62
- package/dist/shell-unix-bash.tmLanguage.js +0 -2038
- package/dist/shellscript.js +0 -93
- package/dist/solargraph.js +0 -192
- package/dist/solidity-solidity.js +0 -213
- package/dist/solidity.js +0 -1224
- package/dist/solidity2.js +0 -71
- package/dist/solidity3.js +0 -143
- package/dist/sql.js +0 -99
- package/dist/sql.tmLanguage.js +0 -636
- package/dist/svelte.js +0 -120
- package/dist/svelte.svelte-vscode-javascript.js +0 -45
- package/dist/svelte.svelte-vscode-svelte.js +0 -46
- package/dist/svelte.svelte-vscode-typescript.js +0 -43
- package/dist/svelte.svelte-vscode.js +0 -383
- package/dist/svelte.tmLanguage.src.yaml.js +0 -1099
- package/dist/svlangserver-systemverilog.js +0 -395
- package/dist/svlangserver.js +0 -85
- package/dist/swift-swift.code-snippets.js +0 -183
- package/dist/swift.js +0 -90
- package/dist/swift.tmLanguage.js +0 -3312
- package/dist/systemverilog.js +0 -187
- package/dist/systemverilog.tmLanguage.js +0 -1259
- package/dist/tasty.js +0 -72
- package/dist/tcl-tcl.js +0 -151
- package/dist/tcl.js +0 -78
- package/dist/tcl.tmlanguage.yaml.js +0 -5490
- package/dist/template.js +0 -207
- package/dist/theme-defaults~dark_plus.js +0 -210
- package/dist/theme-defaults~dark_plus_experimental.js +0 -145
- package/dist/theme-defaults~dark_vs.js +0 -412
- package/dist/theme-defaults~hc_black.js +0 -471
- package/dist/theme-defaults~hc_light.js +0 -595
- package/dist/theme-defaults~light_plus.js +0 -212
- package/dist/theme-defaults~light_plus_experimental.js +0 -158
- package/dist/theme-defaults~light_vs.js +0 -441
- package/dist/ts.worker.js +0 -6
- package/dist/typescript-basics-typescript.code-snippets.js +0 -313
- package/dist/typescript-language-features.js +0 -1103
- package/dist/typescript.js +0 -216
- package/dist/typescriptreact.js +0 -216
- package/dist/vb-vb.code-snippets.js +0 -88
- package/dist/vb.js +0 -79
- package/dist/verilog.js +0 -187
- package/dist/volar-vue.js +0 -289
- package/dist/vscode-R-r-snippets.js +0 -534
- package/dist/vscode-R-rmarkdown.js +0 -461
- package/dist/vscode-R.js +0 -660
- package/dist/vscode-django-filters.js +0 -340
- package/dist/vscode-django.js +0 -37
- package/dist/vscode-go-go.js +0 -276
- package/dist/vscode-go.js +0 -1610
- package/dist/vscode-groovy.js +0 -28
- package/dist/vscode-python.js +0 -706
- package/dist/vue-directives.js +0 -25
- package/dist/vue-interpolations.js +0 -25
- package/dist/vue-sfc-style-variable-injection.js +0 -63
- package/dist/vue.js +0 -151
- package/dist/vue.tmLanguage.js +0 -1218
- package/dist/xml.js +0 -116
- package/dist/xml.tmLanguage.js +0 -395
- package/dist/xsl.js +0 -39
- package/dist/xsl.tmLanguage.js +0 -102
- package/dist/yaml.js +0 -82
- package/dist/yaml.tmLanguage.js +0 -629
- /package/dist/{extensions → editor}/autofold.d.ts +0 -0
- /package/dist/{extensions → editor}/cobol.d.ts +0 -0
- /package/dist/{extensions → editor}/index.d.ts +0 -0
- /package/dist/{languages/snippets/index.d.ts → features/debug.d.ts} +0 -0
- /package/dist/{languages/textMate/semanticTokens.d.ts → features/extensionHostWorker.d.ts} +0 -0
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { __exports as basicInput } from '../../../../_virtual/basicInput.js';
|
|
2
|
+
import require$$0 from '../../../../_virtual/_monaco-editor.js';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(basicInput, "__esModule", { value: true });
|
|
5
|
+
basicInput.BasicInputWidget = void 0;
|
|
6
|
+
var monaco = require$$0;
|
|
7
|
+
var BASE_CLASS = 'ext-emacs-basic-input';
|
|
8
|
+
function generateCss() {
|
|
9
|
+
return "\n .".concat(BASE_CLASS, " {\n color: #d4d4d4;\n transition: top 200ms linear;\n visibility: hidden;\n width: 200px;\n display: flex;\n align-items: center;\n padding: 5px;\n }\n\n .").concat(BASE_CLASS, ".").concat(BASE_CLASS, "-visible {\n visibility: visible;\n }\n\n .").concat(BASE_CLASS, " input {\n color: rgb(97, 97, 97);\n background-color: transparent;\n display: inline-block;\n box-sizing: border-box;\n height: 100%;\n line-height: inherit;\n border: none;\n font-family: inherit;\n font-size: inherit;\n resize: none;\n padding-top: 2px;\n padding-bottom: 2px;\n margin-left: 5px;\n max-width: 50px;\n }\n\n .").concat(BASE_CLASS, " input:focus {\n outline: none;\n }\n\n .vs .").concat(BASE_CLASS, " {\n color: rgb(97, 97, 97);\n background-color: #efeff2;\n box-shadow: 0 2px 8px #a8a8a8;\n }\n\n .vs-dark .").concat(BASE_CLASS, " {\n background-color: #2d2d30;\n box-shadow: 0 2px 8px #000000;\n }\n\n .vs-dark .").concat(BASE_CLASS, " input {\n color: rgb(204, 204, 204);\n }\n\n .hc-black .").concat(BASE_CLASS, " {\n border: 2px solid #6fc3df;\n background-color: #0c141f;\n color: #ffffff;\n }\n\n .hc-black .").concat(BASE_CLASS, " input {\n color: #ffffff;\n }\n");
|
|
10
|
+
}
|
|
11
|
+
var BasicInputWidget = (function () {
|
|
12
|
+
function BasicInputWidget() {
|
|
13
|
+
var _this = this;
|
|
14
|
+
this._pendingPromise = null;
|
|
15
|
+
this.onKeyDown = function (ev) {
|
|
16
|
+
if (ev.altKey || ev.ctrlKey || ev.metaKey) {
|
|
17
|
+
ev.preventDefault();
|
|
18
|
+
ev.stopPropagation();
|
|
19
|
+
}
|
|
20
|
+
if (ev.which === 13) {
|
|
21
|
+
if (_this._pendingPromise) {
|
|
22
|
+
ev.preventDefault();
|
|
23
|
+
_this._pendingPromise.resolve(ev.target.value);
|
|
24
|
+
_this._pendingPromise = null;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
else if (ev.which === 27) {
|
|
28
|
+
if (_this._pendingPromise) {
|
|
29
|
+
_this._pendingPromise.reject();
|
|
30
|
+
_this._pendingPromise = null;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
this.onBlur = function () {
|
|
35
|
+
if (_this._pendingPromise) {
|
|
36
|
+
_this._pendingPromise.reject();
|
|
37
|
+
_this._pendingPromise = null;
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
this._dom = document.createElement('div');
|
|
41
|
+
this._messageDom = document.createElement('div');
|
|
42
|
+
var medDom = document.createElement('div');
|
|
43
|
+
this._dom.setAttribute('class', BASE_CLASS);
|
|
44
|
+
this._dom.setAttribute('aria-hidden', 'true');
|
|
45
|
+
this._input = document.createElement('input');
|
|
46
|
+
this._dom.appendChild(this._messageDom);
|
|
47
|
+
medDom.appendChild(this._input);
|
|
48
|
+
this._dom.appendChild(medDom);
|
|
49
|
+
this.addListeners();
|
|
50
|
+
this._style = document.createElement('style');
|
|
51
|
+
this._style.type = 'text/css';
|
|
52
|
+
this._style.textContent = generateCss();
|
|
53
|
+
(document.head || document.body).appendChild(this._style);
|
|
54
|
+
}
|
|
55
|
+
BasicInputWidget.prototype.getDomNode = function () {
|
|
56
|
+
return this._dom;
|
|
57
|
+
};
|
|
58
|
+
BasicInputWidget.prototype.getId = function () {
|
|
59
|
+
return 'extension.emacs.basicinput';
|
|
60
|
+
};
|
|
61
|
+
BasicInputWidget.prototype.getPosition = function () {
|
|
62
|
+
return {
|
|
63
|
+
preference: monaco.editor.OverlayWidgetPositionPreference.TOP_RIGHT_CORNER,
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
BasicInputWidget.prototype.addListeners = function () {
|
|
67
|
+
this._input.addEventListener('keydown', this.onKeyDown);
|
|
68
|
+
this._input.addEventListener('blur', this.onBlur);
|
|
69
|
+
};
|
|
70
|
+
BasicInputWidget.prototype.showWidgetAndFocus = function (message) {
|
|
71
|
+
this._dom.classList.add("".concat(BASE_CLASS, "-visible"));
|
|
72
|
+
this._dom.setAttribute('aria-hidden', 'false');
|
|
73
|
+
this._messageDom.textContent = message;
|
|
74
|
+
this._input.focus();
|
|
75
|
+
};
|
|
76
|
+
BasicInputWidget.prototype.cleanup = function () {
|
|
77
|
+
this._dom.classList.remove("".concat(BASE_CLASS, "-visible"));
|
|
78
|
+
this._dom.setAttribute('aria-hidden', 'true');
|
|
79
|
+
this._messageDom.textContent = '';
|
|
80
|
+
this._input.placeholder = '';
|
|
81
|
+
this._input.value = '';
|
|
82
|
+
};
|
|
83
|
+
BasicInputWidget.prototype.getInput = function (message) {
|
|
84
|
+
var _this = this;
|
|
85
|
+
if (this._pendingPromise) {
|
|
86
|
+
this._pendingPromise.reject();
|
|
87
|
+
this._pendingPromise = null;
|
|
88
|
+
}
|
|
89
|
+
return new Promise(function (resolve, reject) {
|
|
90
|
+
_this._pendingPromise = {
|
|
91
|
+
resolve: function (val) {
|
|
92
|
+
resolve(val);
|
|
93
|
+
_this.cleanup();
|
|
94
|
+
},
|
|
95
|
+
reject: function () {
|
|
96
|
+
reject();
|
|
97
|
+
_this.cleanup();
|
|
98
|
+
},
|
|
99
|
+
};
|
|
100
|
+
_this.showWidgetAndFocus(message);
|
|
101
|
+
});
|
|
102
|
+
};
|
|
103
|
+
BasicInputWidget.prototype.dispose = function () {
|
|
104
|
+
this.cleanup();
|
|
105
|
+
this._input.removeEventListener('keydown', this.onKeyDown);
|
|
106
|
+
this._input.removeEventListener('blur', this.onBlur);
|
|
107
|
+
(document.head || document.body).removeChild(this._style);
|
|
108
|
+
};
|
|
109
|
+
return BasicInputWidget;
|
|
110
|
+
}());
|
|
111
|
+
basicInput.BasicInputWidget = BasicInputWidget;
|
|
112
|
+
|
|
113
|
+
export { basicInput as default };
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { __exports as commands } from '../../../../_virtual/commands.js';
|
|
2
|
+
import './actions.js';
|
|
3
|
+
import { __exports as actions } from '../../../../_virtual/actions.js';
|
|
4
|
+
|
|
5
|
+
(function (exports) {
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.getAllMappings = exports.unregisterKey = exports.registerGlobalCommand = exports.executeCommand = exports.COMMANDS = exports.prefixPreservingKeys = void 0;
|
|
8
|
+
var Actions = actions;
|
|
9
|
+
exports.prefixPreservingKeys = {
|
|
10
|
+
"M-g": true,
|
|
11
|
+
"C-x": true,
|
|
12
|
+
"C-q": true,
|
|
13
|
+
"C-u": true,
|
|
14
|
+
};
|
|
15
|
+
var setMarkAction = new Actions.SetMark();
|
|
16
|
+
var undoAction = new Actions.UndoAction();
|
|
17
|
+
var moveCursorDown = new Actions.MoveCursorDown();
|
|
18
|
+
var moveCursorUp = new Actions.MoveCursorUp();
|
|
19
|
+
var moveCursorRight = new Actions.MoveCursorRight();
|
|
20
|
+
var moveCursorLeft = new Actions.MoveCursorLeft();
|
|
21
|
+
exports.COMMANDS = {
|
|
22
|
+
'M-/': {
|
|
23
|
+
description: '',
|
|
24
|
+
action: 'editor.action.triggerSuggest',
|
|
25
|
+
},
|
|
26
|
+
'C-\'': {
|
|
27
|
+
description: '',
|
|
28
|
+
action: 'editor.action.triggerSuggest',
|
|
29
|
+
},
|
|
30
|
+
'M-;': {
|
|
31
|
+
description: '',
|
|
32
|
+
action: 'editor.action.commentLine',
|
|
33
|
+
},
|
|
34
|
+
'C-t': {
|
|
35
|
+
description: '',
|
|
36
|
+
action: 'editor.action.transposeLetters',
|
|
37
|
+
},
|
|
38
|
+
'C-x C-p': {
|
|
39
|
+
description: '',
|
|
40
|
+
action: 'editor.action.selectAll',
|
|
41
|
+
},
|
|
42
|
+
'Tab': {
|
|
43
|
+
description: '',
|
|
44
|
+
action: 'editor.action.formatDocument',
|
|
45
|
+
},
|
|
46
|
+
'C-Backspace': {
|
|
47
|
+
description: '',
|
|
48
|
+
action: 'deleteWordLeft',
|
|
49
|
+
},
|
|
50
|
+
'C-d': {
|
|
51
|
+
description: '',
|
|
52
|
+
action: 'deleteRight',
|
|
53
|
+
},
|
|
54
|
+
'M-Backspace': {
|
|
55
|
+
description: '',
|
|
56
|
+
action: 'deleteWordLeft',
|
|
57
|
+
},
|
|
58
|
+
'M-Delete': {
|
|
59
|
+
description: '',
|
|
60
|
+
action: 'deleteWordLeft',
|
|
61
|
+
},
|
|
62
|
+
'C-x C-u': {
|
|
63
|
+
description: '',
|
|
64
|
+
action: 'editor.action.transformToUppercase',
|
|
65
|
+
},
|
|
66
|
+
'C-x C-l': {
|
|
67
|
+
description: '',
|
|
68
|
+
action: 'editor.action.transformToLowercase',
|
|
69
|
+
},
|
|
70
|
+
'C-v': {
|
|
71
|
+
description: '',
|
|
72
|
+
action: 'cursorPageDown',
|
|
73
|
+
},
|
|
74
|
+
'PageDown': {
|
|
75
|
+
description: '',
|
|
76
|
+
action: 'cursorPageDown',
|
|
77
|
+
},
|
|
78
|
+
'M-v': {
|
|
79
|
+
description: '',
|
|
80
|
+
action: 'cursorPageUp',
|
|
81
|
+
},
|
|
82
|
+
'PageUp': {
|
|
83
|
+
description: '',
|
|
84
|
+
action: 'cursorPageUp',
|
|
85
|
+
},
|
|
86
|
+
'M-g n': {
|
|
87
|
+
description: '',
|
|
88
|
+
action: 'editor.action.marker.next',
|
|
89
|
+
},
|
|
90
|
+
'M-g p': {
|
|
91
|
+
description: '',
|
|
92
|
+
action: 'editor.action.marker.prev',
|
|
93
|
+
},
|
|
94
|
+
'M-C-n': {
|
|
95
|
+
description: '',
|
|
96
|
+
action: 'editor.action.addSelectionToNextFindMatch',
|
|
97
|
+
},
|
|
98
|
+
'C-h': {
|
|
99
|
+
description: '',
|
|
100
|
+
action: 'deleteLeft',
|
|
101
|
+
},
|
|
102
|
+
'M-d': {
|
|
103
|
+
description: '',
|
|
104
|
+
action: 'deleteWordRight',
|
|
105
|
+
},
|
|
106
|
+
'S-C-': {
|
|
107
|
+
description: '',
|
|
108
|
+
action: 'editor.action.triggerParameterHints',
|
|
109
|
+
},
|
|
110
|
+
'C-SPC': setMarkAction,
|
|
111
|
+
'S-C-2': setMarkAction,
|
|
112
|
+
'C-/': undoAction,
|
|
113
|
+
'S-C--': undoAction,
|
|
114
|
+
'C-z': undoAction,
|
|
115
|
+
'C-x u': undoAction,
|
|
116
|
+
'C-n': moveCursorDown,
|
|
117
|
+
'C-p': moveCursorUp,
|
|
118
|
+
'C-f': moveCursorRight,
|
|
119
|
+
'C-b': moveCursorLeft,
|
|
120
|
+
'S-C-Backspace': new Actions.DeleteLines(),
|
|
121
|
+
'M-f': new Actions.MoveCursorWordRight(),
|
|
122
|
+
'M-b': new Actions.MoveCursorWordLeft(),
|
|
123
|
+
'C-k': new Actions.KillLines(),
|
|
124
|
+
'C-m': new Actions.InsertLineAfter(),
|
|
125
|
+
'C-w': new Actions.KillSelection(),
|
|
126
|
+
'C-o': new Actions.InsertLineBelow(),
|
|
127
|
+
'C-g': new Actions.KeyBoardQuit(),
|
|
128
|
+
'C-e': new Actions.MoveCursorToLineEnd(),
|
|
129
|
+
'C-a': new Actions.MoveCursorToLineStart(),
|
|
130
|
+
'C-y': new Actions.Yank(),
|
|
131
|
+
'M-w': new Actions.YankSelectionToRing(),
|
|
132
|
+
'M-y': new Actions.YankRotate(),
|
|
133
|
+
'C-l': new Actions.RevealToCenterAction(),
|
|
134
|
+
'C-q Tab': new Actions.InsertTabs(),
|
|
135
|
+
'M-r': new Actions.RotateCursorOnScreen(),
|
|
136
|
+
'M-g g': new Actions.GotoLine(),
|
|
137
|
+
'M-g M-g': new Actions.GotoLine(),
|
|
138
|
+
'C-x C-x': new Actions.InvertSelection(),
|
|
139
|
+
'S-M-.': new Actions.MoveCursorBottom(),
|
|
140
|
+
'S-M-,': new Actions.MoveCursorTop(),
|
|
141
|
+
'C-s': new Actions.Search(),
|
|
142
|
+
'C-r': new Actions.Search(),
|
|
143
|
+
'S-M-5': new Actions.SearchReplace(),
|
|
144
|
+
};
|
|
145
|
+
function executeCommand(ext, command, inputBuffer, repeatedTrigger) {
|
|
146
|
+
var editor = ext.getEditor();
|
|
147
|
+
var repeat = parseInt(inputBuffer) || 1;
|
|
148
|
+
if (command.run) {
|
|
149
|
+
command.run(editor, ext, repeat, repeatedTrigger);
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
if (typeof command.action === 'string') {
|
|
153
|
+
for (var i = 0; i < repeat; i++) {
|
|
154
|
+
editor.trigger(Actions.SOURCE, command.action, null);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
else if (Array.isArray(command.action)) {
|
|
158
|
+
for (var i = 0; i < repeat; i++) {
|
|
159
|
+
command.action.forEach(function (cmd) {
|
|
160
|
+
editor.trigger(Actions.SOURCE, cmd, null);
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
exports.executeCommand = executeCommand;
|
|
166
|
+
function registerGlobalCommand(key, command) {
|
|
167
|
+
exports.COMMANDS[key] = command;
|
|
168
|
+
}
|
|
169
|
+
exports.registerGlobalCommand = registerGlobalCommand;
|
|
170
|
+
function unregisterKey(key) {
|
|
171
|
+
if (exports.COMMANDS[key]) {
|
|
172
|
+
delete exports.COMMANDS[key];
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
exports.unregisterKey = unregisterKey;
|
|
176
|
+
function getAllMappings() {
|
|
177
|
+
var result = {};
|
|
178
|
+
Object.keys(exports.COMMANDS).forEach(function (key) {
|
|
179
|
+
result[key] = exports.COMMANDS[key].description;
|
|
180
|
+
});
|
|
181
|
+
return result;
|
|
182
|
+
}
|
|
183
|
+
exports.getAllMappings = getAllMappings;
|
|
184
|
+
} (commands));
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import { __exports as emacs } from '../../../../_virtual/index3.js';
|
|
2
|
+
import require$$0 from '../../../../_virtual/_monaco-editor.js';
|
|
3
|
+
import { l as lodash_throttle } from '../../../lodash.throttle/index.js';
|
|
4
|
+
import { l as lodash_kebabcase } from '../../../lodash.kebabcase/index.js';
|
|
5
|
+
import './commands.js';
|
|
6
|
+
import './util.js';
|
|
7
|
+
import './basicInput.js';
|
|
8
|
+
import './state.js';
|
|
9
|
+
import { __exports as commands } from '../../../../_virtual/commands.js';
|
|
10
|
+
import { __exports as util } from '../../../../_virtual/util.js';
|
|
11
|
+
import { __exports as state } from '../../../../_virtual/state.js';
|
|
12
|
+
import { __exports as basicInput } from '../../../../_virtual/basicInput.js';
|
|
13
|
+
|
|
14
|
+
Object.defineProperty(emacs, "__esModule", { value: true });
|
|
15
|
+
emacs.getConfiguration = emacs.EmacsExtension = void 0;
|
|
16
|
+
var monaco = require$$0;
|
|
17
|
+
var throttle = lodash_throttle;
|
|
18
|
+
var kebabCase = lodash_kebabcase;
|
|
19
|
+
var commands_1 = commands;
|
|
20
|
+
var util_1 = util;
|
|
21
|
+
var basicInput_1 = basicInput;
|
|
22
|
+
var state_1 = state;
|
|
23
|
+
var _a = monaco.editor, TextEditorCursorBlinkingStyle = _a.TextEditorCursorBlinkingStyle, TextEditorCursorStyle = _a.TextEditorCursorStyle;
|
|
24
|
+
var EmacsExtension = (function () {
|
|
25
|
+
function EmacsExtension(editor) {
|
|
26
|
+
this._disposables = [];
|
|
27
|
+
this._inSelectionMode = false;
|
|
28
|
+
this._changeDisposable = null;
|
|
29
|
+
this._state = new state_1.State();
|
|
30
|
+
this._onDidMarkChange = new util_1.Emitter();
|
|
31
|
+
this.onDidMarkChange = this._onDidMarkChange.event;
|
|
32
|
+
this._onDidChangeKey = new util_1.Emitter();
|
|
33
|
+
this.onDidChangeKey = this._onDidChangeKey.event;
|
|
34
|
+
this._editor = editor;
|
|
35
|
+
var config = getConfiguration(editor);
|
|
36
|
+
this._intialCursorType = config.cursorStyle;
|
|
37
|
+
this._intialCursorBlinking = config.cursorBlinking;
|
|
38
|
+
this._basicInputWidget = new basicInput_1.BasicInputWidget();
|
|
39
|
+
}
|
|
40
|
+
EmacsExtension.prototype.start = function () {
|
|
41
|
+
if (this._disposables.length) {
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
this.addListeners();
|
|
45
|
+
this._editor.updateOptions({
|
|
46
|
+
cursorStyle: kebabCase(TextEditorCursorStyle[TextEditorCursorStyle.Block]),
|
|
47
|
+
cursorBlinking: kebabCase(TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle.Blink]),
|
|
48
|
+
});
|
|
49
|
+
this._editor.addOverlayWidget(this._basicInputWidget);
|
|
50
|
+
};
|
|
51
|
+
Object.defineProperty(EmacsExtension.prototype, "state", {
|
|
52
|
+
get: function () {
|
|
53
|
+
return this._state;
|
|
54
|
+
},
|
|
55
|
+
enumerable: false,
|
|
56
|
+
configurable: true
|
|
57
|
+
});
|
|
58
|
+
EmacsExtension.prototype.getEditor = function () {
|
|
59
|
+
return this._editor;
|
|
60
|
+
};
|
|
61
|
+
EmacsExtension.prototype.addListeners = function () {
|
|
62
|
+
this._disposables.push(this._editor.onKeyDown(this.onKeyDown.bind(this)));
|
|
63
|
+
this._throttledScroll = throttle(this.onEditorScroll.bind(this), 500);
|
|
64
|
+
this._disposables.push(this._editor.onDidScrollChange(this._throttledScroll));
|
|
65
|
+
};
|
|
66
|
+
EmacsExtension.prototype.cancelKey = function (ev) {
|
|
67
|
+
ev.preventDefault();
|
|
68
|
+
ev.stopPropagation();
|
|
69
|
+
};
|
|
70
|
+
EmacsExtension.prototype.onKeyDown = function (ev) {
|
|
71
|
+
if (ev.browserEvent.defaultPrevented) {
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
var key = (0, util_1.monacoToEmacsKey)(ev);
|
|
75
|
+
if (!key) {
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
key = this._state.updateAndGetKey(key);
|
|
79
|
+
this._onDidChangeKey.fire(this._state.getReadableState());
|
|
80
|
+
if (key === state_1.EAT_UP_KEY) {
|
|
81
|
+
this._onDidChangeKey.fire(this._state.getReadableState());
|
|
82
|
+
this.cancelKey(ev);
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
var command = commands_1.COMMANDS[key];
|
|
86
|
+
if (!command) {
|
|
87
|
+
this._onDidChangeKey.fire(this._state.getReadableState());
|
|
88
|
+
this._state.setLastCommandKey(key);
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
this.cancelKey(ev);
|
|
92
|
+
var repeatedTrigger = this._state.isLastCommandKey(key);
|
|
93
|
+
(0, commands_1.executeCommand)(this, command, this._state.getInputBuffer(), repeatedTrigger);
|
|
94
|
+
this._state.setLastCommandKey(key);
|
|
95
|
+
this._state.updateStateOnExecution();
|
|
96
|
+
};
|
|
97
|
+
EmacsExtension.prototype.onEditorScroll = function () {
|
|
98
|
+
var height = this._editor.getLayoutInfo().height;
|
|
99
|
+
var layout = this._editor.getScrolledVisiblePosition(this._editor.getPosition());
|
|
100
|
+
if (layout.top >= 0 && layout.top <= height) {
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
var ranges = this._editor.getVisibleRanges();
|
|
104
|
+
if (!ranges.length) {
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
107
|
+
var newPos;
|
|
108
|
+
var sel = this._editor.getSelection();
|
|
109
|
+
if (layout.top < 0) {
|
|
110
|
+
newPos = new monaco.Position(ranges[0].getStartPosition().lineNumber, 1);
|
|
111
|
+
}
|
|
112
|
+
else if (layout.top > height) {
|
|
113
|
+
newPos = new monaco.Position(ranges[ranges.length - 1].getEndPosition().lineNumber, 1);
|
|
114
|
+
}
|
|
115
|
+
if (this._inSelectionMode) {
|
|
116
|
+
this._editor.setSelection(monaco.Selection.fromPositions(sel.getStartPosition(), newPos));
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
119
|
+
this._editor.setPosition(newPos);
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
EmacsExtension.prototype.onContentChange = function () {
|
|
123
|
+
this.selectionMode = false;
|
|
124
|
+
};
|
|
125
|
+
EmacsExtension.prototype.clearState = function () {
|
|
126
|
+
this._state.updateStateOnExecution();
|
|
127
|
+
};
|
|
128
|
+
Object.defineProperty(EmacsExtension.prototype, "selectionMode", {
|
|
129
|
+
get: function () {
|
|
130
|
+
return this._inSelectionMode;
|
|
131
|
+
},
|
|
132
|
+
set: function (mode) {
|
|
133
|
+
if (mode === this._inSelectionMode) {
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
this._inSelectionMode = mode;
|
|
137
|
+
if (mode) {
|
|
138
|
+
this._changeDisposable = this._editor.onDidChangeModelContent(this.onContentChange.bind(this));
|
|
139
|
+
}
|
|
140
|
+
else if (this._changeDisposable) {
|
|
141
|
+
this._changeDisposable.dispose();
|
|
142
|
+
this._changeDisposable = null;
|
|
143
|
+
}
|
|
144
|
+
this._onDidMarkChange.fire(mode);
|
|
145
|
+
},
|
|
146
|
+
enumerable: false,
|
|
147
|
+
configurable: true
|
|
148
|
+
});
|
|
149
|
+
EmacsExtension.prototype.getCursorAnchor = function () {
|
|
150
|
+
var sel = this._editor.getSelection();
|
|
151
|
+
var dir = sel.getDirection();
|
|
152
|
+
return dir === monaco.SelectionDirection.LTR ? sel.getEndPosition() : sel.getStartPosition();
|
|
153
|
+
};
|
|
154
|
+
EmacsExtension.prototype.getBasicInput = function (message) {
|
|
155
|
+
return this._basicInputWidget.getInput(message);
|
|
156
|
+
};
|
|
157
|
+
EmacsExtension.prototype.dispose = function () {
|
|
158
|
+
this._disposables.forEach(function (d) { return d.dispose(); });
|
|
159
|
+
this._disposables = undefined;
|
|
160
|
+
if (this._changeDisposable) {
|
|
161
|
+
this._changeDisposable.dispose();
|
|
162
|
+
this._changeDisposable = null;
|
|
163
|
+
}
|
|
164
|
+
this._editor.updateOptions({
|
|
165
|
+
cursorStyle: this._intialCursorType,
|
|
166
|
+
cursorBlinking: this._intialCursorBlinking,
|
|
167
|
+
});
|
|
168
|
+
this._editor.removeOverlayWidget(this._basicInputWidget);
|
|
169
|
+
this._basicInputWidget.dispose();
|
|
170
|
+
this._throttledScroll.cancel();
|
|
171
|
+
this._state = null;
|
|
172
|
+
};
|
|
173
|
+
return EmacsExtension;
|
|
174
|
+
}());
|
|
175
|
+
emacs.EmacsExtension = EmacsExtension;
|
|
176
|
+
function getConfiguration(editor) {
|
|
177
|
+
var cursorStyle = editor.getOption(monaco.editor.EditorOption.cursorStyle);
|
|
178
|
+
var cursorBlinking = editor.getOption(monaco.editor.EditorOption.cursorBlinking);
|
|
179
|
+
return {
|
|
180
|
+
cursorStyle: kebabCase(TextEditorCursorStyle[cursorStyle]),
|
|
181
|
+
cursorBlinking: kebabCase(TextEditorCursorBlinkingStyle[cursorBlinking]),
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
emacs.getConfiguration = getConfiguration;
|
|
185
|
+
|
|
186
|
+
export { emacs as default };
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { __exports as state } from '../../../../_virtual/state.js';
|
|
2
|
+
import './commands.js';
|
|
3
|
+
import { __exports as commands } from '../../../../_virtual/commands.js';
|
|
4
|
+
|
|
5
|
+
(function (exports) {
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.State = exports.EAT_UP_KEY = void 0;
|
|
8
|
+
var commands_1 = commands;
|
|
9
|
+
exports.EAT_UP_KEY = '==-==';
|
|
10
|
+
var State = (function () {
|
|
11
|
+
function State() {
|
|
12
|
+
this._inargumentMode = false;
|
|
13
|
+
this._killRing = [];
|
|
14
|
+
}
|
|
15
|
+
State.prototype.updateAndGetKey = function (key) {
|
|
16
|
+
if (key === 'C-g' && (this._inargumentMode || this._prefixKey)) {
|
|
17
|
+
this.resetState();
|
|
18
|
+
return exports.EAT_UP_KEY;
|
|
19
|
+
}
|
|
20
|
+
if (this.updateCuMode(key)) {
|
|
21
|
+
return exports.EAT_UP_KEY;
|
|
22
|
+
}
|
|
23
|
+
if (!this._prefixKey) {
|
|
24
|
+
if (commands_1.prefixPreservingKeys[key]) {
|
|
25
|
+
this._prefixKey = key;
|
|
26
|
+
return exports.EAT_UP_KEY;
|
|
27
|
+
}
|
|
28
|
+
return key;
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
return "".concat(this._prefixKey, " ").concat(key);
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
State.prototype.setLastCommandKey = function (lastCommandKey) {
|
|
35
|
+
this._lastCommandKey = lastCommandKey;
|
|
36
|
+
};
|
|
37
|
+
State.prototype.isLastCommandKey = function (lastCommandKey) {
|
|
38
|
+
return this._lastCommandKey == lastCommandKey;
|
|
39
|
+
};
|
|
40
|
+
State.prototype.resetState = function (setLastInput) {
|
|
41
|
+
if (setLastInput === void 0) { setLastInput = false; }
|
|
42
|
+
this._inargumentMode = setLastInput;
|
|
43
|
+
this._prefixKey = null;
|
|
44
|
+
if (setLastInput) {
|
|
45
|
+
this._lastInputBuffer = this._inputBuffer;
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
this._lastInputBuffer = null;
|
|
49
|
+
}
|
|
50
|
+
this._inputBuffer = null;
|
|
51
|
+
};
|
|
52
|
+
State.prototype.updateCuMode = function (key) {
|
|
53
|
+
if (this._inargumentMode) {
|
|
54
|
+
if (typeof key === 'string' && (/^\d$/.test(key))) {
|
|
55
|
+
this._inputBuffer = (this._inputBuffer || '') + key;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
else if (commands_1.prefixPreservingKeys[key]) {
|
|
59
|
+
this.resetState(true);
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
else if (!this._prefixKey && key === 'C-u') {
|
|
64
|
+
this._inargumentMode = true;
|
|
65
|
+
this._inputBuffer = null;
|
|
66
|
+
this._lastInputBuffer = null;
|
|
67
|
+
return true;
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
State.prototype.updateStateOnExecution = function (reset) {
|
|
71
|
+
if (reset === void 0) { reset = false; }
|
|
72
|
+
this.resetState(reset);
|
|
73
|
+
};
|
|
74
|
+
State.prototype.getInputBuffer = function () {
|
|
75
|
+
return this._lastInputBuffer || this._inputBuffer;
|
|
76
|
+
};
|
|
77
|
+
State.prototype.addToRing = function (str) {
|
|
78
|
+
this._killRing.push(str);
|
|
79
|
+
if (this._killRing.length > 50)
|
|
80
|
+
this._killRing.shift();
|
|
81
|
+
};
|
|
82
|
+
State.prototype.growRingTop = function (str) {
|
|
83
|
+
if (!this._killRing.length) {
|
|
84
|
+
this.addToRing(str);
|
|
85
|
+
}
|
|
86
|
+
this._killRing[this._killRing.length - 1] += str;
|
|
87
|
+
};
|
|
88
|
+
State.prototype.getFromRing = function (n) {
|
|
89
|
+
return this._killRing[this._killRing.length - (n ? Math.min(n, 1) : 1)] || '';
|
|
90
|
+
};
|
|
91
|
+
State.prototype.popFromRing = function () {
|
|
92
|
+
if (this._killRing.length > 1) {
|
|
93
|
+
return this._killRing.pop();
|
|
94
|
+
}
|
|
95
|
+
return this.getFromRing();
|
|
96
|
+
};
|
|
97
|
+
State.prototype.getReadableState = function () {
|
|
98
|
+
var str = '';
|
|
99
|
+
if (this._inargumentMode) {
|
|
100
|
+
str += 'C-u';
|
|
101
|
+
if (this._inputBuffer) {
|
|
102
|
+
str += " ".concat(this._inputBuffer);
|
|
103
|
+
}
|
|
104
|
+
else if (this._lastInputBuffer) {
|
|
105
|
+
str += " ".concat(this._lastInputBuffer);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
if (this._prefixKey) {
|
|
109
|
+
str += " ".concat(this._prefixKey);
|
|
110
|
+
}
|
|
111
|
+
return str;
|
|
112
|
+
};
|
|
113
|
+
return State;
|
|
114
|
+
}());
|
|
115
|
+
exports.State = State;
|
|
116
|
+
} (state));
|