monaco-editor 0.53.0 → 0.54.0-dev-20250910
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/dev/vs/assets/{css.worker.4040859e.js → css.worker.be279320.js} +6 -145
- package/dev/vs/assets/{editor.worker.50c051c0.js → editor.worker.9f8d1c9d.js} +6 -145
- package/dev/vs/assets/{html.worker.1a3caaf3.js → html.worker.70c7fa17.js} +6 -145
- package/dev/vs/assets/{json.worker.32db31cb.js → json.worker.1126f7cb.js} +6 -145
- package/dev/vs/assets/{ts.worker.77b7bdc2.js → ts.worker.527e4698.js} +6 -145
- package/dev/vs/basic-languages/monaco.contribution.js +1 -1
- package/dev/vs/{cssMode.71dc3162.js → cssMode.3f90eb9f.js} +1 -1
- package/dev/vs/editor/editor.main.js +6 -6
- package/dev/vs/{editor.api.001a2486.js → editor.api.3bba6e9b.js} +437 -550
- package/dev/vs/{freemarker2.1d1f763d.js → freemarker2.43257c38.js} +1 -1
- package/dev/vs/{handlebars.1c43a000.js → handlebars.71e72b10.js} +1 -1
- package/dev/vs/{html.50e520b0.js → html.7af2066d.js} +1 -1
- package/dev/vs/{htmlMode.57de31b3.js → htmlMode.dfce3cd7.js} +1 -1
- package/dev/vs/{javascript.00c827f5.js → javascript.db5c4373.js} +1 -1
- package/dev/vs/{jsonMode.3112352c.js → jsonMode.cfbcdbcd.js} +1 -1
- package/dev/vs/language/css/monaco.contribution.js +2 -2
- package/dev/vs/language/html/monaco.contribution.js +2 -2
- package/dev/vs/language/json/monaco.contribution.js +2 -2
- package/dev/vs/language/typescript/monaco.contribution.js +2 -2
- package/dev/vs/{liquid.a6046bb2.js → liquid.661f706b.js} +1 -1
- package/dev/vs/{lspLanguageFeatures.b4763a7b.js → lspLanguageFeatures.cc35fc35.js} +1 -1
- package/dev/vs/{mdx.4d70389f.js → mdx.b9191511.js} +1 -1
- package/dev/vs/nls.messages.de.js +2 -2
- package/dev/vs/nls.messages.es.js +2 -2
- package/dev/vs/nls.messages.fr.js +2 -2
- package/dev/vs/nls.messages.it.js +2 -2
- package/dev/vs/nls.messages.ja.js +2 -2
- package/dev/vs/nls.messages.ko.js +2 -2
- package/dev/vs/nls.messages.ru.js +2 -2
- package/dev/vs/nls.messages.zh-cn.js +2 -2
- package/dev/vs/nls.messages.zh-tw.js +2 -2
- package/dev/vs/{python.5153d5cc.js → python.285fdd13.js} +1 -1
- package/dev/vs/{razor.e138c602.js → razor.58ef723a.js} +1 -1
- package/dev/vs/style.css +26 -18
- package/dev/vs/{tsMode.0cda7d07.js → tsMode.9bdf2264.js} +1 -1
- package/dev/vs/{typescript.21e6b24c.js → typescript.f9965fbf.js} +1 -1
- package/dev/vs/{workers.8ff654dc.js → workers.1db2ca74.js} +1 -1
- package/dev/vs/{xml.97580f17.js → xml.7daeeb87.js} +1 -1
- package/dev/vs/{yaml.4437b505.js → yaml.5d7293a6.js} +1 -1
- package/dev/vs/{yaml.contribution.6f43d486.js → yaml.contribution.0e87c936.js} +18 -18
- package/esm/nls.keys.json +1 -1
- package/esm/nls.messages.de.js +2 -2
- package/esm/nls.messages.es.js +2 -2
- package/esm/nls.messages.fr.js +2 -2
- package/esm/nls.messages.it.js +2 -2
- package/esm/nls.messages.ja.js +2 -2
- package/esm/nls.messages.js +1 -1
- package/esm/nls.messages.json +1 -1
- package/esm/nls.messages.ko.js +2 -2
- package/esm/nls.messages.ru.js +2 -2
- package/esm/nls.messages.zh-cn.js +2 -2
- package/esm/nls.messages.zh-tw.js +2 -2
- package/esm/nls.metadata.json +0 -2
- package/esm/vs/base/browser/domSanitize.js +18 -8
- package/esm/vs/base/browser/domSanitize.js.map +1 -1
- package/esm/vs/base/browser/domStylesheets.js +3 -0
- package/esm/vs/base/browser/domStylesheets.js.map +1 -1
- package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/esm/vs/base/browser/ui/dropdown/dropdown.js +1 -2
- package/esm/vs/base/browser/ui/dropdown/dropdown.js.map +1 -1
- package/esm/vs/base/common/async.js +6 -173
- package/esm/vs/base/common/async.js.map +1 -1
- package/esm/vs/base/common/fuzzyScorer.js +6 -3
- package/esm/vs/base/common/fuzzyScorer.js.map +1 -1
- package/esm/vs/base/common/strings.js +0 -3
- package/esm/vs/base/common/strings.js.map +1 -1
- package/esm/vs/basic-languages/_.contribution.js +1 -1
- package/esm/vs/basic-languages/abap/abap.contribution.js +1 -1
- package/esm/vs/basic-languages/abap/abap.js +1 -1
- package/esm/vs/basic-languages/apex/apex.contribution.js +1 -1
- package/esm/vs/basic-languages/apex/apex.js +1 -1
- package/esm/vs/basic-languages/azcli/azcli.contribution.js +1 -1
- package/esm/vs/basic-languages/azcli/azcli.js +1 -1
- package/esm/vs/basic-languages/bat/bat.contribution.js +1 -1
- package/esm/vs/basic-languages/bat/bat.js +1 -1
- package/esm/vs/basic-languages/bicep/bicep.contribution.js +1 -1
- package/esm/vs/basic-languages/bicep/bicep.js +1 -1
- package/esm/vs/basic-languages/cameligo/cameligo.contribution.js +1 -1
- package/esm/vs/basic-languages/cameligo/cameligo.js +1 -1
- package/esm/vs/basic-languages/clojure/clojure.contribution.js +1 -1
- package/esm/vs/basic-languages/clojure/clojure.js +1 -1
- package/esm/vs/basic-languages/coffee/coffee.contribution.js +1 -1
- package/esm/vs/basic-languages/coffee/coffee.js +1 -1
- package/esm/vs/basic-languages/cpp/cpp.contribution.js +1 -1
- package/esm/vs/basic-languages/cpp/cpp.js +1 -1
- package/esm/vs/basic-languages/csharp/csharp.contribution.js +1 -1
- package/esm/vs/basic-languages/csharp/csharp.js +1 -1
- package/esm/vs/basic-languages/csp/csp.contribution.js +1 -1
- package/esm/vs/basic-languages/csp/csp.js +1 -1
- package/esm/vs/basic-languages/css/css.contribution.js +1 -1
- package/esm/vs/basic-languages/css/css.js +1 -1
- package/esm/vs/basic-languages/cypher/cypher.contribution.js +1 -1
- package/esm/vs/basic-languages/cypher/cypher.js +1 -1
- package/esm/vs/basic-languages/dart/dart.contribution.js +1 -1
- package/esm/vs/basic-languages/dart/dart.js +1 -1
- package/esm/vs/basic-languages/dockerfile/dockerfile.contribution.js +1 -1
- package/esm/vs/basic-languages/dockerfile/dockerfile.js +1 -1
- package/esm/vs/basic-languages/ecl/ecl.contribution.js +1 -1
- package/esm/vs/basic-languages/ecl/ecl.js +1 -1
- package/esm/vs/basic-languages/elixir/elixir.contribution.js +1 -1
- package/esm/vs/basic-languages/elixir/elixir.js +1 -1
- package/esm/vs/basic-languages/flow9/flow9.contribution.js +1 -1
- package/esm/vs/basic-languages/flow9/flow9.js +1 -1
- package/esm/vs/basic-languages/freemarker2/freemarker2.contribution.js +1 -1
- package/esm/vs/basic-languages/freemarker2/freemarker2.js +1 -1
- package/esm/vs/basic-languages/fsharp/fsharp.contribution.js +1 -1
- package/esm/vs/basic-languages/fsharp/fsharp.js +1 -1
- package/esm/vs/basic-languages/go/go.contribution.js +1 -1
- package/esm/vs/basic-languages/go/go.js +1 -1
- package/esm/vs/basic-languages/graphql/graphql.contribution.js +1 -1
- package/esm/vs/basic-languages/graphql/graphql.js +1 -1
- package/esm/vs/basic-languages/handlebars/handlebars.contribution.js +1 -1
- package/esm/vs/basic-languages/handlebars/handlebars.js +1 -1
- package/esm/vs/basic-languages/hcl/hcl.contribution.js +1 -1
- package/esm/vs/basic-languages/hcl/hcl.js +1 -1
- package/esm/vs/basic-languages/html/html.contribution.js +1 -1
- package/esm/vs/basic-languages/html/html.js +1 -1
- package/esm/vs/basic-languages/ini/ini.contribution.js +1 -1
- package/esm/vs/basic-languages/ini/ini.js +1 -1
- package/esm/vs/basic-languages/java/java.contribution.js +1 -1
- package/esm/vs/basic-languages/java/java.js +1 -1
- package/esm/vs/basic-languages/javascript/javascript.contribution.js +1 -1
- package/esm/vs/basic-languages/javascript/javascript.js +1 -1
- package/esm/vs/basic-languages/julia/julia.contribution.js +1 -1
- package/esm/vs/basic-languages/julia/julia.js +1 -1
- package/esm/vs/basic-languages/kotlin/kotlin.contribution.js +1 -1
- package/esm/vs/basic-languages/kotlin/kotlin.js +1 -1
- package/esm/vs/basic-languages/less/less.contribution.js +1 -1
- package/esm/vs/basic-languages/less/less.js +1 -1
- package/esm/vs/basic-languages/lexon/lexon.contribution.js +1 -1
- package/esm/vs/basic-languages/lexon/lexon.js +1 -1
- package/esm/vs/basic-languages/liquid/liquid.contribution.js +1 -1
- package/esm/vs/basic-languages/liquid/liquid.js +1 -1
- package/esm/vs/basic-languages/lua/lua.contribution.js +1 -1
- package/esm/vs/basic-languages/lua/lua.js +1 -1
- package/esm/vs/basic-languages/m3/m3.contribution.js +1 -1
- package/esm/vs/basic-languages/m3/m3.js +1 -1
- package/esm/vs/basic-languages/markdown/markdown.contribution.js +1 -1
- package/esm/vs/basic-languages/markdown/markdown.js +1 -1
- package/esm/vs/basic-languages/mdx/mdx.contribution.js +1 -1
- package/esm/vs/basic-languages/mdx/mdx.js +1 -1
- package/esm/vs/basic-languages/mips/mips.contribution.js +1 -1
- package/esm/vs/basic-languages/mips/mips.js +1 -1
- package/esm/vs/basic-languages/monaco.contribution.js +1 -1
- package/esm/vs/basic-languages/msdax/msdax.contribution.js +1 -1
- package/esm/vs/basic-languages/msdax/msdax.js +1 -1
- package/esm/vs/basic-languages/mysql/mysql.contribution.js +1 -1
- package/esm/vs/basic-languages/mysql/mysql.js +1 -1
- package/esm/vs/basic-languages/objective-c/objective-c.contribution.js +1 -1
- package/esm/vs/basic-languages/objective-c/objective-c.js +1 -1
- package/esm/vs/basic-languages/pascal/pascal.contribution.js +1 -1
- package/esm/vs/basic-languages/pascal/pascal.js +1 -1
- package/esm/vs/basic-languages/pascaligo/pascaligo.contribution.js +1 -1
- package/esm/vs/basic-languages/pascaligo/pascaligo.js +1 -1
- package/esm/vs/basic-languages/perl/perl.contribution.js +1 -1
- package/esm/vs/basic-languages/perl/perl.js +1 -1
- package/esm/vs/basic-languages/pgsql/pgsql.contribution.js +1 -1
- package/esm/vs/basic-languages/pgsql/pgsql.js +1 -1
- package/esm/vs/basic-languages/php/php.contribution.js +1 -1
- package/esm/vs/basic-languages/php/php.js +1 -1
- package/esm/vs/basic-languages/pla/pla.contribution.js +1 -1
- package/esm/vs/basic-languages/pla/pla.js +1 -1
- package/esm/vs/basic-languages/postiats/postiats.contribution.js +1 -1
- package/esm/vs/basic-languages/postiats/postiats.js +1 -1
- package/esm/vs/basic-languages/powerquery/powerquery.contribution.js +1 -1
- package/esm/vs/basic-languages/powerquery/powerquery.js +1 -1
- package/esm/vs/basic-languages/powershell/powershell.contribution.js +1 -1
- package/esm/vs/basic-languages/powershell/powershell.js +1 -1
- package/esm/vs/basic-languages/protobuf/protobuf.contribution.js +1 -1
- package/esm/vs/basic-languages/protobuf/protobuf.js +1 -1
- package/esm/vs/basic-languages/pug/pug.contribution.js +1 -1
- package/esm/vs/basic-languages/pug/pug.js +1 -1
- package/esm/vs/basic-languages/python/python.contribution.js +1 -1
- package/esm/vs/basic-languages/python/python.js +1 -1
- package/esm/vs/basic-languages/qsharp/qsharp.contribution.js +1 -1
- package/esm/vs/basic-languages/qsharp/qsharp.js +1 -1
- package/esm/vs/basic-languages/r/r.contribution.js +1 -1
- package/esm/vs/basic-languages/r/r.js +1 -1
- package/esm/vs/basic-languages/razor/razor.contribution.js +1 -1
- package/esm/vs/basic-languages/razor/razor.js +1 -1
- package/esm/vs/basic-languages/redis/redis.contribution.js +1 -1
- package/esm/vs/basic-languages/redis/redis.js +1 -1
- package/esm/vs/basic-languages/redshift/redshift.contribution.js +1 -1
- package/esm/vs/basic-languages/redshift/redshift.js +1 -1
- package/esm/vs/basic-languages/restructuredtext/restructuredtext.contribution.js +1 -1
- package/esm/vs/basic-languages/restructuredtext/restructuredtext.js +1 -1
- package/esm/vs/basic-languages/ruby/ruby.contribution.js +1 -1
- package/esm/vs/basic-languages/ruby/ruby.js +1 -1
- package/esm/vs/basic-languages/rust/rust.contribution.js +1 -1
- package/esm/vs/basic-languages/rust/rust.js +1 -1
- package/esm/vs/basic-languages/sb/sb.contribution.js +1 -1
- package/esm/vs/basic-languages/sb/sb.js +1 -1
- package/esm/vs/basic-languages/scala/scala.contribution.js +1 -1
- package/esm/vs/basic-languages/scala/scala.js +1 -1
- package/esm/vs/basic-languages/scheme/scheme.contribution.js +1 -1
- package/esm/vs/basic-languages/scheme/scheme.js +1 -1
- package/esm/vs/basic-languages/scss/scss.contribution.js +1 -1
- package/esm/vs/basic-languages/scss/scss.js +1 -1
- package/esm/vs/basic-languages/shell/shell.contribution.js +1 -1
- package/esm/vs/basic-languages/shell/shell.js +1 -1
- package/esm/vs/basic-languages/solidity/solidity.contribution.js +1 -1
- package/esm/vs/basic-languages/solidity/solidity.js +1 -1
- package/esm/vs/basic-languages/sophia/sophia.contribution.js +1 -1
- package/esm/vs/basic-languages/sophia/sophia.js +1 -1
- package/esm/vs/basic-languages/sparql/sparql.contribution.js +1 -1
- package/esm/vs/basic-languages/sparql/sparql.js +1 -1
- package/esm/vs/basic-languages/sql/sql.contribution.js +1 -1
- package/esm/vs/basic-languages/sql/sql.js +1 -1
- package/esm/vs/basic-languages/st/st.contribution.js +1 -1
- package/esm/vs/basic-languages/st/st.js +1 -1
- package/esm/vs/basic-languages/swift/swift.contribution.js +1 -1
- package/esm/vs/basic-languages/swift/swift.js +1 -1
- package/esm/vs/basic-languages/systemverilog/systemverilog.contribution.js +1 -1
- package/esm/vs/basic-languages/systemverilog/systemverilog.js +1 -1
- package/esm/vs/basic-languages/tcl/tcl.contribution.js +1 -1
- package/esm/vs/basic-languages/tcl/tcl.js +1 -1
- package/esm/vs/basic-languages/twig/twig.contribution.js +1 -1
- package/esm/vs/basic-languages/twig/twig.js +1 -1
- package/esm/vs/basic-languages/typescript/typescript.contribution.js +1 -1
- package/esm/vs/basic-languages/typescript/typescript.js +1 -1
- package/esm/vs/basic-languages/typespec/typespec.contribution.js +1 -1
- package/esm/vs/basic-languages/typespec/typespec.js +1 -1
- package/esm/vs/basic-languages/vb/vb.contribution.js +1 -1
- package/esm/vs/basic-languages/vb/vb.js +1 -1
- package/esm/vs/basic-languages/wgsl/wgsl.contribution.js +1 -1
- package/esm/vs/basic-languages/wgsl/wgsl.js +1 -1
- package/esm/vs/basic-languages/xml/xml.contribution.js +1 -1
- package/esm/vs/basic-languages/xml/xml.js +1 -1
- package/esm/vs/basic-languages/yaml/yaml.contribution.js +1 -1
- package/esm/vs/basic-languages/yaml/yaml.js +1 -1
- package/esm/vs/editor/browser/controller/editContext/native/screenReaderContentRich.js +23 -13
- package/esm/vs/editor/browser/controller/editContext/native/screenReaderContentRich.js.map +1 -1
- package/esm/vs/editor/browser/services/hoverService/hover.css +1 -1
- package/esm/vs/editor/common/config/editorOptions.js +1 -1
- package/esm/vs/editor/common/config/editorOptions.js.map +1 -1
- package/esm/vs/editor/common/viewModel/screenReaderSimpleModel.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +9 -4
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +2 -2
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +15 -10
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css +13 -4
- package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +5 -4
- package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js.map +1 -1
- package/esm/vs/editor/editor.api.d.ts +5 -3
- package/esm/vs/editor/editor.main.js +1 -1
- package/esm/vs/editor/editor.worker.js +1 -1
- package/esm/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +1 -1
- package/esm/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js.map +1 -1
- package/esm/vs/language/css/css.worker.js +1 -1
- package/esm/vs/language/css/cssMode.js +1 -1
- package/esm/vs/language/css/monaco.contribution.js +1 -1
- package/esm/vs/language/html/html.worker.js +1 -1
- package/esm/vs/language/html/htmlMode.js +1 -1
- package/esm/vs/language/html/monaco.contribution.js +1 -1
- package/esm/vs/language/json/json.worker.js +1 -1
- package/esm/vs/language/json/jsonMode.js +1 -1
- package/esm/vs/language/json/monaco.contribution.js +1 -1
- package/esm/vs/language/typescript/monaco.contribution.js +1 -1
- package/esm/vs/language/typescript/ts.worker.js +1 -1
- package/esm/vs/language/typescript/tsMode.js +1 -1
- package/esm/vs/platform/actionWidget/browser/actionList.js +2 -2
- package/esm/vs/platform/actionWidget/browser/actionList.js.map +1 -1
- package/esm/vs/platform/actionWidget/browser/actionWidget.css +11 -12
- package/esm/vs/platform/actions/browser/actionViewItemService.js.map +1 -1
- package/esm/vs/platform/actions/browser/toolbar.js +3 -3
- package/esm/vs/platform/actions/browser/toolbar.js.map +1 -1
- package/esm/vs/platform/contextkey/common/contextkeys.js +1 -2
- package/esm/vs/platform/contextkey/common/contextkeys.js.map +1 -1
- package/esm/vs/platform/contextkey/common/scanner.js +5 -5
- package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/esm/vs/platform/list/browser/listService.js +27 -27
- package/esm/vs/platform/markers/common/markerService.js +2 -2
- package/esm/vs/platform/markers/common/markers.js +6 -6
- package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +7 -7
- package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/esm/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/esm/vs/platform/theme/common/colorUtils.js +2 -2
- package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
- package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
- package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/esm/vs/platform/theme/common/colors/miscColors.js +15 -15
- package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
- package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/esm/vs/platform/workspace/common/workspace.js +1 -1
- package/min/vs/assets/{css.worker.4040859e.js → css.worker.be279320.js} +42 -42
- package/min/vs/assets/{editor.worker.50c051c0.js → editor.worker.9f8d1c9d.js} +14 -14
- package/min/vs/assets/{html.worker.1a3caaf3.js → html.worker.70c7fa17.js} +25 -25
- package/min/vs/assets/{json.worker.32db31cb.js → json.worker.1126f7cb.js} +36 -36
- package/min/vs/assets/{ts.worker.77b7bdc2.js → ts.worker.527e4698.js} +103 -103
- package/min/vs/basic-languages/monaco.contribution.js +1 -1
- package/min/vs/{cssMode.71dc3162.js → cssMode.3f90eb9f.js} +1 -1
- package/min/vs/editor/editor.main.js +1 -1
- package/min/vs/{editor.api.001a2486.js → editor.api.3bba6e9b.js} +159 -158
- package/min/vs/{freemarker2.1d1f763d.js → freemarker2.43257c38.js} +1 -1
- package/min/vs/{handlebars.1c43a000.js → handlebars.71e72b10.js} +1 -1
- package/min/vs/{html.50e520b0.js → html.7af2066d.js} +1 -1
- package/min/vs/{htmlMode.57de31b3.js → htmlMode.dfce3cd7.js} +1 -1
- package/min/vs/{javascript.00c827f5.js → javascript.db5c4373.js} +1 -1
- package/min/vs/{jsonMode.3112352c.js → jsonMode.cfbcdbcd.js} +4 -4
- package/min/vs/language/css/monaco.contribution.js +1 -1
- package/min/vs/language/html/monaco.contribution.js +1 -1
- package/min/vs/language/json/monaco.contribution.js +1 -1
- package/min/vs/language/typescript/monaco.contribution.js +1 -1
- package/min/vs/{liquid.a6046bb2.js → liquid.661f706b.js} +1 -1
- package/min/vs/{lspLanguageFeatures.b4763a7b.js → lspLanguageFeatures.cc35fc35.js} +1 -1
- package/min/vs/{mdx.4d70389f.js → mdx.b9191511.js} +1 -1
- package/min/vs/nls.messages.de.js +2 -2
- package/min/vs/nls.messages.es.js +2 -2
- package/min/vs/nls.messages.fr.js +2 -2
- package/min/vs/nls.messages.it.js +2 -2
- package/min/vs/nls.messages.ja.js +2 -2
- package/min/vs/nls.messages.ko.js +2 -2
- package/min/vs/nls.messages.ru.js +2 -2
- package/min/vs/nls.messages.zh-cn.js +2 -2
- package/min/vs/nls.messages.zh-tw.js +2 -2
- package/min/vs/{python.5153d5cc.js → python.285fdd13.js} +1 -1
- package/min/vs/{razor.e138c602.js → razor.58ef723a.js} +1 -1
- package/min/vs/style.css +1 -1
- package/min/vs/{tsMode.0cda7d07.js → tsMode.9bdf2264.js} +8 -8
- package/min/vs/{typescript.21e6b24c.js → typescript.f9965fbf.js} +1 -1
- package/min/vs/{workers.8ff654dc.js → workers.1db2ca74.js} +1 -1
- package/min/vs/{xml.97580f17.js → xml.7daeeb87.js} +1 -1
- package/min/vs/{yaml.4437b505.js → yaml.5d7293a6.js} +1 -1
- package/min/vs/{yaml.contribution.6f43d486.js → yaml.contribution.0e87c936.js} +1 -1
- package/monaco.d.ts +2 -2
- package/package.json +4 -4
|
@@ -4,7 +4,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4
4
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
|
-
define("vs/editor.api.
|
|
7
|
+
define("vs/editor.api.3bba6e9b", ["exports"], function(exports) {
|
|
8
8
|
var _a2, _b2, _c2, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$2, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha, _ia, _ja, _ka, _la, _ma, _na, _oa, _pa, _qa, _ra, _sa, _ta, _ua, _va, _wa, _xa, _ya, _za, _Aa, _Ba, _Ca, _Da, _Ea, _Fa, _Ga, _Ha, _Ia, _Ja, _Ka, _La, _Ma, _Na, _Oa, _Pa, _Qa;
|
|
9
9
|
"use strict";
|
|
10
10
|
function getNLSMessages() {
|
|
@@ -3255,6 +3255,9 @@ define("vs/editor.api.001a2486", ["exports"], function(exports) {
|
|
|
3255
3255
|
});
|
|
3256
3256
|
}
|
|
3257
3257
|
complete(value) {
|
|
3258
|
+
if (this.isSettled) {
|
|
3259
|
+
return Promise.resolve();
|
|
3260
|
+
}
|
|
3258
3261
|
return new Promise((resolve2) => {
|
|
3259
3262
|
this.completeCallback(value);
|
|
3260
3263
|
this.outcome = { outcome: 0, value };
|
|
@@ -3262,6 +3265,9 @@ define("vs/editor.api.001a2486", ["exports"], function(exports) {
|
|
|
3262
3265
|
});
|
|
3263
3266
|
}
|
|
3264
3267
|
error(err) {
|
|
3268
|
+
if (this.isSettled) {
|
|
3269
|
+
return Promise.resolve();
|
|
3270
|
+
}
|
|
3265
3271
|
return new Promise((resolve2) => {
|
|
3266
3272
|
this.errorCallback(err);
|
|
3267
3273
|
this.outcome = { outcome: 1, value: err };
|
|
@@ -3299,151 +3305,6 @@ define("vs/editor.api.001a2486", ["exports"], function(exports) {
|
|
|
3299
3305
|
}
|
|
3300
3306
|
Promises2.withAsyncBody = withAsyncBody;
|
|
3301
3307
|
})(Promises || (Promises = {}));
|
|
3302
|
-
const _AsyncIterableObject = class {
|
|
3303
|
-
static fromArray(items) {
|
|
3304
|
-
return new _AsyncIterableObject((writer) => {
|
|
3305
|
-
writer.emitMany(items);
|
|
3306
|
-
});
|
|
3307
|
-
}
|
|
3308
|
-
static fromPromise(promise) {
|
|
3309
|
-
return new _AsyncIterableObject(async (emitter) => {
|
|
3310
|
-
emitter.emitMany(await promise);
|
|
3311
|
-
});
|
|
3312
|
-
}
|
|
3313
|
-
static fromPromisesResolveOrder(promises) {
|
|
3314
|
-
return new _AsyncIterableObject(async (emitter) => {
|
|
3315
|
-
await Promise.all(promises.map(async (p) => emitter.emitOne(await p)));
|
|
3316
|
-
});
|
|
3317
|
-
}
|
|
3318
|
-
static merge(iterables) {
|
|
3319
|
-
return new _AsyncIterableObject(async (emitter) => {
|
|
3320
|
-
await Promise.all(iterables.map(async (iterable) => {
|
|
3321
|
-
for await (const item of iterable) {
|
|
3322
|
-
emitter.emitOne(item);
|
|
3323
|
-
}
|
|
3324
|
-
}));
|
|
3325
|
-
});
|
|
3326
|
-
}
|
|
3327
|
-
constructor(executor, onReturn) {
|
|
3328
|
-
this._state = 0;
|
|
3329
|
-
this._results = [];
|
|
3330
|
-
this._error = null;
|
|
3331
|
-
this._onReturn = onReturn;
|
|
3332
|
-
this._onStateChanged = new Emitter$1();
|
|
3333
|
-
queueMicrotask(async () => {
|
|
3334
|
-
const writer = {
|
|
3335
|
-
emitOne: (item) => this.emitOne(item),
|
|
3336
|
-
emitMany: (items) => this.emitMany(items),
|
|
3337
|
-
reject: (error) => this.reject(error)
|
|
3338
|
-
};
|
|
3339
|
-
try {
|
|
3340
|
-
await Promise.resolve(executor(writer));
|
|
3341
|
-
this.resolve();
|
|
3342
|
-
} catch (err) {
|
|
3343
|
-
this.reject(err);
|
|
3344
|
-
} finally {
|
|
3345
|
-
writer.emitOne = void 0;
|
|
3346
|
-
writer.emitMany = void 0;
|
|
3347
|
-
writer.reject = void 0;
|
|
3348
|
-
}
|
|
3349
|
-
});
|
|
3350
|
-
}
|
|
3351
|
-
[Symbol.asyncIterator]() {
|
|
3352
|
-
let i2 = 0;
|
|
3353
|
-
return {
|
|
3354
|
-
next: async () => {
|
|
3355
|
-
do {
|
|
3356
|
-
if (this._state === 2) {
|
|
3357
|
-
throw this._error;
|
|
3358
|
-
}
|
|
3359
|
-
if (i2 < this._results.length) {
|
|
3360
|
-
return { done: false, value: this._results[i2++] };
|
|
3361
|
-
}
|
|
3362
|
-
if (this._state === 1) {
|
|
3363
|
-
return { done: true, value: void 0 };
|
|
3364
|
-
}
|
|
3365
|
-
await Event.toPromise(this._onStateChanged.event);
|
|
3366
|
-
} while (true);
|
|
3367
|
-
},
|
|
3368
|
-
return: async () => {
|
|
3369
|
-
var _a3;
|
|
3370
|
-
(_a3 = this._onReturn) == null ? void 0 : _a3.call(this);
|
|
3371
|
-
return { done: true, value: void 0 };
|
|
3372
|
-
}
|
|
3373
|
-
};
|
|
3374
|
-
}
|
|
3375
|
-
static map(iterable, mapFn) {
|
|
3376
|
-
return new _AsyncIterableObject(async (emitter) => {
|
|
3377
|
-
for await (const item of iterable) {
|
|
3378
|
-
emitter.emitOne(mapFn(item));
|
|
3379
|
-
}
|
|
3380
|
-
});
|
|
3381
|
-
}
|
|
3382
|
-
map(mapFn) {
|
|
3383
|
-
return _AsyncIterableObject.map(this, mapFn);
|
|
3384
|
-
}
|
|
3385
|
-
static filter(iterable, filterFn) {
|
|
3386
|
-
return new _AsyncIterableObject(async (emitter) => {
|
|
3387
|
-
for await (const item of iterable) {
|
|
3388
|
-
if (filterFn(item)) {
|
|
3389
|
-
emitter.emitOne(item);
|
|
3390
|
-
}
|
|
3391
|
-
}
|
|
3392
|
-
});
|
|
3393
|
-
}
|
|
3394
|
-
filter(filterFn) {
|
|
3395
|
-
return _AsyncIterableObject.filter(this, filterFn);
|
|
3396
|
-
}
|
|
3397
|
-
static coalesce(iterable) {
|
|
3398
|
-
return _AsyncIterableObject.filter(iterable, (item) => !!item);
|
|
3399
|
-
}
|
|
3400
|
-
coalesce() {
|
|
3401
|
-
return _AsyncIterableObject.coalesce(this);
|
|
3402
|
-
}
|
|
3403
|
-
static async toPromise(iterable) {
|
|
3404
|
-
const result = [];
|
|
3405
|
-
for await (const item of iterable) {
|
|
3406
|
-
result.push(item);
|
|
3407
|
-
}
|
|
3408
|
-
return result;
|
|
3409
|
-
}
|
|
3410
|
-
toPromise() {
|
|
3411
|
-
return _AsyncIterableObject.toPromise(this);
|
|
3412
|
-
}
|
|
3413
|
-
emitOne(value) {
|
|
3414
|
-
if (this._state !== 0) {
|
|
3415
|
-
return;
|
|
3416
|
-
}
|
|
3417
|
-
this._results.push(value);
|
|
3418
|
-
this._onStateChanged.fire();
|
|
3419
|
-
}
|
|
3420
|
-
emitMany(values) {
|
|
3421
|
-
if (this._state !== 0) {
|
|
3422
|
-
return;
|
|
3423
|
-
}
|
|
3424
|
-
this._results = this._results.concat(values);
|
|
3425
|
-
this._onStateChanged.fire();
|
|
3426
|
-
}
|
|
3427
|
-
resolve() {
|
|
3428
|
-
if (this._state !== 0) {
|
|
3429
|
-
return;
|
|
3430
|
-
}
|
|
3431
|
-
this._state = 1;
|
|
3432
|
-
this._onStateChanged.fire();
|
|
3433
|
-
}
|
|
3434
|
-
reject(error) {
|
|
3435
|
-
if (this._state !== 0) {
|
|
3436
|
-
return;
|
|
3437
|
-
}
|
|
3438
|
-
this._state = 2;
|
|
3439
|
-
this._error = error;
|
|
3440
|
-
this._onStateChanged.fire();
|
|
3441
|
-
}
|
|
3442
|
-
};
|
|
3443
|
-
let AsyncIterableObject = _AsyncIterableObject;
|
|
3444
|
-
(() => {
|
|
3445
|
-
_AsyncIterableObject.EMPTY = _AsyncIterableObject.fromArray([]);
|
|
3446
|
-
})();
|
|
3447
3308
|
function createCancelableAsyncIterableProducer(callback) {
|
|
3448
3309
|
const source = new CancellationTokenSource$1();
|
|
3449
3310
|
const innerIterable = callback(source.token);
|
|
@@ -3811,9 +3672,6 @@ define("vs/editor.api.001a2486", ["exports"], function(exports) {
|
|
|
3811
3672
|
function convertSimple2RegExpPattern(pattern) {
|
|
3812
3673
|
return pattern.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g, "\\$&").replace(/[\*]/g, ".*");
|
|
3813
3674
|
}
|
|
3814
|
-
function stripWildcards(pattern) {
|
|
3815
|
-
return pattern.replace(/\*/g, "");
|
|
3816
|
-
}
|
|
3817
3675
|
function createRegExp(searchString, isRegex, options = {}) {
|
|
3818
3676
|
if (!searchString) {
|
|
3819
3677
|
throw new Error("Cannot create regex from empty string");
|
|
@@ -11564,17 +11422,17 @@ define("vs/editor.api.001a2486", ["exports"], function(exports) {
|
|
|
11564
11422
|
function hintDidYouMean(...meant) {
|
|
11565
11423
|
switch (meant.length) {
|
|
11566
11424
|
case 1:
|
|
11567
|
-
return localize(
|
|
11425
|
+
return localize(1675, "Did you mean {0}?", meant[0]);
|
|
11568
11426
|
case 2:
|
|
11569
|
-
return localize(
|
|
11427
|
+
return localize(1676, "Did you mean {0} or {1}?", meant[0], meant[1]);
|
|
11570
11428
|
case 3:
|
|
11571
|
-
return localize(
|
|
11429
|
+
return localize(1677, "Did you mean {0}, {1} or {2}?", meant[0], meant[1], meant[2]);
|
|
11572
11430
|
default:
|
|
11573
11431
|
return void 0;
|
|
11574
11432
|
}
|
|
11575
11433
|
}
|
|
11576
|
-
const hintDidYouForgetToOpenOrCloseQuote = localize(
|
|
11577
|
-
const hintDidYouForgetToEscapeSlash = localize(
|
|
11434
|
+
const hintDidYouForgetToOpenOrCloseQuote = localize(1678, "Did you forget to open or close the quote?");
|
|
11435
|
+
const hintDidYouForgetToEscapeSlash = localize(1679, "Did you forget to escape the '/' (slash) character? Put two backslashes before it to escape, e.g., '\\\\/'.");
|
|
11578
11436
|
const _Scanner$1 = class {
|
|
11579
11437
|
constructor() {
|
|
11580
11438
|
this._input = "";
|
|
@@ -27329,7 +27187,7 @@ define("vs/editor.api.001a2486", ["exports"], function(exports) {
|
|
|
27329
27187
|
renderSideBySide: "auto",
|
|
27330
27188
|
allowCodeShifting: "always"
|
|
27331
27189
|
},
|
|
27332
|
-
triggerCommandOnProviderChange:
|
|
27190
|
+
triggerCommandOnProviderChange: true,
|
|
27333
27191
|
experimental: {
|
|
27334
27192
|
suppressInlineSuggestions: "",
|
|
27335
27193
|
showOnSuggestConflict: "never"
|
|
@@ -29482,6 +29340,9 @@ define("vs/editor.api.001a2486", ["exports"], function(exports) {
|
|
|
29482
29340
|
if (container === mainWindow.document.head) {
|
|
29483
29341
|
const globalStylesheetClones = /* @__PURE__ */ new Set();
|
|
29484
29342
|
globalStylesheets.set(style2, globalStylesheetClones);
|
|
29343
|
+
if (disposableStore) {
|
|
29344
|
+
disposableStore.add(toDisposable(() => globalStylesheets.delete(style2)));
|
|
29345
|
+
}
|
|
29485
29346
|
for (const { window: targetWindow, disposables } of getWindows()) {
|
|
29486
29347
|
if (targetWindow === mainWindow) {
|
|
29487
29348
|
continue;
|
|
@@ -30439,13 +30300,13 @@ define("vs/editor.api.001a2486", ["exports"], function(exports) {
|
|
|
30439
30300
|
}
|
|
30440
30301
|
if (needsTransparency) {
|
|
30441
30302
|
propertySchema.pattern = "^#(?:(?<rgba>[0-9a-fA-f]{3}[0-9a-eA-E])|(?:[0-9a-fA-F]{6}(?:(?![fF]{2})(?:[0-9a-fA-F]{2}))))?$";
|
|
30442
|
-
propertySchema.patternErrorMessage = localize(
|
|
30303
|
+
propertySchema.patternErrorMessage = localize(1999, "This color must be transparent or it will obscure content");
|
|
30443
30304
|
}
|
|
30444
30305
|
this.colorSchema.properties[id] = {
|
|
30445
30306
|
description,
|
|
30446
30307
|
oneOf: [
|
|
30447
30308
|
propertySchema,
|
|
30448
|
-
{ type: "string", const: DEFAULT_COLOR_CONFIG_VALUE, description: localize(
|
|
30309
|
+
{ type: "string", const: DEFAULT_COLOR_CONFIG_VALUE, description: localize(2e3, "Use the default color.") }
|
|
30449
30310
|
]
|
|
30450
30311
|
};
|
|
30451
30312
|
this.colorReferenceSchema.enum.push(id);
|
|
@@ -30572,262 +30433,262 @@ define("vs/editor.api.001a2486", ["exports"], function(exports) {
|
|
|
30572
30433
|
delayer$1.schedule();
|
|
30573
30434
|
}
|
|
30574
30435
|
});
|
|
30575
|
-
const foreground = registerColor("foreground", { dark: "#CCCCCC", light: "#616161", hcDark: "#FFFFFF", hcLight: "#292929" }, localize(
|
|
30576
|
-
registerColor("disabledForeground", { dark: "#CCCCCC80", light: "#61616180", hcDark: "#A5A5A5", hcLight: "#7F7F7F" }, localize(
|
|
30577
|
-
registerColor("errorForeground", { dark: "#F48771", light: "#A1260D", hcDark: "#F48771", hcLight: "#B5200D" }, localize(
|
|
30578
|
-
const descriptionForeground = registerColor("descriptionForeground", { light: "#717171", dark: transparent(foreground, 0.7), hcDark: transparent(foreground, 0.7), hcLight: transparent(foreground, 0.7) }, localize(
|
|
30579
|
-
const iconForeground = registerColor("icon.foreground", { dark: "#C5C5C5", light: "#424242", hcDark: "#FFFFFF", hcLight: "#292929" }, localize(
|
|
30580
|
-
const focusBorder = registerColor("focusBorder", { dark: "#007FD4", light: "#0090F1", hcDark: "#F38518", hcLight: "#006BBD" }, localize(
|
|
30581
|
-
const contrastBorder = registerColor("contrastBorder", { light: null, dark: null, hcDark: "#6FC3DF", hcLight: "#0F4A85" }, localize(
|
|
30582
|
-
const activeContrastBorder = registerColor("contrastActiveBorder", { light: null, dark: null, hcDark: focusBorder, hcLight: focusBorder }, localize(
|
|
30583
|
-
registerColor("selection.background", null, localize(
|
|
30584
|
-
const textLinkForeground = registerColor("textLink.foreground", { light: "#006AB1", dark: "#3794FF", hcDark: "#21A6FF", hcLight: "#0F4A85" }, localize(
|
|
30585
|
-
registerColor("textLink.activeForeground", { light: "#006AB1", dark: "#3794FF", hcDark: "#21A6FF", hcLight: "#0F4A85" }, localize(
|
|
30586
|
-
registerColor("textSeparator.foreground", { light: "#0000002e", dark: "#ffffff2e", hcDark: Color.black, hcLight: "#292929" }, localize(
|
|
30587
|
-
registerColor("textPreformat.foreground", { light: "#A31515", dark: "#D7BA7D", hcDark: "#000000", hcLight: "#FFFFFF" }, localize(
|
|
30588
|
-
registerColor("textPreformat.background", { light: "#0000001A", dark: "#FFFFFF1A", hcDark: "#FFFFFF", hcLight: "#09345f" }, localize(
|
|
30589
|
-
registerColor("textBlockQuote.background", { light: "#f2f2f2", dark: "#222222", hcDark: null, hcLight: "#F2F2F2" }, localize(
|
|
30590
|
-
registerColor("textBlockQuote.border", { light: "#007acc80", dark: "#007acc80", hcDark: Color.white, hcLight: "#292929" }, localize(
|
|
30591
|
-
registerColor("textCodeBlock.background", { light: "#dcdcdc66", dark: "#0a0a0a66", hcDark: Color.black, hcLight: "#F2F2F2" }, localize(
|
|
30592
|
-
registerColor("sash.hoverBorder", focusBorder, localize(
|
|
30593
|
-
const badgeBackground = registerColor("badge.background", { dark: "#4D4D4D", light: "#C4C4C4", hcDark: Color.black, hcLight: "#0F4A85" }, localize(
|
|
30594
|
-
const badgeForeground = registerColor("badge.foreground", { dark: Color.white, light: "#333", hcDark: Color.white, hcLight: Color.white }, localize(
|
|
30595
|
-
registerColor("activityWarningBadge.foreground", { dark: Color.black.lighten(0.2), light: Color.white, hcDark: null, hcLight: Color.black.lighten(0.2) }, localize(
|
|
30596
|
-
registerColor("activityWarningBadge.background", { dark: "#CCA700", light: "#BF8803", hcDark: null, hcLight: "#CCA700" }, localize(
|
|
30597
|
-
registerColor("activityErrorBadge.foreground", { dark: Color.black.lighten(0.2), light: Color.white, hcDark: null, hcLight: Color.black.lighten(0.2) }, localize(
|
|
30598
|
-
registerColor("activityErrorBadge.background", { dark: "#F14C4C", light: "#E51400", hcDark: null, hcLight: "#F14C4C" }, localize(
|
|
30599
|
-
const scrollbarShadow = registerColor("scrollbar.shadow", { dark: "#000000", light: "#DDDDDD", hcDark: null, hcLight: null }, localize(
|
|
30600
|
-
const scrollbarSliderBackground = registerColor("scrollbarSlider.background", { dark: Color.fromHex("#797979").transparent(0.4), light: Color.fromHex("#646464").transparent(0.4), hcDark: transparent(contrastBorder, 0.6), hcLight: transparent(contrastBorder, 0.4) }, localize(
|
|
30601
|
-
const scrollbarSliderHoverBackground = registerColor("scrollbarSlider.hoverBackground", { dark: Color.fromHex("#646464").transparent(0.7), light: Color.fromHex("#646464").transparent(0.7), hcDark: transparent(contrastBorder, 0.8), hcLight: transparent(contrastBorder, 0.8) }, localize(
|
|
30602
|
-
const scrollbarSliderActiveBackground = registerColor("scrollbarSlider.activeBackground", { dark: Color.fromHex("#BFBFBF").transparent(0.4), light: Color.fromHex("#000000").transparent(0.6), hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
30603
|
-
const progressBarBackground = registerColor("progressBar.background", { dark: Color.fromHex("#0E70C0"), light: Color.fromHex("#0E70C0"), hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
30604
|
-
registerColor("chart.line", { dark: "#236B8E", light: "#236B8E", hcDark: "#236B8E", hcLight: "#236B8E" }, localize(
|
|
30605
|
-
registerColor("chart.axis", { dark: Color.fromHex("#BFBFBF").transparent(0.4), light: Color.fromHex("#000000").transparent(0.6), hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
30606
|
-
registerColor("chart.guide", { dark: Color.fromHex("#BFBFBF").transparent(0.2), light: Color.fromHex("#000000").transparent(0.2), hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
30607
|
-
const editorBackground = registerColor("editor.background", { light: "#ffffff", dark: "#1E1E1E", hcDark: Color.black, hcLight: Color.white }, localize(
|
|
30608
|
-
const editorForeground = registerColor("editor.foreground", { light: "#333333", dark: "#BBBBBB", hcDark: Color.white, hcLight: foreground }, localize(
|
|
30609
|
-
registerColor("editorStickyScroll.background", editorBackground, localize(
|
|
30610
|
-
registerColor("editorStickyScrollGutter.background", editorBackground, localize(
|
|
30611
|
-
registerColor("editorStickyScrollHover.background", { dark: "#2A2D2E", light: "#F0F0F0", hcDark: null, hcLight: Color.fromHex("#0F4A85").transparent(0.1) }, localize(
|
|
30612
|
-
registerColor("editorStickyScroll.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
30613
|
-
registerColor("editorStickyScroll.shadow", scrollbarShadow, localize(
|
|
30614
|
-
const editorWidgetBackground = registerColor("editorWidget.background", { dark: "#252526", light: "#F3F3F3", hcDark: "#0C141F", hcLight: Color.white }, localize(
|
|
30615
|
-
const editorWidgetForeground = registerColor("editorWidget.foreground", foreground, localize(
|
|
30616
|
-
const editorWidgetBorder = registerColor("editorWidget.border", { dark: "#454545", light: "#C8C8C8", hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
30617
|
-
registerColor("editorWidget.resizeBorder", null, localize(
|
|
30618
|
-
registerColor("editorError.background", null, localize(
|
|
30619
|
-
const editorErrorForeground = registerColor("editorError.foreground", { dark: "#F14C4C", light: "#E51400", hcDark: "#F48771", hcLight: "#B5200D" }, localize(
|
|
30620
|
-
const editorErrorBorder = registerColor("editorError.border", { dark: null, light: null, hcDark: Color.fromHex("#E47777").transparent(0.8), hcLight: "#B5200D" }, localize(
|
|
30621
|
-
const editorWarningBackground = registerColor("editorWarning.background", null, localize(
|
|
30622
|
-
const editorWarningForeground = registerColor("editorWarning.foreground", { dark: "#CCA700", light: "#BF8803", hcDark: "#FFD370", hcLight: "#895503" }, localize(
|
|
30623
|
-
const editorWarningBorder = registerColor("editorWarning.border", { dark: null, light: null, hcDark: Color.fromHex("#FFCC00").transparent(0.8), hcLight: Color.fromHex("#FFCC00").transparent(0.8) }, localize(
|
|
30624
|
-
registerColor("editorInfo.background", null, localize(
|
|
30625
|
-
const editorInfoForeground = registerColor("editorInfo.foreground", { dark: "#3794FF", light: "#1a85ff", hcDark: "#3794FF", hcLight: "#1a85ff" }, localize(
|
|
30626
|
-
const editorInfoBorder = registerColor("editorInfo.border", { dark: null, light: null, hcDark: Color.fromHex("#3794FF").transparent(0.8), hcLight: "#292929" }, localize(
|
|
30627
|
-
const editorHintForeground = registerColor("editorHint.foreground", { dark: Color.fromHex("#eeeeee").transparent(0.7), light: "#6c6c6c", hcDark: null, hcLight: null }, localize(
|
|
30628
|
-
registerColor("editorHint.border", { dark: null, light: null, hcDark: Color.fromHex("#eeeeee").transparent(0.8), hcLight: "#292929" }, localize(
|
|
30629
|
-
const editorActiveLinkForeground = registerColor("editorLink.activeForeground", { dark: "#4E94CE", light: Color.blue, hcDark: Color.cyan, hcLight: "#292929" }, localize(
|
|
30630
|
-
const editorSelectionBackground = registerColor("editor.selectionBackground", { light: "#ADD6FF", dark: "#264F78", hcDark: "#f3f518", hcLight: "#0F4A85" }, localize(
|
|
30631
|
-
const editorSelectionForeground = registerColor("editor.selectionForeground", { light: null, dark: null, hcDark: "#000000", hcLight: Color.white }, localize(
|
|
30632
|
-
const editorInactiveSelection = registerColor("editor.inactiveSelectionBackground", { light: transparent(editorSelectionBackground, 0.5), dark: transparent(editorSelectionBackground, 0.5), hcDark: transparent(editorSelectionBackground, 0.7), hcLight: transparent(editorSelectionBackground, 0.5) }, localize(
|
|
30633
|
-
const editorSelectionHighlight = registerColor("editor.selectionHighlightBackground", { light: lessProminent(editorSelectionBackground, editorBackground, 0.3, 0.6), dark: lessProminent(editorSelectionBackground, editorBackground, 0.3, 0.6), hcDark: null, hcLight: null }, localize(
|
|
30634
|
-
registerColor("editor.selectionHighlightBorder", { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, localize(
|
|
30635
|
-
registerColor("editor.compositionBorder", { light: "#000000", dark: "#ffffff", hcLight: "#000000", hcDark: "#ffffff" }, localize(
|
|
30636
|
-
registerColor("editor.findMatchBackground", { light: "#A8AC94", dark: "#515C6A", hcDark: null, hcLight: null }, localize(
|
|
30637
|
-
const editorFindMatchForeground = registerColor("editor.findMatchForeground", null, localize(
|
|
30638
|
-
const editorFindMatchHighlight = registerColor("editor.findMatchHighlightBackground", { light: "#EA5C0055", dark: "#EA5C0055", hcDark: null, hcLight: null }, localize(
|
|
30639
|
-
const editorFindMatchHighlightForeground = registerColor("editor.findMatchHighlightForeground", null, localize(
|
|
30640
|
-
registerColor("editor.findRangeHighlightBackground", { dark: "#3a3d4166", light: "#b4b4b44d", hcDark: null, hcLight: null }, localize(
|
|
30641
|
-
registerColor("editor.findMatchBorder", { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, localize(
|
|
30642
|
-
const editorFindMatchHighlightBorder = registerColor("editor.findMatchHighlightBorder", { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, localize(
|
|
30643
|
-
const editorFindRangeHighlightBorder = registerColor("editor.findRangeHighlightBorder", { dark: null, light: null, hcDark: transparent(activeContrastBorder, 0.4), hcLight: transparent(activeContrastBorder, 0.4) }, localize(
|
|
30644
|
-
registerColor("editor.hoverHighlightBackground", { light: "#ADD6FF26", dark: "#264f7840", hcDark: "#ADD6FF26", hcLight: null }, localize(
|
|
30645
|
-
const editorHoverBackground = registerColor("editorHoverWidget.background", editorWidgetBackground, localize(
|
|
30646
|
-
const editorHoverForeground = registerColor("editorHoverWidget.foreground", editorWidgetForeground, localize(
|
|
30647
|
-
const editorHoverBorder = registerColor("editorHoverWidget.border", editorWidgetBorder, localize(
|
|
30648
|
-
registerColor("editorHoverWidget.statusBarBackground", { dark: lighten(editorHoverBackground, 0.2), light: darken(editorHoverBackground, 0.05), hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, localize(
|
|
30649
|
-
const editorInlayHintForeground = registerColor("editorInlayHint.foreground", { dark: "#969696", light: "#969696", hcDark: Color.white, hcLight: Color.black }, localize(
|
|
30650
|
-
const editorInlayHintBackground = registerColor("editorInlayHint.background", { dark: transparent(badgeBackground, 0.1), light: transparent(badgeBackground, 0.1), hcDark: transparent(Color.white, 0.1), hcLight: transparent(badgeBackground, 0.1) }, localize(
|
|
30651
|
-
const editorInlayHintTypeForeground = registerColor("editorInlayHint.typeForeground", editorInlayHintForeground, localize(
|
|
30652
|
-
const editorInlayHintTypeBackground = registerColor("editorInlayHint.typeBackground", editorInlayHintBackground, localize(
|
|
30653
|
-
const editorInlayHintParameterForeground = registerColor("editorInlayHint.parameterForeground", editorInlayHintForeground, localize(
|
|
30654
|
-
const editorInlayHintParameterBackground = registerColor("editorInlayHint.parameterBackground", editorInlayHintBackground, localize(
|
|
30655
|
-
const editorLightBulbForeground = registerColor("editorLightBulb.foreground", { dark: "#FFCC00", light: "#DDB100", hcDark: "#FFCC00", hcLight: "#007ACC" }, localize(
|
|
30656
|
-
registerColor("editorLightBulbAutoFix.foreground", { dark: "#75BEFF", light: "#007ACC", hcDark: "#75BEFF", hcLight: "#007ACC" }, localize(
|
|
30657
|
-
registerColor("editorLightBulbAi.foreground", editorLightBulbForeground, localize(
|
|
30658
|
-
registerColor("editor.snippetTabstopHighlightBackground", { dark: new Color(new RGBA(124, 124, 124, 0.3)), light: new Color(new RGBA(10, 50, 100, 0.2)), hcDark: new Color(new RGBA(124, 124, 124, 0.3)), hcLight: new Color(new RGBA(10, 50, 100, 0.2)) }, localize(
|
|
30659
|
-
registerColor("editor.snippetTabstopHighlightBorder", null, localize(
|
|
30660
|
-
registerColor("editor.snippetFinalTabstopHighlightBackground", null, localize(
|
|
30661
|
-
registerColor("editor.snippetFinalTabstopHighlightBorder", { dark: "#525252", light: new Color(new RGBA(10, 50, 100, 0.5)), hcDark: "#525252", hcLight: "#292929" }, localize(
|
|
30436
|
+
const foreground = registerColor("foreground", { dark: "#CCCCCC", light: "#616161", hcDark: "#FFFFFF", hcLight: "#292929" }, localize(1751, "Overall foreground color. This color is only used if not overridden by a component."));
|
|
30437
|
+
registerColor("disabledForeground", { dark: "#CCCCCC80", light: "#61616180", hcDark: "#A5A5A5", hcLight: "#7F7F7F" }, localize(1752, "Overall foreground for disabled elements. This color is only used if not overridden by a component."));
|
|
30438
|
+
registerColor("errorForeground", { dark: "#F48771", light: "#A1260D", hcDark: "#F48771", hcLight: "#B5200D" }, localize(1753, "Overall foreground color for error messages. This color is only used if not overridden by a component."));
|
|
30439
|
+
const descriptionForeground = registerColor("descriptionForeground", { light: "#717171", dark: transparent(foreground, 0.7), hcDark: transparent(foreground, 0.7), hcLight: transparent(foreground, 0.7) }, localize(1754, "Foreground color for description text providing additional information, for example for a label."));
|
|
30440
|
+
const iconForeground = registerColor("icon.foreground", { dark: "#C5C5C5", light: "#424242", hcDark: "#FFFFFF", hcLight: "#292929" }, localize(1755, "The default color for icons in the workbench."));
|
|
30441
|
+
const focusBorder = registerColor("focusBorder", { dark: "#007FD4", light: "#0090F1", hcDark: "#F38518", hcLight: "#006BBD" }, localize(1756, "Overall border color for focused elements. This color is only used if not overridden by a component."));
|
|
30442
|
+
const contrastBorder = registerColor("contrastBorder", { light: null, dark: null, hcDark: "#6FC3DF", hcLight: "#0F4A85" }, localize(1757, "An extra border around elements to separate them from others for greater contrast."));
|
|
30443
|
+
const activeContrastBorder = registerColor("contrastActiveBorder", { light: null, dark: null, hcDark: focusBorder, hcLight: focusBorder }, localize(1758, "An extra border around active elements to separate them from others for greater contrast."));
|
|
30444
|
+
registerColor("selection.background", null, localize(1759, "The background color of text selections in the workbench (e.g. for input fields or text areas). Note that this does not apply to selections within the editor."));
|
|
30445
|
+
const textLinkForeground = registerColor("textLink.foreground", { light: "#006AB1", dark: "#3794FF", hcDark: "#21A6FF", hcLight: "#0F4A85" }, localize(1760, "Foreground color for links in text."));
|
|
30446
|
+
registerColor("textLink.activeForeground", { light: "#006AB1", dark: "#3794FF", hcDark: "#21A6FF", hcLight: "#0F4A85" }, localize(1761, "Foreground color for links in text when clicked on and on mouse hover."));
|
|
30447
|
+
registerColor("textSeparator.foreground", { light: "#0000002e", dark: "#ffffff2e", hcDark: Color.black, hcLight: "#292929" }, localize(1762, "Color for text separators."));
|
|
30448
|
+
registerColor("textPreformat.foreground", { light: "#A31515", dark: "#D7BA7D", hcDark: "#000000", hcLight: "#FFFFFF" }, localize(1763, "Foreground color for preformatted text segments."));
|
|
30449
|
+
registerColor("textPreformat.background", { light: "#0000001A", dark: "#FFFFFF1A", hcDark: "#FFFFFF", hcLight: "#09345f" }, localize(1764, "Background color for preformatted text segments."));
|
|
30450
|
+
registerColor("textBlockQuote.background", { light: "#f2f2f2", dark: "#222222", hcDark: null, hcLight: "#F2F2F2" }, localize(1765, "Background color for block quotes in text."));
|
|
30451
|
+
registerColor("textBlockQuote.border", { light: "#007acc80", dark: "#007acc80", hcDark: Color.white, hcLight: "#292929" }, localize(1766, "Border color for block quotes in text."));
|
|
30452
|
+
registerColor("textCodeBlock.background", { light: "#dcdcdc66", dark: "#0a0a0a66", hcDark: Color.black, hcLight: "#F2F2F2" }, localize(1767, "Background color for code blocks in text."));
|
|
30453
|
+
registerColor("sash.hoverBorder", focusBorder, localize(1972, "Border color of active sashes."));
|
|
30454
|
+
const badgeBackground = registerColor("badge.background", { dark: "#4D4D4D", light: "#C4C4C4", hcDark: Color.black, hcLight: "#0F4A85" }, localize(1973, "Badge background color. Badges are small information labels, e.g. for search results count."));
|
|
30455
|
+
const badgeForeground = registerColor("badge.foreground", { dark: Color.white, light: "#333", hcDark: Color.white, hcLight: Color.white }, localize(1974, "Badge foreground color. Badges are small information labels, e.g. for search results count."));
|
|
30456
|
+
registerColor("activityWarningBadge.foreground", { dark: Color.black.lighten(0.2), light: Color.white, hcDark: null, hcLight: Color.black.lighten(0.2) }, localize(1975, "Foreground color of the warning activity badge"));
|
|
30457
|
+
registerColor("activityWarningBadge.background", { dark: "#CCA700", light: "#BF8803", hcDark: null, hcLight: "#CCA700" }, localize(1976, "Background color of the warning activity badge"));
|
|
30458
|
+
registerColor("activityErrorBadge.foreground", { dark: Color.black.lighten(0.2), light: Color.white, hcDark: null, hcLight: Color.black.lighten(0.2) }, localize(1977, "Foreground color of the error activity badge"));
|
|
30459
|
+
registerColor("activityErrorBadge.background", { dark: "#F14C4C", light: "#E51400", hcDark: null, hcLight: "#F14C4C" }, localize(1978, "Background color of the error activity badge"));
|
|
30460
|
+
const scrollbarShadow = registerColor("scrollbar.shadow", { dark: "#000000", light: "#DDDDDD", hcDark: null, hcLight: null }, localize(1979, "Scrollbar shadow to indicate that the view is scrolled."));
|
|
30461
|
+
const scrollbarSliderBackground = registerColor("scrollbarSlider.background", { dark: Color.fromHex("#797979").transparent(0.4), light: Color.fromHex("#646464").transparent(0.4), hcDark: transparent(contrastBorder, 0.6), hcLight: transparent(contrastBorder, 0.4) }, localize(1980, "Scrollbar slider background color."));
|
|
30462
|
+
const scrollbarSliderHoverBackground = registerColor("scrollbarSlider.hoverBackground", { dark: Color.fromHex("#646464").transparent(0.7), light: Color.fromHex("#646464").transparent(0.7), hcDark: transparent(contrastBorder, 0.8), hcLight: transparent(contrastBorder, 0.8) }, localize(1981, "Scrollbar slider background color when hovering."));
|
|
30463
|
+
const scrollbarSliderActiveBackground = registerColor("scrollbarSlider.activeBackground", { dark: Color.fromHex("#BFBFBF").transparent(0.4), light: Color.fromHex("#000000").transparent(0.6), hcDark: contrastBorder, hcLight: contrastBorder }, localize(1982, "Scrollbar slider background color when clicked on."));
|
|
30464
|
+
const progressBarBackground = registerColor("progressBar.background", { dark: Color.fromHex("#0E70C0"), light: Color.fromHex("#0E70C0"), hcDark: contrastBorder, hcLight: contrastBorder }, localize(1983, "Background color of the progress bar that can show for long running operations."));
|
|
30465
|
+
registerColor("chart.line", { dark: "#236B8E", light: "#236B8E", hcDark: "#236B8E", hcLight: "#236B8E" }, localize(1984, "Line color for the chart."));
|
|
30466
|
+
registerColor("chart.axis", { dark: Color.fromHex("#BFBFBF").transparent(0.4), light: Color.fromHex("#000000").transparent(0.6), hcDark: contrastBorder, hcLight: contrastBorder }, localize(1985, "Axis color for the chart."));
|
|
30467
|
+
registerColor("chart.guide", { dark: Color.fromHex("#BFBFBF").transparent(0.2), light: Color.fromHex("#000000").transparent(0.2), hcDark: contrastBorder, hcLight: contrastBorder }, localize(1986, "Guide line for the chart."));
|
|
30468
|
+
const editorBackground = registerColor("editor.background", { light: "#ffffff", dark: "#1E1E1E", hcDark: Color.black, hcLight: Color.white }, localize(1776, "Editor background color."));
|
|
30469
|
+
const editorForeground = registerColor("editor.foreground", { light: "#333333", dark: "#BBBBBB", hcDark: Color.white, hcLight: foreground }, localize(1777, "Editor default foreground color."));
|
|
30470
|
+
registerColor("editorStickyScroll.background", editorBackground, localize(1778, "Background color of sticky scroll in the editor"));
|
|
30471
|
+
registerColor("editorStickyScrollGutter.background", editorBackground, localize(1779, "Background color of the gutter part of sticky scroll in the editor"));
|
|
30472
|
+
registerColor("editorStickyScrollHover.background", { dark: "#2A2D2E", light: "#F0F0F0", hcDark: null, hcLight: Color.fromHex("#0F4A85").transparent(0.1) }, localize(1780, "Background color of sticky scroll on hover in the editor"));
|
|
30473
|
+
registerColor("editorStickyScroll.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, localize(1781, "Border color of sticky scroll in the editor"));
|
|
30474
|
+
registerColor("editorStickyScroll.shadow", scrollbarShadow, localize(1782, " Shadow color of sticky scroll in the editor"));
|
|
30475
|
+
const editorWidgetBackground = registerColor("editorWidget.background", { dark: "#252526", light: "#F3F3F3", hcDark: "#0C141F", hcLight: Color.white }, localize(1783, "Background color of editor widgets, such as find/replace."));
|
|
30476
|
+
const editorWidgetForeground = registerColor("editorWidget.foreground", foreground, localize(1784, "Foreground color of editor widgets, such as find/replace."));
|
|
30477
|
+
const editorWidgetBorder = registerColor("editorWidget.border", { dark: "#454545", light: "#C8C8C8", hcDark: contrastBorder, hcLight: contrastBorder }, localize(1785, "Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget."));
|
|
30478
|
+
registerColor("editorWidget.resizeBorder", null, localize(1786, "Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget."));
|
|
30479
|
+
registerColor("editorError.background", null, localize(1787, "Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
30480
|
+
const editorErrorForeground = registerColor("editorError.foreground", { dark: "#F14C4C", light: "#E51400", hcDark: "#F48771", hcLight: "#B5200D" }, localize(1788, "Foreground color of error squigglies in the editor."));
|
|
30481
|
+
const editorErrorBorder = registerColor("editorError.border", { dark: null, light: null, hcDark: Color.fromHex("#E47777").transparent(0.8), hcLight: "#B5200D" }, localize(1789, "If set, color of double underlines for errors in the editor."));
|
|
30482
|
+
const editorWarningBackground = registerColor("editorWarning.background", null, localize(1790, "Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
30483
|
+
const editorWarningForeground = registerColor("editorWarning.foreground", { dark: "#CCA700", light: "#BF8803", hcDark: "#FFD370", hcLight: "#895503" }, localize(1791, "Foreground color of warning squigglies in the editor."));
|
|
30484
|
+
const editorWarningBorder = registerColor("editorWarning.border", { dark: null, light: null, hcDark: Color.fromHex("#FFCC00").transparent(0.8), hcLight: Color.fromHex("#FFCC00").transparent(0.8) }, localize(1792, "If set, color of double underlines for warnings in the editor."));
|
|
30485
|
+
registerColor("editorInfo.background", null, localize(1793, "Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
30486
|
+
const editorInfoForeground = registerColor("editorInfo.foreground", { dark: "#3794FF", light: "#1a85ff", hcDark: "#3794FF", hcLight: "#1a85ff" }, localize(1794, "Foreground color of info squigglies in the editor."));
|
|
30487
|
+
const editorInfoBorder = registerColor("editorInfo.border", { dark: null, light: null, hcDark: Color.fromHex("#3794FF").transparent(0.8), hcLight: "#292929" }, localize(1795, "If set, color of double underlines for infos in the editor."));
|
|
30488
|
+
const editorHintForeground = registerColor("editorHint.foreground", { dark: Color.fromHex("#eeeeee").transparent(0.7), light: "#6c6c6c", hcDark: null, hcLight: null }, localize(1796, "Foreground color of hint squigglies in the editor."));
|
|
30489
|
+
registerColor("editorHint.border", { dark: null, light: null, hcDark: Color.fromHex("#eeeeee").transparent(0.8), hcLight: "#292929" }, localize(1797, "If set, color of double underlines for hints in the editor."));
|
|
30490
|
+
const editorActiveLinkForeground = registerColor("editorLink.activeForeground", { dark: "#4E94CE", light: Color.blue, hcDark: Color.cyan, hcLight: "#292929" }, localize(1798, "Color of active links."));
|
|
30491
|
+
const editorSelectionBackground = registerColor("editor.selectionBackground", { light: "#ADD6FF", dark: "#264F78", hcDark: "#f3f518", hcLight: "#0F4A85" }, localize(1799, "Color of the editor selection."));
|
|
30492
|
+
const editorSelectionForeground = registerColor("editor.selectionForeground", { light: null, dark: null, hcDark: "#000000", hcLight: Color.white }, localize(1800, "Color of the selected text for high contrast."));
|
|
30493
|
+
const editorInactiveSelection = registerColor("editor.inactiveSelectionBackground", { light: transparent(editorSelectionBackground, 0.5), dark: transparent(editorSelectionBackground, 0.5), hcDark: transparent(editorSelectionBackground, 0.7), hcLight: transparent(editorSelectionBackground, 0.5) }, localize(1801, "Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
30494
|
+
const editorSelectionHighlight = registerColor("editor.selectionHighlightBackground", { light: lessProminent(editorSelectionBackground, editorBackground, 0.3, 0.6), dark: lessProminent(editorSelectionBackground, editorBackground, 0.3, 0.6), hcDark: null, hcLight: null }, localize(1802, "Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
30495
|
+
registerColor("editor.selectionHighlightBorder", { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, localize(1803, "Border color for regions with the same content as the selection."));
|
|
30496
|
+
registerColor("editor.compositionBorder", { light: "#000000", dark: "#ffffff", hcLight: "#000000", hcDark: "#ffffff" }, localize(1804, "The border color for an IME composition."));
|
|
30497
|
+
registerColor("editor.findMatchBackground", { light: "#A8AC94", dark: "#515C6A", hcDark: null, hcLight: null }, localize(1805, "Color of the current search match."));
|
|
30498
|
+
const editorFindMatchForeground = registerColor("editor.findMatchForeground", null, localize(1806, "Text color of the current search match."));
|
|
30499
|
+
const editorFindMatchHighlight = registerColor("editor.findMatchHighlightBackground", { light: "#EA5C0055", dark: "#EA5C0055", hcDark: null, hcLight: null }, localize(1807, "Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
30500
|
+
const editorFindMatchHighlightForeground = registerColor("editor.findMatchHighlightForeground", null, localize(1808, "Foreground color of the other search matches."), true);
|
|
30501
|
+
registerColor("editor.findRangeHighlightBackground", { dark: "#3a3d4166", light: "#b4b4b44d", hcDark: null, hcLight: null }, localize(1809, "Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
30502
|
+
registerColor("editor.findMatchBorder", { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, localize(1810, "Border color of the current search match."));
|
|
30503
|
+
const editorFindMatchHighlightBorder = registerColor("editor.findMatchHighlightBorder", { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, localize(1811, "Border color of the other search matches."));
|
|
30504
|
+
const editorFindRangeHighlightBorder = registerColor("editor.findRangeHighlightBorder", { dark: null, light: null, hcDark: transparent(activeContrastBorder, 0.4), hcLight: transparent(activeContrastBorder, 0.4) }, localize(1812, "Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
30505
|
+
registerColor("editor.hoverHighlightBackground", { light: "#ADD6FF26", dark: "#264f7840", hcDark: "#ADD6FF26", hcLight: null }, localize(1813, "Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
30506
|
+
const editorHoverBackground = registerColor("editorHoverWidget.background", editorWidgetBackground, localize(1814, "Background color of the editor hover."));
|
|
30507
|
+
const editorHoverForeground = registerColor("editorHoverWidget.foreground", editorWidgetForeground, localize(1815, "Foreground color of the editor hover."));
|
|
30508
|
+
const editorHoverBorder = registerColor("editorHoverWidget.border", editorWidgetBorder, localize(1816, "Border color of the editor hover."));
|
|
30509
|
+
registerColor("editorHoverWidget.statusBarBackground", { dark: lighten(editorHoverBackground, 0.2), light: darken(editorHoverBackground, 0.05), hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, localize(1817, "Background color of the editor hover status bar."));
|
|
30510
|
+
const editorInlayHintForeground = registerColor("editorInlayHint.foreground", { dark: "#969696", light: "#969696", hcDark: Color.white, hcLight: Color.black }, localize(1818, "Foreground color of inline hints"));
|
|
30511
|
+
const editorInlayHintBackground = registerColor("editorInlayHint.background", { dark: transparent(badgeBackground, 0.1), light: transparent(badgeBackground, 0.1), hcDark: transparent(Color.white, 0.1), hcLight: transparent(badgeBackground, 0.1) }, localize(1819, "Background color of inline hints"));
|
|
30512
|
+
const editorInlayHintTypeForeground = registerColor("editorInlayHint.typeForeground", editorInlayHintForeground, localize(1820, "Foreground color of inline hints for types"));
|
|
30513
|
+
const editorInlayHintTypeBackground = registerColor("editorInlayHint.typeBackground", editorInlayHintBackground, localize(1821, "Background color of inline hints for types"));
|
|
30514
|
+
const editorInlayHintParameterForeground = registerColor("editorInlayHint.parameterForeground", editorInlayHintForeground, localize(1822, "Foreground color of inline hints for parameters"));
|
|
30515
|
+
const editorInlayHintParameterBackground = registerColor("editorInlayHint.parameterBackground", editorInlayHintBackground, localize(1823, "Background color of inline hints for parameters"));
|
|
30516
|
+
const editorLightBulbForeground = registerColor("editorLightBulb.foreground", { dark: "#FFCC00", light: "#DDB100", hcDark: "#FFCC00", hcLight: "#007ACC" }, localize(1824, "The color used for the lightbulb actions icon."));
|
|
30517
|
+
registerColor("editorLightBulbAutoFix.foreground", { dark: "#75BEFF", light: "#007ACC", hcDark: "#75BEFF", hcLight: "#007ACC" }, localize(1825, "The color used for the lightbulb auto fix actions icon."));
|
|
30518
|
+
registerColor("editorLightBulbAi.foreground", editorLightBulbForeground, localize(1826, "The color used for the lightbulb AI icon."));
|
|
30519
|
+
registerColor("editor.snippetTabstopHighlightBackground", { dark: new Color(new RGBA(124, 124, 124, 0.3)), light: new Color(new RGBA(10, 50, 100, 0.2)), hcDark: new Color(new RGBA(124, 124, 124, 0.3)), hcLight: new Color(new RGBA(10, 50, 100, 0.2)) }, localize(1827, "Highlight background color of a snippet tabstop."));
|
|
30520
|
+
registerColor("editor.snippetTabstopHighlightBorder", null, localize(1828, "Highlight border color of a snippet tabstop."));
|
|
30521
|
+
registerColor("editor.snippetFinalTabstopHighlightBackground", null, localize(1829, "Highlight background color of the final tabstop of a snippet."));
|
|
30522
|
+
registerColor("editor.snippetFinalTabstopHighlightBorder", { dark: "#525252", light: new Color(new RGBA(10, 50, 100, 0.5)), hcDark: "#525252", hcLight: "#292929" }, localize(1830, "Highlight border color of the final tabstop of a snippet."));
|
|
30662
30523
|
const defaultInsertColor = new Color(new RGBA(155, 185, 85, 0.2));
|
|
30663
30524
|
const defaultRemoveColor = new Color(new RGBA(255, 0, 0, 0.2));
|
|
30664
|
-
const diffInserted = registerColor("diffEditor.insertedTextBackground", { dark: "#9ccc2c33", light: "#9ccc2c40", hcDark: null, hcLight: null }, localize(
|
|
30665
|
-
const diffRemoved = registerColor("diffEditor.removedTextBackground", { dark: "#ff000033", light: "#ff000033", hcDark: null, hcLight: null }, localize(
|
|
30666
|
-
const diffInsertedLine = registerColor("diffEditor.insertedLineBackground", { dark: defaultInsertColor, light: defaultInsertColor, hcDark: null, hcLight: null }, localize(
|
|
30667
|
-
registerColor("diffEditor.removedLineBackground", { dark: defaultRemoveColor, light: defaultRemoveColor, hcDark: null, hcLight: null }, localize(
|
|
30668
|
-
registerColor("diffEditorGutter.insertedLineBackground", null, localize(
|
|
30669
|
-
registerColor("diffEditorGutter.removedLineBackground", null, localize(
|
|
30670
|
-
const diffOverviewRulerInserted = registerColor("diffEditorOverview.insertedForeground", null, localize(
|
|
30671
|
-
const diffOverviewRulerRemoved = registerColor("diffEditorOverview.removedForeground", null, localize(
|
|
30672
|
-
registerColor("diffEditor.insertedTextBorder", { dark: null, light: null, hcDark: "#33ff2eff", hcLight: "#374E06" }, localize(
|
|
30673
|
-
registerColor("diffEditor.removedTextBorder", { dark: null, light: null, hcDark: "#FF008F", hcLight: "#AD0707" }, localize(
|
|
30674
|
-
registerColor("diffEditor.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
30675
|
-
registerColor("diffEditor.diagonalFill", { dark: "#cccccc33", light: "#22222233", hcDark: null, hcLight: null }, localize(
|
|
30676
|
-
registerColor("diffEditor.unchangedRegionBackground", "sideBar.background", localize(
|
|
30677
|
-
registerColor("diffEditor.unchangedRegionForeground", "foreground", localize(
|
|
30678
|
-
registerColor("diffEditor.unchangedCodeBackground", { dark: "#74747429", light: "#b8b8b829", hcDark: null, hcLight: null }, localize(
|
|
30679
|
-
const widgetShadow = registerColor("widget.shadow", { dark: transparent(Color.black, 0.36), light: transparent(Color.black, 0.16), hcDark: null, hcLight: null }, localize(
|
|
30680
|
-
const widgetBorder = registerColor("widget.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
30681
|
-
const toolbarHoverBackground = registerColor("toolbar.hoverBackground", { dark: "#5a5d5e50", light: "#b8b8b850", hcDark: null, hcLight: null }, localize(
|
|
30682
|
-
registerColor("toolbar.hoverOutline", { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, localize(
|
|
30683
|
-
registerColor("toolbar.activeBackground", { dark: lighten(toolbarHoverBackground, 0.1), light: darken(toolbarHoverBackground, 0.1), hcDark: null, hcLight: null }, localize(
|
|
30684
|
-
const breadcrumbsForeground = registerColor("breadcrumb.foreground", transparent(foreground, 0.8), localize(
|
|
30685
|
-
const breadcrumbsBackground = registerColor("breadcrumb.background", editorBackground, localize(
|
|
30686
|
-
const breadcrumbsFocusForeground = registerColor("breadcrumb.focusForeground", { light: darken(foreground, 0.2), dark: lighten(foreground, 0.1), hcDark: lighten(foreground, 0.1), hcLight: lighten(foreground, 0.1) }, localize(
|
|
30687
|
-
const breadcrumbsActiveSelectionForeground = registerColor("breadcrumb.activeSelectionForeground", { light: darken(foreground, 0.2), dark: lighten(foreground, 0.1), hcDark: lighten(foreground, 0.1), hcLight: lighten(foreground, 0.1) }, localize(
|
|
30688
|
-
registerColor("breadcrumbPicker.background", editorWidgetBackground, localize(
|
|
30525
|
+
const diffInserted = registerColor("diffEditor.insertedTextBackground", { dark: "#9ccc2c33", light: "#9ccc2c40", hcDark: null, hcLight: null }, localize(1831, "Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
30526
|
+
const diffRemoved = registerColor("diffEditor.removedTextBackground", { dark: "#ff000033", light: "#ff000033", hcDark: null, hcLight: null }, localize(1832, "Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
30527
|
+
const diffInsertedLine = registerColor("diffEditor.insertedLineBackground", { dark: defaultInsertColor, light: defaultInsertColor, hcDark: null, hcLight: null }, localize(1833, "Background color for lines that got inserted. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
30528
|
+
registerColor("diffEditor.removedLineBackground", { dark: defaultRemoveColor, light: defaultRemoveColor, hcDark: null, hcLight: null }, localize(1834, "Background color for lines that got removed. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
30529
|
+
registerColor("diffEditorGutter.insertedLineBackground", null, localize(1835, "Background color for the margin where lines got inserted."));
|
|
30530
|
+
registerColor("diffEditorGutter.removedLineBackground", null, localize(1836, "Background color for the margin where lines got removed."));
|
|
30531
|
+
const diffOverviewRulerInserted = registerColor("diffEditorOverview.insertedForeground", null, localize(1837, "Diff overview ruler foreground for inserted content."));
|
|
30532
|
+
const diffOverviewRulerRemoved = registerColor("diffEditorOverview.removedForeground", null, localize(1838, "Diff overview ruler foreground for removed content."));
|
|
30533
|
+
registerColor("diffEditor.insertedTextBorder", { dark: null, light: null, hcDark: "#33ff2eff", hcLight: "#374E06" }, localize(1839, "Outline color for the text that got inserted."));
|
|
30534
|
+
registerColor("diffEditor.removedTextBorder", { dark: null, light: null, hcDark: "#FF008F", hcLight: "#AD0707" }, localize(1840, "Outline color for text that got removed."));
|
|
30535
|
+
registerColor("diffEditor.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, localize(1841, "Border color between the two text editors."));
|
|
30536
|
+
registerColor("diffEditor.diagonalFill", { dark: "#cccccc33", light: "#22222233", hcDark: null, hcLight: null }, localize(1842, "Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views."));
|
|
30537
|
+
registerColor("diffEditor.unchangedRegionBackground", "sideBar.background", localize(1843, "The background color of unchanged blocks in the diff editor."));
|
|
30538
|
+
registerColor("diffEditor.unchangedRegionForeground", "foreground", localize(1844, "The foreground color of unchanged blocks in the diff editor."));
|
|
30539
|
+
registerColor("diffEditor.unchangedCodeBackground", { dark: "#74747429", light: "#b8b8b829", hcDark: null, hcLight: null }, localize(1845, "The background color of unchanged code in the diff editor."));
|
|
30540
|
+
const widgetShadow = registerColor("widget.shadow", { dark: transparent(Color.black, 0.36), light: transparent(Color.black, 0.16), hcDark: null, hcLight: null }, localize(1846, "Shadow color of widgets such as find/replace inside the editor."));
|
|
30541
|
+
const widgetBorder = registerColor("widget.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, localize(1847, "Border color of widgets such as find/replace inside the editor."));
|
|
30542
|
+
const toolbarHoverBackground = registerColor("toolbar.hoverBackground", { dark: "#5a5d5e50", light: "#b8b8b850", hcDark: null, hcLight: null }, localize(1848, "Toolbar background when hovering over actions using the mouse"));
|
|
30543
|
+
registerColor("toolbar.hoverOutline", { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, localize(1849, "Toolbar outline when hovering over actions using the mouse"));
|
|
30544
|
+
registerColor("toolbar.activeBackground", { dark: lighten(toolbarHoverBackground, 0.1), light: darken(toolbarHoverBackground, 0.1), hcDark: null, hcLight: null }, localize(1850, "Toolbar background when holding the mouse over actions"));
|
|
30545
|
+
const breadcrumbsForeground = registerColor("breadcrumb.foreground", transparent(foreground, 0.8), localize(1851, "Color of focused breadcrumb items."));
|
|
30546
|
+
const breadcrumbsBackground = registerColor("breadcrumb.background", editorBackground, localize(1852, "Background color of breadcrumb items."));
|
|
30547
|
+
const breadcrumbsFocusForeground = registerColor("breadcrumb.focusForeground", { light: darken(foreground, 0.2), dark: lighten(foreground, 0.1), hcDark: lighten(foreground, 0.1), hcLight: lighten(foreground, 0.1) }, localize(1853, "Color of focused breadcrumb items."));
|
|
30548
|
+
const breadcrumbsActiveSelectionForeground = registerColor("breadcrumb.activeSelectionForeground", { light: darken(foreground, 0.2), dark: lighten(foreground, 0.1), hcDark: lighten(foreground, 0.1), hcLight: lighten(foreground, 0.1) }, localize(1854, "Color of selected breadcrumb items."));
|
|
30549
|
+
registerColor("breadcrumbPicker.background", editorWidgetBackground, localize(1855, "Background color of breadcrumb item picker."));
|
|
30689
30550
|
const headerTransparency = 0.5;
|
|
30690
30551
|
const currentBaseColor = Color.fromHex("#40C8AE").transparent(headerTransparency);
|
|
30691
30552
|
const incomingBaseColor = Color.fromHex("#40A6FF").transparent(headerTransparency);
|
|
30692
30553
|
const commonBaseColor = Color.fromHex("#606060").transparent(0.4);
|
|
30693
30554
|
const contentTransparency = 0.4;
|
|
30694
30555
|
const rulerTransparency = 1;
|
|
30695
|
-
const mergeCurrentHeaderBackground = registerColor("merge.currentHeaderBackground", { dark: currentBaseColor, light: currentBaseColor, hcDark: null, hcLight: null }, localize(
|
|
30696
|
-
registerColor("merge.currentContentBackground", transparent(mergeCurrentHeaderBackground, contentTransparency), localize(
|
|
30697
|
-
const mergeIncomingHeaderBackground = registerColor("merge.incomingHeaderBackground", { dark: incomingBaseColor, light: incomingBaseColor, hcDark: null, hcLight: null }, localize(
|
|
30698
|
-
registerColor("merge.incomingContentBackground", transparent(mergeIncomingHeaderBackground, contentTransparency), localize(
|
|
30699
|
-
const mergeCommonHeaderBackground = registerColor("merge.commonHeaderBackground", { dark: commonBaseColor, light: commonBaseColor, hcDark: null, hcLight: null }, localize(
|
|
30700
|
-
registerColor("merge.commonContentBackground", transparent(mergeCommonHeaderBackground, contentTransparency), localize(
|
|
30701
|
-
const mergeBorder = registerColor("merge.border", { dark: null, light: null, hcDark: "#C3DF6F", hcLight: "#007ACC" }, localize(
|
|
30702
|
-
registerColor("editorOverviewRuler.currentContentForeground", { dark: transparent(mergeCurrentHeaderBackground, rulerTransparency), light: transparent(mergeCurrentHeaderBackground, rulerTransparency), hcDark: mergeBorder, hcLight: mergeBorder }, localize(
|
|
30703
|
-
registerColor("editorOverviewRuler.incomingContentForeground", { dark: transparent(mergeIncomingHeaderBackground, rulerTransparency), light: transparent(mergeIncomingHeaderBackground, rulerTransparency), hcDark: mergeBorder, hcLight: mergeBorder }, localize(
|
|
30704
|
-
registerColor("editorOverviewRuler.commonContentForeground", { dark: transparent(mergeCommonHeaderBackground, rulerTransparency), light: transparent(mergeCommonHeaderBackground, rulerTransparency), hcDark: mergeBorder, hcLight: mergeBorder }, localize(
|
|
30705
|
-
const overviewRulerFindMatchForeground = registerColor("editorOverviewRuler.findMatchForeground", { dark: "#d186167e", light: "#d186167e", hcDark: "#AB5A00", hcLight: "#AB5A00" }, localize(
|
|
30706
|
-
const overviewRulerSelectionHighlightForeground = registerColor("editorOverviewRuler.selectionHighlightForeground", "#A0A0A0CC", localize(
|
|
30707
|
-
const problemsErrorIconForeground = registerColor("problemsErrorIcon.foreground", editorErrorForeground, localize(
|
|
30708
|
-
const problemsWarningIconForeground = registerColor("problemsWarningIcon.foreground", editorWarningForeground, localize(
|
|
30709
|
-
const problemsInfoIconForeground = registerColor("problemsInfoIcon.foreground", editorInfoForeground, localize(
|
|
30710
|
-
const minimapFindMatch = registerColor("minimap.findMatchHighlight", { light: "#d18616", dark: "#d18616", hcDark: "#AB5A00", hcLight: "#0F4A85" }, localize(
|
|
30711
|
-
const minimapSelectionOccurrenceHighlight = registerColor("minimap.selectionOccurrenceHighlight", { light: "#c9c9c9", dark: "#676767", hcDark: "#ffffff", hcLight: "#0F4A85" }, localize(
|
|
30712
|
-
const minimapSelection = registerColor("minimap.selectionHighlight", { light: "#ADD6FF", dark: "#264F78", hcDark: "#ffffff", hcLight: "#0F4A85" }, localize(
|
|
30713
|
-
const minimapInfo = registerColor("minimap.infoHighlight", { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, localize(
|
|
30714
|
-
const minimapWarning = registerColor("minimap.warningHighlight", { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, localize(
|
|
30715
|
-
const minimapError = registerColor("minimap.errorHighlight", { dark: new Color(new RGBA(255, 18, 18, 0.7)), light: new Color(new RGBA(255, 18, 18, 0.7)), hcDark: new Color(new RGBA(255, 50, 50, 1)), hcLight: "#B5200D" }, localize(
|
|
30716
|
-
const minimapBackground = registerColor("minimap.background", null, localize(
|
|
30717
|
-
const minimapForegroundOpacity = registerColor("minimap.foregroundOpacity", Color.fromHex("#000f"), localize(
|
|
30718
|
-
registerColor("minimapSlider.background", transparent(scrollbarSliderBackground, 0.5), localize(
|
|
30719
|
-
registerColor("minimapSlider.hoverBackground", transparent(scrollbarSliderHoverBackground, 0.5), localize(
|
|
30720
|
-
registerColor("minimapSlider.activeBackground", transparent(scrollbarSliderActiveBackground, 0.5), localize(
|
|
30721
|
-
registerColor("charts.foreground", foreground, localize(
|
|
30722
|
-
registerColor("charts.lines", transparent(foreground, 0.5), localize(
|
|
30723
|
-
registerColor("charts.red", editorErrorForeground, localize(
|
|
30724
|
-
registerColor("charts.blue", editorInfoForeground, localize(
|
|
30725
|
-
registerColor("charts.yellow", editorWarningForeground, localize(
|
|
30726
|
-
registerColor("charts.orange", minimapFindMatch, localize(
|
|
30727
|
-
registerColor("charts.green", { dark: "#89D185", light: "#388A34", hcDark: "#89D185", hcLight: "#374e06" }, localize(
|
|
30728
|
-
registerColor("charts.purple", { dark: "#B180D7", light: "#652D90", hcDark: "#B180D7", hcLight: "#652D90" }, localize(
|
|
30729
|
-
const inputBackground = registerColor("input.background", { dark: "#3C3C3C", light: Color.white, hcDark: Color.black, hcLight: Color.white }, localize(
|
|
30730
|
-
const inputForeground = registerColor("input.foreground", foreground, localize(
|
|
30731
|
-
const inputBorder = registerColor("input.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
30732
|
-
const inputActiveOptionBorder = registerColor("inputOption.activeBorder", { dark: "#007ACC", light: "#007ACC", hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
30733
|
-
const inputActiveOptionHoverBackground = registerColor("inputOption.hoverBackground", { dark: "#5a5d5e80", light: "#b8b8b850", hcDark: null, hcLight: null }, localize(
|
|
30734
|
-
const inputActiveOptionBackground = registerColor("inputOption.activeBackground", { dark: transparent(focusBorder, 0.4), light: transparent(focusBorder, 0.2), hcDark: Color.transparent, hcLight: Color.transparent }, localize(
|
|
30735
|
-
const inputActiveOptionForeground = registerColor("inputOption.activeForeground", { dark: Color.white, light: Color.black, hcDark: foreground, hcLight: foreground }, localize(
|
|
30736
|
-
registerColor("input.placeholderForeground", { light: transparent(foreground, 0.5), dark: transparent(foreground, 0.5), hcDark: transparent(foreground, 0.7), hcLight: transparent(foreground, 0.7) }, localize(
|
|
30737
|
-
const inputValidationInfoBackground = registerColor("inputValidation.infoBackground", { dark: "#063B49", light: "#D6ECF2", hcDark: Color.black, hcLight: Color.white }, localize(
|
|
30738
|
-
const inputValidationInfoForeground = registerColor("inputValidation.infoForeground", { dark: null, light: null, hcDark: null, hcLight: foreground }, localize(
|
|
30739
|
-
const inputValidationInfoBorder = registerColor("inputValidation.infoBorder", { dark: "#007acc", light: "#007acc", hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
30740
|
-
const inputValidationWarningBackground = registerColor("inputValidation.warningBackground", { dark: "#352A05", light: "#F6F5D2", hcDark: Color.black, hcLight: Color.white }, localize(
|
|
30741
|
-
const inputValidationWarningForeground = registerColor("inputValidation.warningForeground", { dark: null, light: null, hcDark: null, hcLight: foreground }, localize(
|
|
30742
|
-
const inputValidationWarningBorder = registerColor("inputValidation.warningBorder", { dark: "#B89500", light: "#B89500", hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
30743
|
-
const inputValidationErrorBackground = registerColor("inputValidation.errorBackground", { dark: "#5A1D1D", light: "#F2DEDE", hcDark: Color.black, hcLight: Color.white }, localize(
|
|
30744
|
-
const inputValidationErrorForeground = registerColor("inputValidation.errorForeground", { dark: null, light: null, hcDark: null, hcLight: foreground }, localize(
|
|
30745
|
-
const inputValidationErrorBorder = registerColor("inputValidation.errorBorder", { dark: "#BE1100", light: "#BE1100", hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
30746
|
-
const selectBackground = registerColor("dropdown.background", { dark: "#3C3C3C", light: Color.white, hcDark: Color.black, hcLight: Color.white }, localize(
|
|
30747
|
-
const selectListBackground = registerColor("dropdown.listBackground", { dark: null, light: null, hcDark: Color.black, hcLight: Color.white }, localize(
|
|
30748
|
-
const selectForeground = registerColor("dropdown.foreground", { dark: "#F0F0F0", light: foreground, hcDark: Color.white, hcLight: foreground }, localize(
|
|
30749
|
-
const selectBorder = registerColor("dropdown.border", { dark: selectBackground, light: "#CECECE", hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
30750
|
-
const buttonForeground = registerColor("button.foreground", Color.white, localize(
|
|
30751
|
-
const buttonSeparator = registerColor("button.separator", transparent(buttonForeground, 0.4), localize(
|
|
30752
|
-
const buttonBackground = registerColor("button.background", { dark: "#0E639C", light: "#007ACC", hcDark: null, hcLight: "#0F4A85" }, localize(
|
|
30753
|
-
const buttonHoverBackground = registerColor("button.hoverBackground", { dark: lighten(buttonBackground, 0.2), light: darken(buttonBackground, 0.2), hcDark: buttonBackground, hcLight: buttonBackground }, localize(
|
|
30754
|
-
const buttonBorder = registerColor("button.border", contrastBorder, localize(
|
|
30755
|
-
const buttonSecondaryForeground = registerColor("button.secondaryForeground", { dark: Color.white, light: Color.white, hcDark: Color.white, hcLight: foreground }, localize(
|
|
30756
|
-
const buttonSecondaryBackground = registerColor("button.secondaryBackground", { dark: "#3A3D41", light: "#5F6A79", hcDark: null, hcLight: Color.white }, localize(
|
|
30757
|
-
const buttonSecondaryHoverBackground = registerColor("button.secondaryHoverBackground", { dark: lighten(buttonSecondaryBackground, 0.2), light: darken(buttonSecondaryBackground, 0.2), hcDark: null, hcLight: null }, localize(
|
|
30758
|
-
const radioActiveForeground = registerColor("radio.activeForeground", inputActiveOptionForeground, localize(
|
|
30759
|
-
const radioActiveBackground = registerColor("radio.activeBackground", inputActiveOptionBackground, localize(
|
|
30760
|
-
const radioActiveBorder = registerColor("radio.activeBorder", inputActiveOptionBorder, localize(
|
|
30761
|
-
const radioInactiveForeground = registerColor("radio.inactiveForeground", null, localize(
|
|
30762
|
-
const radioInactiveBackground = registerColor("radio.inactiveBackground", null, localize(
|
|
30763
|
-
const radioInactiveBorder = registerColor("radio.inactiveBorder", { light: transparent(radioActiveForeground, 0.2), dark: transparent(radioActiveForeground, 0.2), hcDark: transparent(radioActiveForeground, 0.4), hcLight: transparent(radioActiveForeground, 0.2) }, localize(
|
|
30764
|
-
const radioInactiveHoverBackground = registerColor("radio.inactiveHoverBackground", inputActiveOptionHoverBackground, localize(
|
|
30765
|
-
const checkboxBackground = registerColor("checkbox.background", selectBackground, localize(
|
|
30766
|
-
registerColor("checkbox.selectBackground", editorWidgetBackground, localize(
|
|
30767
|
-
const checkboxForeground = registerColor("checkbox.foreground", selectForeground, localize(
|
|
30768
|
-
const checkboxBorder = registerColor("checkbox.border", selectBorder, localize(
|
|
30769
|
-
registerColor("checkbox.selectBorder", iconForeground, localize(
|
|
30770
|
-
const checkboxDisabledBackground = registerColor("checkbox.disabled.background", { op: 7, color: checkboxBackground, with: checkboxForeground, ratio: 0.33 }, localize(
|
|
30771
|
-
const checkboxDisabledForeground = registerColor("checkbox.disabled.foreground", { op: 7, color: checkboxForeground, with: checkboxBackground, ratio: 0.33 }, localize(
|
|
30772
|
-
const keybindingLabelBackground = registerColor("keybindingLabel.background", { dark: new Color(new RGBA(128, 128, 128, 0.17)), light: new Color(new RGBA(221, 221, 221, 0.4)), hcDark: Color.transparent, hcLight: Color.transparent }, localize(
|
|
30773
|
-
const keybindingLabelForeground = registerColor("keybindingLabel.foreground", { dark: Color.fromHex("#CCCCCC"), light: Color.fromHex("#555555"), hcDark: Color.white, hcLight: foreground }, localize(
|
|
30774
|
-
const keybindingLabelBorder = registerColor("keybindingLabel.border", { dark: new Color(new RGBA(51, 51, 51, 0.6)), light: new Color(new RGBA(204, 204, 204, 0.4)), hcDark: new Color(new RGBA(111, 195, 223)), hcLight: contrastBorder }, localize(
|
|
30775
|
-
const keybindingLabelBottomBorder = registerColor("keybindingLabel.bottomBorder", { dark: new Color(new RGBA(68, 68, 68, 0.6)), light: new Color(new RGBA(187, 187, 187, 0.4)), hcDark: new Color(new RGBA(111, 195, 223)), hcLight: foreground }, localize(
|
|
30776
|
-
const listFocusBackground = registerColor("list.focusBackground", null, localize(
|
|
30777
|
-
const listFocusForeground = registerColor("list.focusForeground", null, localize(
|
|
30778
|
-
const listFocusOutline = registerColor("list.focusOutline", { dark: focusBorder, light: focusBorder, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, localize(
|
|
30779
|
-
const listFocusAndSelectionOutline = registerColor("list.focusAndSelectionOutline", null, localize(
|
|
30780
|
-
const listActiveSelectionBackground = registerColor("list.activeSelectionBackground", { dark: "#04395E", light: "#0060C0", hcDark: null, hcLight: Color.fromHex("#0F4A85").transparent(0.1) }, localize(
|
|
30781
|
-
const listActiveSelectionForeground = registerColor("list.activeSelectionForeground", { dark: Color.white, light: Color.white, hcDark: null, hcLight: null }, localize(
|
|
30782
|
-
const listActiveSelectionIconForeground = registerColor("list.activeSelectionIconForeground", null, localize(
|
|
30783
|
-
const listInactiveSelectionBackground = registerColor("list.inactiveSelectionBackground", { dark: "#37373D", light: "#E4E6F1", hcDark: null, hcLight: Color.fromHex("#0F4A85").transparent(0.1) }, localize(
|
|
30784
|
-
const listInactiveSelectionForeground = registerColor("list.inactiveSelectionForeground", null, localize(
|
|
30785
|
-
const listInactiveSelectionIconForeground = registerColor("list.inactiveSelectionIconForeground", null, localize(
|
|
30786
|
-
const listInactiveFocusBackground = registerColor("list.inactiveFocusBackground", null, localize(
|
|
30787
|
-
const listInactiveFocusOutline = registerColor("list.inactiveFocusOutline", null, localize(
|
|
30788
|
-
const listHoverBackground = registerColor("list.hoverBackground", { dark: "#2A2D2E", light: "#F0F0F0", hcDark: Color.white.transparent(0.1), hcLight: Color.fromHex("#0F4A85").transparent(0.1) }, localize(
|
|
30789
|
-
const listHoverForeground = registerColor("list.hoverForeground", null, localize(
|
|
30790
|
-
const listDropOverBackground = registerColor("list.dropBackground", { dark: "#062F4A", light: "#D6EBFF", hcDark: null, hcLight: null }, localize(
|
|
30791
|
-
const listDropBetweenBackground = registerColor("list.dropBetweenBackground", { dark: iconForeground, light: iconForeground, hcDark: null, hcLight: null }, localize(
|
|
30792
|
-
const listHighlightForeground = registerColor("list.highlightForeground", { dark: "#2AAAFF", light: "#0066BF", hcDark: focusBorder, hcLight: focusBorder }, localize(
|
|
30793
|
-
const listFocusHighlightForeground = registerColor("list.focusHighlightForeground", { dark: listHighlightForeground, light: ifDefinedThenElse(listActiveSelectionBackground, listHighlightForeground, "#BBE7FF"), hcDark: listHighlightForeground, hcLight: listHighlightForeground }, localize(
|
|
30794
|
-
registerColor("list.invalidItemForeground", { dark: "#B89500", light: "#B89500", hcDark: "#B89500", hcLight: "#B5200D" }, localize(
|
|
30795
|
-
registerColor("list.errorForeground", { dark: "#F88070", light: "#B01011", hcDark: null, hcLight: null }, localize(
|
|
30796
|
-
registerColor("list.warningForeground", { dark: "#CCA700", light: "#855F00", hcDark: null, hcLight: null }, localize(
|
|
30797
|
-
const listFilterWidgetBackground = registerColor("listFilterWidget.background", { light: darken(editorWidgetBackground, 0), dark: lighten(editorWidgetBackground, 0), hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, localize(
|
|
30798
|
-
const listFilterWidgetOutline = registerColor("listFilterWidget.outline", { dark: Color.transparent, light: Color.transparent, hcDark: "#f38518", hcLight: "#007ACC" }, localize(
|
|
30799
|
-
const listFilterWidgetNoMatchesOutline = registerColor("listFilterWidget.noMatchesOutline", { dark: "#BE1100", light: "#BE1100", hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
30800
|
-
const listFilterWidgetShadow = registerColor("listFilterWidget.shadow", widgetShadow, localize(
|
|
30801
|
-
registerColor("list.filterMatchBackground", { dark: editorFindMatchHighlight, light: editorFindMatchHighlight, hcDark: null, hcLight: null }, localize(
|
|
30802
|
-
registerColor("list.filterMatchBorder", { dark: editorFindMatchHighlightBorder, light: editorFindMatchHighlightBorder, hcDark: contrastBorder, hcLight: activeContrastBorder }, localize(
|
|
30803
|
-
registerColor("list.deemphasizedForeground", { dark: "#8C8C8C", light: "#8E8E90", hcDark: "#A7A8A9", hcLight: "#666666" }, localize(
|
|
30804
|
-
const treeIndentGuidesStroke = registerColor("tree.indentGuidesStroke", { dark: "#585858", light: "#a9a9a9", hcDark: "#a9a9a9", hcLight: "#a5a5a5" }, localize(
|
|
30805
|
-
const treeInactiveIndentGuidesStroke = registerColor("tree.inactiveIndentGuidesStroke", transparent(treeIndentGuidesStroke, 0.4), localize(
|
|
30806
|
-
const tableColumnsBorder = registerColor("tree.tableColumnsBorder", { dark: "#CCCCCC20", light: "#61616120", hcDark: null, hcLight: null }, localize(
|
|
30807
|
-
const tableOddRowsBackgroundColor = registerColor("tree.tableOddRowsBackground", { dark: transparent(foreground, 0.04), light: transparent(foreground, 0.04), hcDark: null, hcLight: null }, localize(
|
|
30808
|
-
registerColor("editorActionList.background", editorWidgetBackground, localize(
|
|
30809
|
-
const editorActionListForeground = registerColor("editorActionList.foreground", editorWidgetForeground, localize(
|
|
30810
|
-
registerColor("editorActionList.focusForeground", listActiveSelectionForeground, localize(
|
|
30811
|
-
registerColor("editorActionList.focusBackground", listActiveSelectionBackground, localize(
|
|
30812
|
-
const menuBorder = registerColor("menu.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
30813
|
-
const menuForeground = registerColor("menu.foreground", selectForeground, localize(
|
|
30814
|
-
const menuBackground = registerColor("menu.background", selectBackground, localize(
|
|
30815
|
-
const menuSelectionForeground = registerColor("menu.selectionForeground", listActiveSelectionForeground, localize(
|
|
30816
|
-
const menuSelectionBackground = registerColor("menu.selectionBackground", listActiveSelectionBackground, localize(
|
|
30817
|
-
const menuSelectionBorder = registerColor("menu.selectionBorder", { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, localize(
|
|
30818
|
-
const menuSeparatorBackground = registerColor("menu.separatorBackground", { dark: "#606060", light: "#D4D4D4", hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
30819
|
-
const quickInputBackground = registerColor("quickInput.background", editorWidgetBackground, localize(
|
|
30820
|
-
const quickInputForeground = registerColor("quickInput.foreground", editorWidgetForeground, localize(
|
|
30821
|
-
const quickInputTitleBackground = registerColor("quickInputTitle.background", { dark: new Color(new RGBA(255, 255, 255, 0.105)), light: new Color(new RGBA(0, 0, 0, 0.06)), hcDark: "#000000", hcLight: Color.white }, localize(
|
|
30822
|
-
const pickerGroupForeground = registerColor("pickerGroup.foreground", { dark: "#3794FF", light: "#0066BF", hcDark: Color.white, hcLight: "#0F4A85" }, localize(
|
|
30823
|
-
const pickerGroupBorder = registerColor("pickerGroup.border", { dark: "#3F3F46", light: "#CCCEDB", hcDark: Color.white, hcLight: "#0F4A85" }, localize(
|
|
30824
|
-
const _deprecatedQuickInputListFocusBackground = registerColor("quickInput.list.focusBackground", null, "", void 0, localize(
|
|
30825
|
-
const quickInputListFocusForeground = registerColor("quickInputList.focusForeground", listActiveSelectionForeground, localize(
|
|
30826
|
-
const quickInputListFocusIconForeground = registerColor("quickInputList.focusIconForeground", listActiveSelectionIconForeground, localize(
|
|
30827
|
-
const quickInputListFocusBackground = registerColor("quickInputList.focusBackground", { dark: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), light: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), hcDark: null, hcLight: null }, localize(
|
|
30828
|
-
registerColor("search.resultsInfoForeground", { light: foreground, dark: transparent(foreground, 0.65), hcDark: foreground, hcLight: foreground }, localize(
|
|
30829
|
-
registerColor("searchEditor.findMatchBackground", { light: transparent(editorFindMatchHighlight, 0.66), dark: transparent(editorFindMatchHighlight, 0.66), hcDark: editorFindMatchHighlight, hcLight: editorFindMatchHighlight }, localize(
|
|
30830
|
-
registerColor("searchEditor.findMatchBorder", { light: transparent(editorFindMatchHighlightBorder, 0.66), dark: transparent(editorFindMatchHighlightBorder, 0.66), hcDark: editorFindMatchHighlightBorder, hcLight: editorFindMatchHighlightBorder }, localize(
|
|
30556
|
+
const mergeCurrentHeaderBackground = registerColor("merge.currentHeaderBackground", { dark: currentBaseColor, light: currentBaseColor, hcDark: null, hcLight: null }, localize(1856, "Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
30557
|
+
registerColor("merge.currentContentBackground", transparent(mergeCurrentHeaderBackground, contentTransparency), localize(1857, "Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
30558
|
+
const mergeIncomingHeaderBackground = registerColor("merge.incomingHeaderBackground", { dark: incomingBaseColor, light: incomingBaseColor, hcDark: null, hcLight: null }, localize(1858, "Incoming header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
30559
|
+
registerColor("merge.incomingContentBackground", transparent(mergeIncomingHeaderBackground, contentTransparency), localize(1859, "Incoming content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
30560
|
+
const mergeCommonHeaderBackground = registerColor("merge.commonHeaderBackground", { dark: commonBaseColor, light: commonBaseColor, hcDark: null, hcLight: null }, localize(1860, "Common ancestor header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
30561
|
+
registerColor("merge.commonContentBackground", transparent(mergeCommonHeaderBackground, contentTransparency), localize(1861, "Common ancestor content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
30562
|
+
const mergeBorder = registerColor("merge.border", { dark: null, light: null, hcDark: "#C3DF6F", hcLight: "#007ACC" }, localize(1862, "Border color on headers and the splitter in inline merge-conflicts."));
|
|
30563
|
+
registerColor("editorOverviewRuler.currentContentForeground", { dark: transparent(mergeCurrentHeaderBackground, rulerTransparency), light: transparent(mergeCurrentHeaderBackground, rulerTransparency), hcDark: mergeBorder, hcLight: mergeBorder }, localize(1863, "Current overview ruler foreground for inline merge-conflicts."));
|
|
30564
|
+
registerColor("editorOverviewRuler.incomingContentForeground", { dark: transparent(mergeIncomingHeaderBackground, rulerTransparency), light: transparent(mergeIncomingHeaderBackground, rulerTransparency), hcDark: mergeBorder, hcLight: mergeBorder }, localize(1864, "Incoming overview ruler foreground for inline merge-conflicts."));
|
|
30565
|
+
registerColor("editorOverviewRuler.commonContentForeground", { dark: transparent(mergeCommonHeaderBackground, rulerTransparency), light: transparent(mergeCommonHeaderBackground, rulerTransparency), hcDark: mergeBorder, hcLight: mergeBorder }, localize(1865, "Common ancestor overview ruler foreground for inline merge-conflicts."));
|
|
30566
|
+
const overviewRulerFindMatchForeground = registerColor("editorOverviewRuler.findMatchForeground", { dark: "#d186167e", light: "#d186167e", hcDark: "#AB5A00", hcLight: "#AB5A00" }, localize(1866, "Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
30567
|
+
const overviewRulerSelectionHighlightForeground = registerColor("editorOverviewRuler.selectionHighlightForeground", "#A0A0A0CC", localize(1867, "Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
30568
|
+
const problemsErrorIconForeground = registerColor("problemsErrorIcon.foreground", editorErrorForeground, localize(1868, "The color used for the problems error icon."));
|
|
30569
|
+
const problemsWarningIconForeground = registerColor("problemsWarningIcon.foreground", editorWarningForeground, localize(1869, "The color used for the problems warning icon."));
|
|
30570
|
+
const problemsInfoIconForeground = registerColor("problemsInfoIcon.foreground", editorInfoForeground, localize(1870, "The color used for the problems info icon."));
|
|
30571
|
+
const minimapFindMatch = registerColor("minimap.findMatchHighlight", { light: "#d18616", dark: "#d18616", hcDark: "#AB5A00", hcLight: "#0F4A85" }, localize(1961, "Minimap marker color for find matches."), true);
|
|
30572
|
+
const minimapSelectionOccurrenceHighlight = registerColor("minimap.selectionOccurrenceHighlight", { light: "#c9c9c9", dark: "#676767", hcDark: "#ffffff", hcLight: "#0F4A85" }, localize(1962, "Minimap marker color for repeating editor selections."), true);
|
|
30573
|
+
const minimapSelection = registerColor("minimap.selectionHighlight", { light: "#ADD6FF", dark: "#264F78", hcDark: "#ffffff", hcLight: "#0F4A85" }, localize(1963, "Minimap marker color for the editor selection."), true);
|
|
30574
|
+
const minimapInfo = registerColor("minimap.infoHighlight", { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, localize(1964, "Minimap marker color for infos."));
|
|
30575
|
+
const minimapWarning = registerColor("minimap.warningHighlight", { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, localize(1965, "Minimap marker color for warnings."));
|
|
30576
|
+
const minimapError = registerColor("minimap.errorHighlight", { dark: new Color(new RGBA(255, 18, 18, 0.7)), light: new Color(new RGBA(255, 18, 18, 0.7)), hcDark: new Color(new RGBA(255, 50, 50, 1)), hcLight: "#B5200D" }, localize(1966, "Minimap marker color for errors."));
|
|
30577
|
+
const minimapBackground = registerColor("minimap.background", null, localize(1967, "Minimap background color."));
|
|
30578
|
+
const minimapForegroundOpacity = registerColor("minimap.foregroundOpacity", Color.fromHex("#000f"), localize(1968, 'Opacity of foreground elements rendered in the minimap. For example, "#000000c0" will render the elements with 75% opacity.'));
|
|
30579
|
+
registerColor("minimapSlider.background", transparent(scrollbarSliderBackground, 0.5), localize(1969, "Minimap slider background color."));
|
|
30580
|
+
registerColor("minimapSlider.hoverBackground", transparent(scrollbarSliderHoverBackground, 0.5), localize(1970, "Minimap slider background color when hovering."));
|
|
30581
|
+
registerColor("minimapSlider.activeBackground", transparent(scrollbarSliderActiveBackground, 0.5), localize(1971, "Minimap slider background color when clicked on."));
|
|
30582
|
+
registerColor("charts.foreground", foreground, localize(1768, "The foreground color used in charts."));
|
|
30583
|
+
registerColor("charts.lines", transparent(foreground, 0.5), localize(1769, "The color used for horizontal lines in charts."));
|
|
30584
|
+
registerColor("charts.red", editorErrorForeground, localize(1770, "The red color used in chart visualizations."));
|
|
30585
|
+
registerColor("charts.blue", editorInfoForeground, localize(1771, "The blue color used in chart visualizations."));
|
|
30586
|
+
registerColor("charts.yellow", editorWarningForeground, localize(1772, "The yellow color used in chart visualizations."));
|
|
30587
|
+
registerColor("charts.orange", minimapFindMatch, localize(1773, "The orange color used in chart visualizations."));
|
|
30588
|
+
registerColor("charts.green", { dark: "#89D185", light: "#388A34", hcDark: "#89D185", hcLight: "#374e06" }, localize(1774, "The green color used in chart visualizations."));
|
|
30589
|
+
registerColor("charts.purple", { dark: "#B180D7", light: "#652D90", hcDark: "#B180D7", hcLight: "#652D90" }, localize(1775, "The purple color used in chart visualizations."));
|
|
30590
|
+
const inputBackground = registerColor("input.background", { dark: "#3C3C3C", light: Color.white, hcDark: Color.black, hcLight: Color.white }, localize(1871, "Input box background."));
|
|
30591
|
+
const inputForeground = registerColor("input.foreground", foreground, localize(1872, "Input box foreground."));
|
|
30592
|
+
const inputBorder = registerColor("input.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, localize(1873, "Input box border."));
|
|
30593
|
+
const inputActiveOptionBorder = registerColor("inputOption.activeBorder", { dark: "#007ACC", light: "#007ACC", hcDark: contrastBorder, hcLight: contrastBorder }, localize(1874, "Border color of activated options in input fields."));
|
|
30594
|
+
const inputActiveOptionHoverBackground = registerColor("inputOption.hoverBackground", { dark: "#5a5d5e80", light: "#b8b8b850", hcDark: null, hcLight: null }, localize(1875, "Background color of activated options in input fields."));
|
|
30595
|
+
const inputActiveOptionBackground = registerColor("inputOption.activeBackground", { dark: transparent(focusBorder, 0.4), light: transparent(focusBorder, 0.2), hcDark: Color.transparent, hcLight: Color.transparent }, localize(1876, "Background hover color of options in input fields."));
|
|
30596
|
+
const inputActiveOptionForeground = registerColor("inputOption.activeForeground", { dark: Color.white, light: Color.black, hcDark: foreground, hcLight: foreground }, localize(1877, "Foreground color of activated options in input fields."));
|
|
30597
|
+
registerColor("input.placeholderForeground", { light: transparent(foreground, 0.5), dark: transparent(foreground, 0.5), hcDark: transparent(foreground, 0.7), hcLight: transparent(foreground, 0.7) }, localize(1878, "Input box foreground color for placeholder text."));
|
|
30598
|
+
const inputValidationInfoBackground = registerColor("inputValidation.infoBackground", { dark: "#063B49", light: "#D6ECF2", hcDark: Color.black, hcLight: Color.white }, localize(1879, "Input validation background color for information severity."));
|
|
30599
|
+
const inputValidationInfoForeground = registerColor("inputValidation.infoForeground", { dark: null, light: null, hcDark: null, hcLight: foreground }, localize(1880, "Input validation foreground color for information severity."));
|
|
30600
|
+
const inputValidationInfoBorder = registerColor("inputValidation.infoBorder", { dark: "#007acc", light: "#007acc", hcDark: contrastBorder, hcLight: contrastBorder }, localize(1881, "Input validation border color for information severity."));
|
|
30601
|
+
const inputValidationWarningBackground = registerColor("inputValidation.warningBackground", { dark: "#352A05", light: "#F6F5D2", hcDark: Color.black, hcLight: Color.white }, localize(1882, "Input validation background color for warning severity."));
|
|
30602
|
+
const inputValidationWarningForeground = registerColor("inputValidation.warningForeground", { dark: null, light: null, hcDark: null, hcLight: foreground }, localize(1883, "Input validation foreground color for warning severity."));
|
|
30603
|
+
const inputValidationWarningBorder = registerColor("inputValidation.warningBorder", { dark: "#B89500", light: "#B89500", hcDark: contrastBorder, hcLight: contrastBorder }, localize(1884, "Input validation border color for warning severity."));
|
|
30604
|
+
const inputValidationErrorBackground = registerColor("inputValidation.errorBackground", { dark: "#5A1D1D", light: "#F2DEDE", hcDark: Color.black, hcLight: Color.white }, localize(1885, "Input validation background color for error severity."));
|
|
30605
|
+
const inputValidationErrorForeground = registerColor("inputValidation.errorForeground", { dark: null, light: null, hcDark: null, hcLight: foreground }, localize(1886, "Input validation foreground color for error severity."));
|
|
30606
|
+
const inputValidationErrorBorder = registerColor("inputValidation.errorBorder", { dark: "#BE1100", light: "#BE1100", hcDark: contrastBorder, hcLight: contrastBorder }, localize(1887, "Input validation border color for error severity."));
|
|
30607
|
+
const selectBackground = registerColor("dropdown.background", { dark: "#3C3C3C", light: Color.white, hcDark: Color.black, hcLight: Color.white }, localize(1888, "Dropdown background."));
|
|
30608
|
+
const selectListBackground = registerColor("dropdown.listBackground", { dark: null, light: null, hcDark: Color.black, hcLight: Color.white }, localize(1889, "Dropdown list background."));
|
|
30609
|
+
const selectForeground = registerColor("dropdown.foreground", { dark: "#F0F0F0", light: foreground, hcDark: Color.white, hcLight: foreground }, localize(1890, "Dropdown foreground."));
|
|
30610
|
+
const selectBorder = registerColor("dropdown.border", { dark: selectBackground, light: "#CECECE", hcDark: contrastBorder, hcLight: contrastBorder }, localize(1891, "Dropdown border."));
|
|
30611
|
+
const buttonForeground = registerColor("button.foreground", Color.white, localize(1892, "Button foreground color."));
|
|
30612
|
+
const buttonSeparator = registerColor("button.separator", transparent(buttonForeground, 0.4), localize(1893, "Button separator color."));
|
|
30613
|
+
const buttonBackground = registerColor("button.background", { dark: "#0E639C", light: "#007ACC", hcDark: null, hcLight: "#0F4A85" }, localize(1894, "Button background color."));
|
|
30614
|
+
const buttonHoverBackground = registerColor("button.hoverBackground", { dark: lighten(buttonBackground, 0.2), light: darken(buttonBackground, 0.2), hcDark: buttonBackground, hcLight: buttonBackground }, localize(1895, "Button background color when hovering."));
|
|
30615
|
+
const buttonBorder = registerColor("button.border", contrastBorder, localize(1896, "Button border color."));
|
|
30616
|
+
const buttonSecondaryForeground = registerColor("button.secondaryForeground", { dark: Color.white, light: Color.white, hcDark: Color.white, hcLight: foreground }, localize(1897, "Secondary button foreground color."));
|
|
30617
|
+
const buttonSecondaryBackground = registerColor("button.secondaryBackground", { dark: "#3A3D41", light: "#5F6A79", hcDark: null, hcLight: Color.white }, localize(1898, "Secondary button background color."));
|
|
30618
|
+
const buttonSecondaryHoverBackground = registerColor("button.secondaryHoverBackground", { dark: lighten(buttonSecondaryBackground, 0.2), light: darken(buttonSecondaryBackground, 0.2), hcDark: null, hcLight: null }, localize(1899, "Secondary button background color when hovering."));
|
|
30619
|
+
const radioActiveForeground = registerColor("radio.activeForeground", inputActiveOptionForeground, localize(1900, "Foreground color of active radio option."));
|
|
30620
|
+
const radioActiveBackground = registerColor("radio.activeBackground", inputActiveOptionBackground, localize(1901, "Background color of active radio option."));
|
|
30621
|
+
const radioActiveBorder = registerColor("radio.activeBorder", inputActiveOptionBorder, localize(1902, "Border color of the active radio option."));
|
|
30622
|
+
const radioInactiveForeground = registerColor("radio.inactiveForeground", null, localize(1903, "Foreground color of inactive radio option."));
|
|
30623
|
+
const radioInactiveBackground = registerColor("radio.inactiveBackground", null, localize(1904, "Background color of inactive radio option."));
|
|
30624
|
+
const radioInactiveBorder = registerColor("radio.inactiveBorder", { light: transparent(radioActiveForeground, 0.2), dark: transparent(radioActiveForeground, 0.2), hcDark: transparent(radioActiveForeground, 0.4), hcLight: transparent(radioActiveForeground, 0.2) }, localize(1905, "Border color of the inactive radio option."));
|
|
30625
|
+
const radioInactiveHoverBackground = registerColor("radio.inactiveHoverBackground", inputActiveOptionHoverBackground, localize(1906, "Background color of inactive active radio option when hovering."));
|
|
30626
|
+
const checkboxBackground = registerColor("checkbox.background", selectBackground, localize(1907, "Background color of checkbox widget."));
|
|
30627
|
+
registerColor("checkbox.selectBackground", editorWidgetBackground, localize(1908, "Background color of checkbox widget when the element it's in is selected."));
|
|
30628
|
+
const checkboxForeground = registerColor("checkbox.foreground", selectForeground, localize(1909, "Foreground color of checkbox widget."));
|
|
30629
|
+
const checkboxBorder = registerColor("checkbox.border", selectBorder, localize(1910, "Border color of checkbox widget."));
|
|
30630
|
+
registerColor("checkbox.selectBorder", iconForeground, localize(1911, "Border color of checkbox widget when the element it's in is selected."));
|
|
30631
|
+
const checkboxDisabledBackground = registerColor("checkbox.disabled.background", { op: 7, color: checkboxBackground, with: checkboxForeground, ratio: 0.33 }, localize(1912, "Background of a disabled checkbox."));
|
|
30632
|
+
const checkboxDisabledForeground = registerColor("checkbox.disabled.foreground", { op: 7, color: checkboxForeground, with: checkboxBackground, ratio: 0.33 }, localize(1913, "Foreground of a disabled checkbox."));
|
|
30633
|
+
const keybindingLabelBackground = registerColor("keybindingLabel.background", { dark: new Color(new RGBA(128, 128, 128, 0.17)), light: new Color(new RGBA(221, 221, 221, 0.4)), hcDark: Color.transparent, hcLight: Color.transparent }, localize(1914, "Keybinding label background color. The keybinding label is used to represent a keyboard shortcut."));
|
|
30634
|
+
const keybindingLabelForeground = registerColor("keybindingLabel.foreground", { dark: Color.fromHex("#CCCCCC"), light: Color.fromHex("#555555"), hcDark: Color.white, hcLight: foreground }, localize(1915, "Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut."));
|
|
30635
|
+
const keybindingLabelBorder = registerColor("keybindingLabel.border", { dark: new Color(new RGBA(51, 51, 51, 0.6)), light: new Color(new RGBA(204, 204, 204, 0.4)), hcDark: new Color(new RGBA(111, 195, 223)), hcLight: contrastBorder }, localize(1916, "Keybinding label border color. The keybinding label is used to represent a keyboard shortcut."));
|
|
30636
|
+
const keybindingLabelBottomBorder = registerColor("keybindingLabel.bottomBorder", { dark: new Color(new RGBA(68, 68, 68, 0.6)), light: new Color(new RGBA(187, 187, 187, 0.4)), hcDark: new Color(new RGBA(111, 195, 223)), hcLight: foreground }, localize(1917, "Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut."));
|
|
30637
|
+
const listFocusBackground = registerColor("list.focusBackground", null, localize(1918, "List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."));
|
|
30638
|
+
const listFocusForeground = registerColor("list.focusForeground", null, localize(1919, "List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."));
|
|
30639
|
+
const listFocusOutline = registerColor("list.focusOutline", { dark: focusBorder, light: focusBorder, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, localize(1920, "List/Tree outline color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."));
|
|
30640
|
+
const listFocusAndSelectionOutline = registerColor("list.focusAndSelectionOutline", null, localize(1921, "List/Tree outline color for the focused item when the list/tree is active and selected. An active list/tree has keyboard focus, an inactive does not."));
|
|
30641
|
+
const listActiveSelectionBackground = registerColor("list.activeSelectionBackground", { dark: "#04395E", light: "#0060C0", hcDark: null, hcLight: Color.fromHex("#0F4A85").transparent(0.1) }, localize(1922, "List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."));
|
|
30642
|
+
const listActiveSelectionForeground = registerColor("list.activeSelectionForeground", { dark: Color.white, light: Color.white, hcDark: null, hcLight: null }, localize(1923, "List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."));
|
|
30643
|
+
const listActiveSelectionIconForeground = registerColor("list.activeSelectionIconForeground", null, localize(1924, "List/Tree icon foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."));
|
|
30644
|
+
const listInactiveSelectionBackground = registerColor("list.inactiveSelectionBackground", { dark: "#37373D", light: "#E4E6F1", hcDark: null, hcLight: Color.fromHex("#0F4A85").transparent(0.1) }, localize(1925, "List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."));
|
|
30645
|
+
const listInactiveSelectionForeground = registerColor("list.inactiveSelectionForeground", null, localize(1926, "List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."));
|
|
30646
|
+
const listInactiveSelectionIconForeground = registerColor("list.inactiveSelectionIconForeground", null, localize(1927, "List/Tree icon foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."));
|
|
30647
|
+
const listInactiveFocusBackground = registerColor("list.inactiveFocusBackground", null, localize(1928, "List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."));
|
|
30648
|
+
const listInactiveFocusOutline = registerColor("list.inactiveFocusOutline", null, localize(1929, "List/Tree outline color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."));
|
|
30649
|
+
const listHoverBackground = registerColor("list.hoverBackground", { dark: "#2A2D2E", light: "#F0F0F0", hcDark: Color.white.transparent(0.1), hcLight: Color.fromHex("#0F4A85").transparent(0.1) }, localize(1930, "List/Tree background when hovering over items using the mouse."));
|
|
30650
|
+
const listHoverForeground = registerColor("list.hoverForeground", null, localize(1931, "List/Tree foreground when hovering over items using the mouse."));
|
|
30651
|
+
const listDropOverBackground = registerColor("list.dropBackground", { dark: "#062F4A", light: "#D6EBFF", hcDark: null, hcLight: null }, localize(1932, "List/Tree drag and drop background when moving items over other items when using the mouse."));
|
|
30652
|
+
const listDropBetweenBackground = registerColor("list.dropBetweenBackground", { dark: iconForeground, light: iconForeground, hcDark: null, hcLight: null }, localize(1933, "List/Tree drag and drop border color when moving items between items when using the mouse."));
|
|
30653
|
+
const listHighlightForeground = registerColor("list.highlightForeground", { dark: "#2AAAFF", light: "#0066BF", hcDark: focusBorder, hcLight: focusBorder }, localize(1934, "List/Tree foreground color of the match highlights when searching inside the list/tree."));
|
|
30654
|
+
const listFocusHighlightForeground = registerColor("list.focusHighlightForeground", { dark: listHighlightForeground, light: ifDefinedThenElse(listActiveSelectionBackground, listHighlightForeground, "#BBE7FF"), hcDark: listHighlightForeground, hcLight: listHighlightForeground }, localize(1935, "List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree."));
|
|
30655
|
+
registerColor("list.invalidItemForeground", { dark: "#B89500", light: "#B89500", hcDark: "#B89500", hcLight: "#B5200D" }, localize(1936, "List/Tree foreground color for invalid items, for example an unresolved root in explorer."));
|
|
30656
|
+
registerColor("list.errorForeground", { dark: "#F88070", light: "#B01011", hcDark: null, hcLight: null }, localize(1937, "Foreground color of list items containing errors."));
|
|
30657
|
+
registerColor("list.warningForeground", { dark: "#CCA700", light: "#855F00", hcDark: null, hcLight: null }, localize(1938, "Foreground color of list items containing warnings."));
|
|
30658
|
+
const listFilterWidgetBackground = registerColor("listFilterWidget.background", { light: darken(editorWidgetBackground, 0), dark: lighten(editorWidgetBackground, 0), hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, localize(1939, "Background color of the type filter widget in lists and trees."));
|
|
30659
|
+
const listFilterWidgetOutline = registerColor("listFilterWidget.outline", { dark: Color.transparent, light: Color.transparent, hcDark: "#f38518", hcLight: "#007ACC" }, localize(1940, "Outline color of the type filter widget in lists and trees."));
|
|
30660
|
+
const listFilterWidgetNoMatchesOutline = registerColor("listFilterWidget.noMatchesOutline", { dark: "#BE1100", light: "#BE1100", hcDark: contrastBorder, hcLight: contrastBorder }, localize(1941, "Outline color of the type filter widget in lists and trees, when there are no matches."));
|
|
30661
|
+
const listFilterWidgetShadow = registerColor("listFilterWidget.shadow", widgetShadow, localize(1942, "Shadow color of the type filter widget in lists and trees."));
|
|
30662
|
+
registerColor("list.filterMatchBackground", { dark: editorFindMatchHighlight, light: editorFindMatchHighlight, hcDark: null, hcLight: null }, localize(1943, "Background color of the filtered match."));
|
|
30663
|
+
registerColor("list.filterMatchBorder", { dark: editorFindMatchHighlightBorder, light: editorFindMatchHighlightBorder, hcDark: contrastBorder, hcLight: activeContrastBorder }, localize(1944, "Border color of the filtered match."));
|
|
30664
|
+
registerColor("list.deemphasizedForeground", { dark: "#8C8C8C", light: "#8E8E90", hcDark: "#A7A8A9", hcLight: "#666666" }, localize(1945, "List/Tree foreground color for items that are deemphasized."));
|
|
30665
|
+
const treeIndentGuidesStroke = registerColor("tree.indentGuidesStroke", { dark: "#585858", light: "#a9a9a9", hcDark: "#a9a9a9", hcLight: "#a5a5a5" }, localize(1946, "Tree stroke color for the indentation guides."));
|
|
30666
|
+
const treeInactiveIndentGuidesStroke = registerColor("tree.inactiveIndentGuidesStroke", transparent(treeIndentGuidesStroke, 0.4), localize(1947, "Tree stroke color for the indentation guides that are not active."));
|
|
30667
|
+
const tableColumnsBorder = registerColor("tree.tableColumnsBorder", { dark: "#CCCCCC20", light: "#61616120", hcDark: null, hcLight: null }, localize(1948, "Table border color between columns."));
|
|
30668
|
+
const tableOddRowsBackgroundColor = registerColor("tree.tableOddRowsBackground", { dark: transparent(foreground, 0.04), light: transparent(foreground, 0.04), hcDark: null, hcLight: null }, localize(1949, "Background color for odd table rows."));
|
|
30669
|
+
registerColor("editorActionList.background", editorWidgetBackground, localize(1950, "Action List background color."));
|
|
30670
|
+
const editorActionListForeground = registerColor("editorActionList.foreground", editorWidgetForeground, localize(1951, "Action List foreground color."));
|
|
30671
|
+
registerColor("editorActionList.focusForeground", listActiveSelectionForeground, localize(1952, "Action List foreground color for the focused item."));
|
|
30672
|
+
registerColor("editorActionList.focusBackground", listActiveSelectionBackground, localize(1953, "Action List background color for the focused item."));
|
|
30673
|
+
const menuBorder = registerColor("menu.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, localize(1954, "Border color of menus."));
|
|
30674
|
+
const menuForeground = registerColor("menu.foreground", selectForeground, localize(1955, "Foreground color of menu items."));
|
|
30675
|
+
const menuBackground = registerColor("menu.background", selectBackground, localize(1956, "Background color of menu items."));
|
|
30676
|
+
const menuSelectionForeground = registerColor("menu.selectionForeground", listActiveSelectionForeground, localize(1957, "Foreground color of the selected menu item in menus."));
|
|
30677
|
+
const menuSelectionBackground = registerColor("menu.selectionBackground", listActiveSelectionBackground, localize(1958, "Background color of the selected menu item in menus."));
|
|
30678
|
+
const menuSelectionBorder = registerColor("menu.selectionBorder", { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, localize(1959, "Border color of the selected menu item in menus."));
|
|
30679
|
+
const menuSeparatorBackground = registerColor("menu.separatorBackground", { dark: "#606060", light: "#D4D4D4", hcDark: contrastBorder, hcLight: contrastBorder }, localize(1960, "Color of a separator menu item in menus."));
|
|
30680
|
+
const quickInputBackground = registerColor("quickInput.background", editorWidgetBackground, localize(1987, "Quick picker background color. The quick picker widget is the container for pickers like the command palette."));
|
|
30681
|
+
const quickInputForeground = registerColor("quickInput.foreground", editorWidgetForeground, localize(1988, "Quick picker foreground color. The quick picker widget is the container for pickers like the command palette."));
|
|
30682
|
+
const quickInputTitleBackground = registerColor("quickInputTitle.background", { dark: new Color(new RGBA(255, 255, 255, 0.105)), light: new Color(new RGBA(0, 0, 0, 0.06)), hcDark: "#000000", hcLight: Color.white }, localize(1989, "Quick picker title background color. The quick picker widget is the container for pickers like the command palette."));
|
|
30683
|
+
const pickerGroupForeground = registerColor("pickerGroup.foreground", { dark: "#3794FF", light: "#0066BF", hcDark: Color.white, hcLight: "#0F4A85" }, localize(1990, "Quick picker color for grouping labels."));
|
|
30684
|
+
const pickerGroupBorder = registerColor("pickerGroup.border", { dark: "#3F3F46", light: "#CCCEDB", hcDark: Color.white, hcLight: "#0F4A85" }, localize(1991, "Quick picker color for grouping borders."));
|
|
30685
|
+
const _deprecatedQuickInputListFocusBackground = registerColor("quickInput.list.focusBackground", null, "", void 0, localize(1992, "Please use quickInputList.focusBackground instead"));
|
|
30686
|
+
const quickInputListFocusForeground = registerColor("quickInputList.focusForeground", listActiveSelectionForeground, localize(1993, "Quick picker foreground color for the focused item."));
|
|
30687
|
+
const quickInputListFocusIconForeground = registerColor("quickInputList.focusIconForeground", listActiveSelectionIconForeground, localize(1994, "Quick picker icon foreground color for the focused item."));
|
|
30688
|
+
const quickInputListFocusBackground = registerColor("quickInputList.focusBackground", { dark: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), light: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), hcDark: null, hcLight: null }, localize(1995, "Quick picker background color for the focused item."));
|
|
30689
|
+
registerColor("search.resultsInfoForeground", { light: foreground, dark: transparent(foreground, 0.65), hcDark: foreground, hcLight: foreground }, localize(1996, "Color of the text in the search viewlet's completion message."));
|
|
30690
|
+
registerColor("searchEditor.findMatchBackground", { light: transparent(editorFindMatchHighlight, 0.66), dark: transparent(editorFindMatchHighlight, 0.66), hcDark: editorFindMatchHighlight, hcLight: editorFindMatchHighlight }, localize(1997, "Color of the Search Editor query matches."));
|
|
30691
|
+
registerColor("searchEditor.findMatchBorder", { light: transparent(editorFindMatchHighlightBorder, 0.66), dark: transparent(editorFindMatchHighlightBorder, 0.66), hcDark: editorFindMatchHighlightBorder, hcLight: editorFindMatchHighlightBorder }, localize(1998, "Border color of the Search Editor query matches."));
|
|
30831
30692
|
class PageCoordinates {
|
|
30832
30693
|
constructor(x, y) {
|
|
30833
30694
|
this.x = x;
|
|
@@ -49634,7 +49495,7 @@ struct VSOutput {
|
|
|
49634
49495
|
this._selectionChangeListener = this._register(new MutableDisposable());
|
|
49635
49496
|
this._accessibilityPageSize = 1;
|
|
49636
49497
|
this._ignoreSelectionChangeTime = 0;
|
|
49637
|
-
this._state =
|
|
49498
|
+
this._state = RichScreenReaderState.NULL;
|
|
49638
49499
|
this._strategy = new RichPagedScreenReaderStrategy();
|
|
49639
49500
|
this._renderedLines = /* @__PURE__ */ new Map();
|
|
49640
49501
|
this._renderedSelection = new Selection$1(1, 1, 1, 1);
|
|
@@ -49657,7 +49518,7 @@ struct VSOutput {
|
|
|
49657
49518
|
this._setSelectionOnScreenReaderContent(this._context, this._renderedLines, primarySelection);
|
|
49658
49519
|
}
|
|
49659
49520
|
} else {
|
|
49660
|
-
this._state =
|
|
49521
|
+
this._state = RichScreenReaderState.NULL;
|
|
49661
49522
|
this._setIgnoreSelectionChangeTime("setValue");
|
|
49662
49523
|
this._domNode.domNode.textContent = "";
|
|
49663
49524
|
}
|
|
@@ -49871,19 +49732,29 @@ struct VSOutput {
|
|
|
49871
49732
|
}
|
|
49872
49733
|
}
|
|
49873
49734
|
class RichScreenReaderState {
|
|
49874
|
-
constructor(intervals) {
|
|
49735
|
+
constructor(model, intervals) {
|
|
49875
49736
|
this.intervals = intervals;
|
|
49876
|
-
|
|
49877
|
-
|
|
49878
|
-
|
|
49879
|
-
|
|
49880
|
-
}
|
|
49881
|
-
for (let i2 = 0; i2 < this.intervals.length; i2++) {
|
|
49882
|
-
if (this.intervals[i2].startLine !== other.intervals[i2].startLine || this.intervals[i2].endLine !== other.intervals[i2].endLine) {
|
|
49883
|
-
return false;
|
|
49737
|
+
let value = "";
|
|
49738
|
+
for (const interval of intervals) {
|
|
49739
|
+
for (let lineNumber = interval.startLine; lineNumber <= interval.endLine; lineNumber++) {
|
|
49740
|
+
value += model.getLineContent(lineNumber) + "\n";
|
|
49884
49741
|
}
|
|
49885
49742
|
}
|
|
49886
|
-
|
|
49743
|
+
this.value = value;
|
|
49744
|
+
}
|
|
49745
|
+
equals(other) {
|
|
49746
|
+
return this.value === other.value;
|
|
49747
|
+
}
|
|
49748
|
+
static get NULL() {
|
|
49749
|
+
const nullModel = {
|
|
49750
|
+
getLineContent: () => "",
|
|
49751
|
+
getLineCount: () => 1,
|
|
49752
|
+
getLineMaxColumn: () => 1,
|
|
49753
|
+
getValueInRange: () => "",
|
|
49754
|
+
getValueLengthInRange: () => 0,
|
|
49755
|
+
modifyPosition: (position, offset) => position
|
|
49756
|
+
};
|
|
49757
|
+
return new RichScreenReaderState(nullModel, []);
|
|
49887
49758
|
}
|
|
49888
49759
|
}
|
|
49889
49760
|
class RichPagedScreenReaderStrategy {
|
|
@@ -49907,7 +49778,7 @@ struct VSOutput {
|
|
|
49907
49778
|
if (selectionStartPage + 1 < selectionEndPage) {
|
|
49908
49779
|
lineIntervals.push({ startLine: selectionEndPageRange.startLine, endLine: selectionEndPageRange.endLine });
|
|
49909
49780
|
}
|
|
49910
|
-
return new RichScreenReaderState(lineIntervals);
|
|
49781
|
+
return new RichScreenReaderState(context, lineIntervals);
|
|
49911
49782
|
}
|
|
49912
49783
|
}
|
|
49913
49784
|
class BaseEdit {
|
|
@@ -77657,12 +77528,12 @@ ${text2}</tr>
|
|
|
77657
77528
|
const defaultDomPurifyConfig = Object.freeze({
|
|
77658
77529
|
ALLOWED_TAGS: [...basicMarkupHtmlTags],
|
|
77659
77530
|
ALLOWED_ATTR: [...defaultAllowedAttrs],
|
|
77660
|
-
RETURN_DOM: false,
|
|
77661
|
-
RETURN_DOM_FRAGMENT: false,
|
|
77662
|
-
RETURN_TRUSTED_TYPE: true,
|
|
77663
77531
|
ALLOW_UNKNOWN_PROTOCOLS: true
|
|
77664
77532
|
});
|
|
77665
77533
|
function sanitizeHtml(untrusted, config) {
|
|
77534
|
+
return doSanitizeHtml(untrusted, config, "trusted");
|
|
77535
|
+
}
|
|
77536
|
+
function doSanitizeHtml(untrusted, config, outputType) {
|
|
77666
77537
|
var _a3, _b3, _c3, _d2, _e2;
|
|
77667
77538
|
const store = new DisposableStore();
|
|
77668
77539
|
try {
|
|
@@ -77723,10 +77594,17 @@ ${text2}</tr>
|
|
|
77723
77594
|
}
|
|
77724
77595
|
}));
|
|
77725
77596
|
}
|
|
77726
|
-
|
|
77727
|
-
|
|
77728
|
-
|
|
77729
|
-
|
|
77597
|
+
if (outputType === "dom") {
|
|
77598
|
+
return purify.sanitize(untrusted, {
|
|
77599
|
+
...resolvedConfig,
|
|
77600
|
+
RETURN_DOM_FRAGMENT: true
|
|
77601
|
+
});
|
|
77602
|
+
} else {
|
|
77603
|
+
return purify.sanitize(untrusted, {
|
|
77604
|
+
...resolvedConfig,
|
|
77605
|
+
RETURN_TRUSTED_TYPE: true
|
|
77606
|
+
});
|
|
77607
|
+
}
|
|
77730
77608
|
} finally {
|
|
77731
77609
|
store.dispose();
|
|
77732
77610
|
}
|
|
@@ -77770,7 +77648,8 @@ ${text2}</tr>
|
|
|
77770
77648
|
return fragment;
|
|
77771
77649
|
}
|
|
77772
77650
|
function safeSetInnerHtml(node, untrusted, config) {
|
|
77773
|
-
|
|
77651
|
+
const fragment = doSanitizeHtml(untrusted, config, "dom");
|
|
77652
|
+
reset(node, fragment);
|
|
77774
77653
|
}
|
|
77775
77654
|
const labelWithIconsRegex = new RegExp(`(\\\\)?\\$\\((${ThemeIcon.iconNameExpression}(?:${ThemeIcon.iconModifierExpression})?)\\)`, "g");
|
|
77776
77655
|
function renderLabelWithIcons(text2) {
|
|
@@ -83652,7 +83531,7 @@ ${escape$2(text2)}
|
|
|
83652
83531
|
IconFontDefinition2.fromJSONObject = fromJSONObject;
|
|
83653
83532
|
})(IconFontDefinition || (IconFontDefinition = {}));
|
|
83654
83533
|
const fontIdRegex = /^([\w_-]+)$/;
|
|
83655
|
-
const fontIdErrorMessage = localize(
|
|
83534
|
+
const fontIdErrorMessage = localize(2001, "The font ID must only contain letters, numbers, underscores and dashes.");
|
|
83656
83535
|
class IconRegistry extends Disposable {
|
|
83657
83536
|
constructor() {
|
|
83658
83537
|
super();
|
|
@@ -83663,8 +83542,8 @@ ${escape$2(text2)}
|
|
|
83663
83542
|
icons: {
|
|
83664
83543
|
type: "object",
|
|
83665
83544
|
properties: {
|
|
83666
|
-
fontId: { type: "string", description: localize(
|
|
83667
|
-
fontCharacter: { type: "string", description: localize(
|
|
83545
|
+
fontId: { type: "string", description: localize(2002, "The id of the font to use. If not set, the font that is defined first is used."), pattern: fontIdRegex.source, patternErrorMessage: fontIdErrorMessage },
|
|
83546
|
+
fontCharacter: { type: "string", description: localize(2003, "The font character associated with the icon definition.") }
|
|
83668
83547
|
},
|
|
83669
83548
|
additionalProperties: false,
|
|
83670
83549
|
defaultSnippets: [{ body: { fontCharacter: "\\\\e030" } }]
|
|
@@ -83765,9 +83644,9 @@ ${escape$2(text2)}
|
|
|
83765
83644
|
delayer.schedule();
|
|
83766
83645
|
}
|
|
83767
83646
|
});
|
|
83768
|
-
const widgetClose = registerIcon("widget-close", Codicon.close, localize(
|
|
83769
|
-
registerIcon("goto-previous-location", Codicon.arrowUp, localize(
|
|
83770
|
-
registerIcon("goto-next-location", Codicon.arrowDown, localize(
|
|
83647
|
+
const widgetClose = registerIcon("widget-close", Codicon.close, localize(2004, "Icon for the close action in widgets."));
|
|
83648
|
+
registerIcon("goto-previous-location", Codicon.arrowUp, localize(2005, "Icon for goto previous editor location."));
|
|
83649
|
+
registerIcon("goto-next-location", Codicon.arrowDown, localize(2006, "Icon for goto next editor location."));
|
|
83771
83650
|
ThemeIcon.modify(Codicon.sync, "spin");
|
|
83772
83651
|
ThemeIcon.modify(Codicon.loading, "spin");
|
|
83773
83652
|
const accessibleDiffViewer = "";
|
|
@@ -88718,7 +88597,7 @@ ${escape$2(text2)}
|
|
|
88718
88597
|
}
|
|
88719
88598
|
for (const event of [EventType$1.MOUSE_DOWN, EventType.Tap]) {
|
|
88720
88599
|
this._register(addDisposableListener(this._label, event, (e) => {
|
|
88721
|
-
if (isMouseEvent(e) &&
|
|
88600
|
+
if (isMouseEvent(e) && e.button !== 0) {
|
|
88722
88601
|
return;
|
|
88723
88602
|
}
|
|
88724
88603
|
if (this.visible) {
|
|
@@ -90817,7 +90696,7 @@ ${escape$2(text2)}
|
|
|
90817
90696
|
get onDidChangeMenuItems() {
|
|
90818
90697
|
return this._onDidChangeMenuItems.event;
|
|
90819
90698
|
}
|
|
90820
|
-
constructor(container, menuId, options, menuService, contextKeyService, contextMenuService, keybindingService, commandService, telemetryService, actionViewService,
|
|
90699
|
+
constructor(container, menuId, options, menuService, contextKeyService, contextMenuService, keybindingService, commandService, telemetryService, actionViewService, instantiationService) {
|
|
90821
90700
|
super(container, {
|
|
90822
90701
|
resetMenu: menuId,
|
|
90823
90702
|
...options,
|
|
@@ -90826,11 +90705,11 @@ ${escape$2(text2)}
|
|
|
90826
90705
|
if (!provider) {
|
|
90827
90706
|
provider = options == null ? void 0 : options.actionViewItemProvider;
|
|
90828
90707
|
}
|
|
90829
|
-
const viewItem = provider == null ? void 0 : provider(action, opts,
|
|
90708
|
+
const viewItem = provider == null ? void 0 : provider(action, opts, instantiationService, getWindow(container).vscodeWindowId);
|
|
90830
90709
|
if (viewItem) {
|
|
90831
90710
|
return viewItem;
|
|
90832
90711
|
}
|
|
90833
|
-
return createActionViewItem(
|
|
90712
|
+
return createActionViewItem(instantiationService, action, opts);
|
|
90834
90713
|
}
|
|
90835
90714
|
}, menuService, contextKeyService, contextMenuService, keybindingService, commandService, telemetryService);
|
|
90836
90715
|
this._onDidChangeMenuItems = this._store.add(new Emitter$1());
|
|
@@ -94762,7 +94641,7 @@ ${escape$2(text2)}
|
|
|
94762
94641
|
}
|
|
94763
94642
|
}
|
|
94764
94643
|
const WORKSPACE_EXTENSION = "code-workspace";
|
|
94765
|
-
[{ name: localize(
|
|
94644
|
+
[{ name: localize(2027, "Code Workspace"), extensions: [WORKSPACE_EXTENSION] }];
|
|
94766
94645
|
const STANDALONE_EDITOR_WORKSPACE_ID = "4064f6ec-cb38-4ad0-af64-ee6467e63c82";
|
|
94767
94646
|
function isStandaloneEditorWorkspace(workspace) {
|
|
94768
94647
|
return workspace.id === STANDALONE_EDITOR_WORKSPACE_ID;
|
|
@@ -96338,8 +96217,8 @@ ${escape$2(text2)}
|
|
|
96338
96217
|
this._contextViewService = _contextViewService;
|
|
96339
96218
|
this._keybindingService = _keybindingService;
|
|
96340
96219
|
this._layoutService = _layoutService;
|
|
96341
|
-
this._actionLineHeight =
|
|
96342
|
-
this._headerLineHeight =
|
|
96220
|
+
this._actionLineHeight = 28;
|
|
96221
|
+
this._headerLineHeight = 28;
|
|
96343
96222
|
this._separatorLineHeight = 8;
|
|
96344
96223
|
this.cts = this._register(new CancellationTokenSource$1());
|
|
96345
96224
|
this.domNode = document.createElement("div");
|
|
@@ -98423,17 +98302,17 @@ ${escape$2(text2)}
|
|
|
98423
98302
|
}
|
|
98424
98303
|
MarkerSeverity2.compare = compare2;
|
|
98425
98304
|
const _displayStrings = /* @__PURE__ */ Object.create(null);
|
|
98426
|
-
_displayStrings[MarkerSeverity2.Error] = localize(
|
|
98427
|
-
_displayStrings[MarkerSeverity2.Warning] = localize(
|
|
98428
|
-
_displayStrings[MarkerSeverity2.Info] = localize(
|
|
98305
|
+
_displayStrings[MarkerSeverity2.Error] = localize(1712, "Error");
|
|
98306
|
+
_displayStrings[MarkerSeverity2.Warning] = localize(1713, "Warning");
|
|
98307
|
+
_displayStrings[MarkerSeverity2.Info] = localize(1714, "Info");
|
|
98429
98308
|
function toString(a) {
|
|
98430
98309
|
return _displayStrings[a] || "";
|
|
98431
98310
|
}
|
|
98432
98311
|
MarkerSeverity2.toString = toString;
|
|
98433
98312
|
const _displayStringsPlural = /* @__PURE__ */ Object.create(null);
|
|
98434
|
-
_displayStringsPlural[MarkerSeverity2.Error] = localize(
|
|
98435
|
-
_displayStringsPlural[MarkerSeverity2.Warning] = localize(
|
|
98436
|
-
_displayStringsPlural[MarkerSeverity2.Info] = localize(
|
|
98313
|
+
_displayStringsPlural[MarkerSeverity2.Error] = localize(1715, "Errors");
|
|
98314
|
+
_displayStringsPlural[MarkerSeverity2.Warning] = localize(1716, "Warnings");
|
|
98315
|
+
_displayStringsPlural[MarkerSeverity2.Info] = localize(1717, "Infos");
|
|
98437
98316
|
function toStringPlural(a) {
|
|
98438
98317
|
return _displayStringsPlural[a] || "";
|
|
98439
98318
|
}
|
|
@@ -111855,9 +111734,8 @@ ${escape$2(text2)}
|
|
|
111855
111734
|
new RawContextKey("isMobile", isMobile, localize(1672, "Whether the platform is a mobile web browser"));
|
|
111856
111735
|
new RawContextKey("isDevelopment", false, true);
|
|
111857
111736
|
new RawContextKey("productQualityType", "", localize(1673, "Quality type of VS Code"));
|
|
111858
|
-
new RawContextKey("isSimulation", false, localize(1674, "Whether the application runs in simulation mode"));
|
|
111859
111737
|
const InputFocusedContextKey = "inputFocus";
|
|
111860
|
-
const InputFocusedContext = new RawContextKey(InputFocusedContextKey, false, localize(
|
|
111738
|
+
const InputFocusedContext = new RawContextKey(InputFocusedContextKey, false, localize(1674, "Whether keyboard focus is inside an input box"));
|
|
111861
111739
|
var __decorate$1$ = globalThis && globalThis.__decorate || function(decorators, target, key, desc) {
|
|
111862
111740
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
111863
111741
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
@@ -112723,118 +112601,118 @@ ${escape$2(text2)}
|
|
|
112723
112601
|
configurationRegistry.registerConfiguration({
|
|
112724
112602
|
id: "workbench",
|
|
112725
112603
|
order: 7,
|
|
112726
|
-
title: localize(
|
|
112604
|
+
title: localize(1685, "Workbench"),
|
|
112727
112605
|
type: "object",
|
|
112728
112606
|
properties: {
|
|
112729
112607
|
[multiSelectModifierSettingKey]: {
|
|
112730
112608
|
type: "string",
|
|
112731
112609
|
enum: ["ctrlCmd", "alt"],
|
|
112732
112610
|
markdownEnumDescriptions: [
|
|
112733
|
-
localize(
|
|
112734
|
-
localize(
|
|
112611
|
+
localize(1686, "Maps to `Control` on Windows and Linux and to `Command` on macOS."),
|
|
112612
|
+
localize(1687, "Maps to `Alt` on Windows and Linux and to `Option` on macOS.")
|
|
112735
112613
|
],
|
|
112736
112614
|
default: "ctrlCmd",
|
|
112737
|
-
description: localize(
|
|
112615
|
+
description: localize(1688, "The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")
|
|
112738
112616
|
},
|
|
112739
112617
|
[openModeSettingKey]: {
|
|
112740
112618
|
type: "string",
|
|
112741
112619
|
enum: ["singleClick", "doubleClick"],
|
|
112742
112620
|
default: "singleClick",
|
|
112743
|
-
description: localize(
|
|
112621
|
+
description: localize(1689, "Controls how to open items in trees and lists using the mouse (if supported). Note that some trees and lists might choose to ignore this setting if it is not applicable.")
|
|
112744
112622
|
},
|
|
112745
112623
|
[horizontalScrollingKey]: {
|
|
112746
112624
|
type: "boolean",
|
|
112747
112625
|
default: false,
|
|
112748
|
-
description: localize(
|
|
112626
|
+
description: localize(1690, "Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")
|
|
112749
112627
|
},
|
|
112750
112628
|
[scrollByPageKey]: {
|
|
112751
112629
|
type: "boolean",
|
|
112752
112630
|
default: false,
|
|
112753
|
-
description: localize(
|
|
112631
|
+
description: localize(1691, "Controls whether clicks in the scrollbar scroll page by page.")
|
|
112754
112632
|
},
|
|
112755
112633
|
[treeIndentKey]: {
|
|
112756
112634
|
type: "number",
|
|
112757
112635
|
default: 8,
|
|
112758
112636
|
minimum: 4,
|
|
112759
112637
|
maximum: 40,
|
|
112760
|
-
description: localize(
|
|
112638
|
+
description: localize(1692, "Controls tree indentation in pixels.")
|
|
112761
112639
|
},
|
|
112762
112640
|
[treeRenderIndentGuidesKey]: {
|
|
112763
112641
|
type: "string",
|
|
112764
112642
|
enum: ["none", "onHover", "always"],
|
|
112765
112643
|
default: "onHover",
|
|
112766
|
-
description: localize(
|
|
112644
|
+
description: localize(1693, "Controls whether the tree should render indent guides.")
|
|
112767
112645
|
},
|
|
112768
112646
|
[listSmoothScrolling]: {
|
|
112769
112647
|
type: "boolean",
|
|
112770
112648
|
default: false,
|
|
112771
|
-
description: localize(
|
|
112649
|
+
description: localize(1694, "Controls whether lists and trees have smooth scrolling.")
|
|
112772
112650
|
},
|
|
112773
112651
|
[mouseWheelScrollSensitivityKey]: {
|
|
112774
112652
|
type: "number",
|
|
112775
112653
|
default: 1,
|
|
112776
|
-
markdownDescription: localize(
|
|
112654
|
+
markdownDescription: localize(1695, "A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")
|
|
112777
112655
|
},
|
|
112778
112656
|
[fastScrollSensitivityKey]: {
|
|
112779
112657
|
type: "number",
|
|
112780
112658
|
default: 5,
|
|
112781
|
-
markdownDescription: localize(
|
|
112659
|
+
markdownDescription: localize(1696, "Scrolling speed multiplier when pressing `Alt`.")
|
|
112782
112660
|
},
|
|
112783
112661
|
[defaultFindModeSettingKey]: {
|
|
112784
112662
|
type: "string",
|
|
112785
112663
|
enum: ["highlight", "filter"],
|
|
112786
112664
|
enumDescriptions: [
|
|
112787
|
-
localize(
|
|
112788
|
-
localize(
|
|
112665
|
+
localize(1697, "Highlight elements when searching. Further up and down navigation will traverse only the highlighted elements."),
|
|
112666
|
+
localize(1698, "Filter elements when searching.")
|
|
112789
112667
|
],
|
|
112790
112668
|
default: "highlight",
|
|
112791
|
-
description: localize(
|
|
112669
|
+
description: localize(1699, "Controls the default find mode for lists and trees in the workbench.")
|
|
112792
112670
|
},
|
|
112793
112671
|
[keyboardNavigationSettingKey]: {
|
|
112794
112672
|
type: "string",
|
|
112795
112673
|
enum: ["simple", "highlight", "filter"],
|
|
112796
112674
|
enumDescriptions: [
|
|
112797
|
-
localize(
|
|
112798
|
-
localize(
|
|
112799
|
-
localize(
|
|
112675
|
+
localize(1700, "Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),
|
|
112676
|
+
localize(1701, "Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),
|
|
112677
|
+
localize(1702, "Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")
|
|
112800
112678
|
],
|
|
112801
112679
|
default: "highlight",
|
|
112802
|
-
description: localize(
|
|
112680
|
+
description: localize(1703, "Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter."),
|
|
112803
112681
|
deprecated: true,
|
|
112804
|
-
deprecationMessage: localize(
|
|
112682
|
+
deprecationMessage: localize(1704, "Please use 'workbench.list.defaultFindMode' and 'workbench.list.typeNavigationMode' instead.")
|
|
112805
112683
|
},
|
|
112806
112684
|
[defaultFindMatchTypeSettingKey]: {
|
|
112807
112685
|
type: "string",
|
|
112808
112686
|
enum: ["fuzzy", "contiguous"],
|
|
112809
112687
|
enumDescriptions: [
|
|
112810
|
-
localize(
|
|
112811
|
-
localize(
|
|
112688
|
+
localize(1705, "Use fuzzy matching when searching."),
|
|
112689
|
+
localize(1706, "Use contiguous matching when searching.")
|
|
112812
112690
|
],
|
|
112813
112691
|
default: "fuzzy",
|
|
112814
|
-
description: localize(
|
|
112692
|
+
description: localize(1707, "Controls the type of matching used when searching lists and trees in the workbench.")
|
|
112815
112693
|
},
|
|
112816
112694
|
[treeExpandMode]: {
|
|
112817
112695
|
type: "string",
|
|
112818
112696
|
enum: ["singleClick", "doubleClick"],
|
|
112819
112697
|
default: "singleClick",
|
|
112820
|
-
description: localize(
|
|
112698
|
+
description: localize(1708, "Controls how tree folders are expanded when clicking the folder names. Note that some trees and lists might choose to ignore this setting if it is not applicable.")
|
|
112821
112699
|
},
|
|
112822
112700
|
[treeStickyScroll]: {
|
|
112823
112701
|
type: "boolean",
|
|
112824
112702
|
default: true,
|
|
112825
|
-
description: localize(
|
|
112703
|
+
description: localize(1709, "Controls whether sticky scrolling is enabled in trees.")
|
|
112826
112704
|
},
|
|
112827
112705
|
[treeStickyScrollMaxElements]: {
|
|
112828
112706
|
type: "number",
|
|
112829
112707
|
minimum: 1,
|
|
112830
112708
|
default: 7,
|
|
112831
|
-
markdownDescription: localize(
|
|
112709
|
+
markdownDescription: localize(1710, "Controls the number of sticky elements displayed in the tree when {0} is enabled.", "`#workbench.tree.enableStickyScroll#`")
|
|
112832
112710
|
},
|
|
112833
112711
|
[typeNavigationModeSettingKey]: {
|
|
112834
112712
|
type: "string",
|
|
112835
112713
|
enum: ["automatic", "trigger"],
|
|
112836
112714
|
default: "automatic",
|
|
112837
|
-
markdownDescription: localize(
|
|
112715
|
+
markdownDescription: localize(1711, "Controls how type navigation works in lists and trees in the workbench. When set to `trigger`, type navigation begins once the `list.triggerTypeNavigation` command is run.")
|
|
112838
112716
|
}
|
|
112839
112717
|
}
|
|
112840
112718
|
});
|
|
@@ -120644,7 +120522,7 @@ ${escape$2(text2)}
|
|
|
120644
120522
|
decorator(target, key, paramIndex);
|
|
120645
120523
|
};
|
|
120646
120524
|
};
|
|
120647
|
-
const historyNavigationVisible = new RawContextKey("suggestWidgetVisible", false, localize(
|
|
120525
|
+
const historyNavigationVisible = new RawContextKey("suggestWidgetVisible", false, localize(1680, "Whether suggestion are visible"));
|
|
120648
120526
|
const HistoryNavigationWidgetFocusContext = "historyNavigationWidgetFocus";
|
|
120649
120527
|
const HistoryNavigationForwardsEnablementContext = "historyNavigationForwardsEnabled";
|
|
120650
120528
|
const HistoryNavigationBackwardsEnablementContext = "historyNavigationBackwardsEnabled";
|
|
@@ -129295,7 +129173,7 @@ ${escape$2(text2)}
|
|
|
129295
129173
|
runningCount--;
|
|
129296
129174
|
}
|
|
129297
129175
|
});
|
|
129298
|
-
const inlineCompletionLists =
|
|
129176
|
+
const inlineCompletionLists = AsyncIterableProducer.fromPromisesResolveOrder(providers.map((p) => queryProvider.get(p))).filter(isDefined);
|
|
129299
129177
|
return {
|
|
129300
129178
|
get didAllProvidersReturn() {
|
|
129301
129179
|
return runningCount === 0;
|
|
@@ -137674,7 +137552,7 @@ ${escape$2(text2)}
|
|
|
137674
137552
|
var _a3;
|
|
137675
137553
|
return {
|
|
137676
137554
|
id: action.id,
|
|
137677
|
-
label: action.title,
|
|
137555
|
+
label: action.title + "...",
|
|
137678
137556
|
enabled: true,
|
|
137679
137557
|
run: () => {
|
|
137680
137558
|
var _a4;
|
|
@@ -137689,8 +137567,8 @@ ${escape$2(text2)}
|
|
|
137689
137567
|
gotoAndAccept,
|
|
137690
137568
|
reject,
|
|
137691
137569
|
toggleCollapsedMode,
|
|
137692
|
-
settings,
|
|
137693
137570
|
extensionCommands.length ? separator() : void 0,
|
|
137571
|
+
settings,
|
|
137694
137572
|
...extensionCommands,
|
|
137695
137573
|
actionBarFooter ? separator() : void 0,
|
|
137696
137574
|
actionBarFooter
|
|
@@ -137713,7 +137591,7 @@ ${escape$2(text2)}
|
|
|
137713
137591
|
class: "content",
|
|
137714
137592
|
style: {
|
|
137715
137593
|
margin: 4,
|
|
137716
|
-
minWidth:
|
|
137594
|
+
minWidth: 180
|
|
137717
137595
|
}
|
|
137718
137596
|
}, content);
|
|
137719
137597
|
}
|
|
@@ -137722,10 +137600,10 @@ ${escape$2(text2)}
|
|
|
137722
137600
|
class: "header",
|
|
137723
137601
|
style: {
|
|
137724
137602
|
color: asCssVariable(descriptionForeground),
|
|
137725
|
-
fontSize: "
|
|
137603
|
+
fontSize: "13px",
|
|
137726
137604
|
fontWeight: "600",
|
|
137727
|
-
padding: "0
|
|
137728
|
-
lineHeight:
|
|
137605
|
+
padding: "0 4px",
|
|
137606
|
+
lineHeight: 28
|
|
137729
137607
|
}
|
|
137730
137608
|
}, [title]);
|
|
137731
137609
|
}
|
|
@@ -137768,7 +137646,8 @@ ${escape$2(text2)}
|
|
|
137768
137646
|
disableTitle: true,
|
|
137769
137647
|
...defaultKeybindingLabelStyles,
|
|
137770
137648
|
keybindingLabelShadow: void 0,
|
|
137771
|
-
|
|
137649
|
+
keybindingLabelForeground: asCssVariable(descriptionForeground),
|
|
137650
|
+
keybindingLabelBackground: "transparent",
|
|
137772
137651
|
keybindingLabelBorder: "transparent",
|
|
137773
137652
|
keybindingLabelBottomBorder: void 0
|
|
137774
137653
|
}));
|
|
@@ -137784,7 +137663,7 @@ ${escape$2(text2)}
|
|
|
137784
137663
|
return derived({ name: "inlineEdits.actionBar" }, (_reader) => n.div({
|
|
137785
137664
|
class: ["action-widget-action-bar"],
|
|
137786
137665
|
style: {
|
|
137787
|
-
padding: "
|
|
137666
|
+
padding: "3px 24px"
|
|
137788
137667
|
}
|
|
137789
137668
|
}, [
|
|
137790
137669
|
n.div({
|
|
@@ -137801,7 +137680,7 @@ ${escape$2(text2)}
|
|
|
137801
137680
|
class: "menu-separator",
|
|
137802
137681
|
style: {
|
|
137803
137682
|
color: asCssVariable(editorActionListForeground),
|
|
137804
|
-
padding: "
|
|
137683
|
+
padding: "2px 0"
|
|
137805
137684
|
}
|
|
137806
137685
|
}, n.div({
|
|
137807
137686
|
style: {
|
|
@@ -141197,15 +141076,20 @@ ${escape$2(text2)}
|
|
|
141197
141076
|
currentInlineCompletionBySemanticId.read(reader);
|
|
141198
141077
|
return {};
|
|
141199
141078
|
}), async (_value, _, _deltas, store) => {
|
|
141200
|
-
|
|
141201
|
-
|
|
141079
|
+
let model = this.model.get();
|
|
141080
|
+
let state = model == null ? void 0 : model.state.get();
|
|
141202
141081
|
if (!state || !model) {
|
|
141203
141082
|
return;
|
|
141204
141083
|
}
|
|
141205
|
-
const lineText = state.kind === "ghostText" ? model.textModel.getLineContent(state.primaryGhostText.lineNumber) : "";
|
|
141206
141084
|
await timeout(50, cancelOnDispose(store));
|
|
141207
141085
|
await waitForState(this._suggestWidgetAdapter.selectedItem, isUndefined, () => false, cancelOnDispose(store));
|
|
141208
|
-
|
|
141086
|
+
model = this.model.get();
|
|
141087
|
+
state = model == null ? void 0 : model.state.get();
|
|
141088
|
+
if (!state || !model) {
|
|
141089
|
+
return;
|
|
141090
|
+
}
|
|
141091
|
+
const lineText = state.kind === "ghostText" ? model.textModel.getLineContent(state.primaryGhostText.lineNumber) : "";
|
|
141092
|
+
this._accessibilitySignalService.playSignal(state.kind === "ghostText" ? AccessibilitySignal.inlineSuggestion : AccessibilitySignal.nextEditSuggestion);
|
|
141209
141093
|
if (this.editor.getOption(12)) {
|
|
141210
141094
|
if (state.kind === "ghostText") {
|
|
141211
141095
|
this._provideScreenReaderUpdate(state.primaryGhostText.renderForScreenReader(lineText));
|
|
@@ -146277,7 +146161,7 @@ ${json}
|
|
|
146277
146161
|
}
|
|
146278
146162
|
_modifyText(text2, wordSeparators2) {
|
|
146279
146163
|
var _a3;
|
|
146280
|
-
const wordBoundary = _CamelCaseAction.
|
|
146164
|
+
const wordBoundary = /\r\n|\r|\n/.test(text2) ? _CamelCaseAction.multiLineWordBoundary.get() : _CamelCaseAction.singleLineWordBoundary.get();
|
|
146281
146165
|
const validWordStart = _CamelCaseAction.validWordStart.get();
|
|
146282
146166
|
if (!wordBoundary || !validWordStart) {
|
|
146283
146167
|
return text2;
|
|
@@ -146289,7 +146173,10 @@ ${json}
|
|
|
146289
146173
|
};
|
|
146290
146174
|
let CamelCaseAction = _CamelCaseAction;
|
|
146291
146175
|
(() => {
|
|
146292
|
-
_CamelCaseAction.
|
|
146176
|
+
_CamelCaseAction.singleLineWordBoundary = new BackwardsCompatibleRegExp("[_\\s-]+", "gm");
|
|
146177
|
+
})();
|
|
146178
|
+
(() => {
|
|
146179
|
+
_CamelCaseAction.multiLineWordBoundary = new BackwardsCompatibleRegExp("[_-]+", "gm");
|
|
146293
146180
|
})();
|
|
146294
146181
|
(() => {
|
|
146295
146182
|
_CamelCaseAction.validWordStart = new BackwardsCompatibleRegExp("^(\\p{Lu}[^\\p{Lu}])", "gmu");
|
|
@@ -146315,7 +146202,7 @@ ${json}
|
|
|
146315
146202
|
};
|
|
146316
146203
|
let PascalCaseAction = _PascalCaseAction;
|
|
146317
146204
|
(() => {
|
|
146318
|
-
_PascalCaseAction.wordBoundary = new BackwardsCompatibleRegExp("[_\\
|
|
146205
|
+
_PascalCaseAction.wordBoundary = new BackwardsCompatibleRegExp("[_ \\t-]", "gm");
|
|
146319
146206
|
})();
|
|
146320
146207
|
(() => {
|
|
146321
146208
|
_PascalCaseAction.wordBoundaryToMaintain = new BackwardsCompatibleRegExp("(?<=\\.)", "gm");
|
|
@@ -146380,7 +146267,7 @@ ${json}
|
|
|
146380
146267
|
if (SnakeCaseAction.caseBoundary.isSupported() && SnakeCaseAction.singleLetters.isSupported()) {
|
|
146381
146268
|
registerEditorAction(SnakeCaseAction);
|
|
146382
146269
|
}
|
|
146383
|
-
if (CamelCaseAction.
|
|
146270
|
+
if (CamelCaseAction.singleLineWordBoundary.isSupported() && CamelCaseAction.multiLineWordBoundary.isSupported()) {
|
|
146384
146271
|
registerEditorAction(CamelCaseAction);
|
|
146385
146272
|
}
|
|
146386
146273
|
if (PascalCaseAction.wordBoundary.isSupported()) {
|
|
@@ -155905,7 +155792,7 @@ ${json}
|
|
|
155905
155792
|
prefix,
|
|
155906
155793
|
label,
|
|
155907
155794
|
keybinding: helpEntry.commandId ? this.keybindingService.lookupKeybinding(helpEntry.commandId) : void 0,
|
|
155908
|
-
ariaLabel: localize(
|
|
155795
|
+
ariaLabel: localize(1727, "{0}, {1}", label, helpEntry.description),
|
|
155909
155796
|
description: helpEntry.description
|
|
155910
155797
|
};
|
|
155911
155798
|
});
|
|
@@ -156301,7 +156188,7 @@ ${json}
|
|
|
156301
156188
|
} else {
|
|
156302
156189
|
pathNormalized = original.replace(/\\/g, sep);
|
|
156303
156190
|
}
|
|
156304
|
-
const normalized =
|
|
156191
|
+
const normalized = pathNormalized.replace(/[\*\u2026\s"]/g, "");
|
|
156305
156192
|
return {
|
|
156306
156193
|
pathNormalized,
|
|
156307
156194
|
normalized,
|
|
@@ -157185,20 +157072,20 @@ ${json}
|
|
|
157185
157072
|
for (let i2 = 0; i2 < filteredCommandPicks.length; i2++) {
|
|
157186
157073
|
const commandPick = filteredCommandPicks[i2];
|
|
157187
157074
|
if (i2 === 0 && this.commandsHistory.peek(commandPick.commandId)) {
|
|
157188
|
-
commandPicks.push({ type: "separator", label: localize(
|
|
157075
|
+
commandPicks.push({ type: "separator", label: localize(1720, "recently used") });
|
|
157189
157076
|
addOtherSeparator = true;
|
|
157190
157077
|
}
|
|
157191
157078
|
if (addSuggestedSeparator && commandPick.tfIdfScore !== void 0) {
|
|
157192
|
-
commandPicks.push({ type: "separator", label: localize(
|
|
157079
|
+
commandPicks.push({ type: "separator", label: localize(1721, "similar commands") });
|
|
157193
157080
|
addSuggestedSeparator = false;
|
|
157194
157081
|
}
|
|
157195
157082
|
if (addCommonlyUsedSeparator && commandPick.tfIdfScore === void 0 && !this.commandsHistory.peek(commandPick.commandId) && ((_c3 = this.options.suggestedCommandIds) == null ? void 0 : _c3.has(commandPick.commandId))) {
|
|
157196
|
-
commandPicks.push({ type: "separator", label: localize(
|
|
157083
|
+
commandPicks.push({ type: "separator", label: localize(1722, "commonly used") });
|
|
157197
157084
|
addOtherSeparator = true;
|
|
157198
157085
|
addCommonlyUsedSeparator = false;
|
|
157199
157086
|
}
|
|
157200
157087
|
if (addOtherSeparator && commandPick.tfIdfScore === void 0 && !this.commandsHistory.peek(commandPick.commandId) && !((_d2 = this.options.suggestedCommandIds) == null ? void 0 : _d2.has(commandPick.commandId))) {
|
|
157201
|
-
commandPicks.push({ type: "separator", label: localize(
|
|
157088
|
+
commandPicks.push({ type: "separator", label: localize(1723, "other commands") });
|
|
157202
157089
|
addOtherSeparator = false;
|
|
157203
157090
|
}
|
|
157204
157091
|
commandPicks.push(this.toCommandPick(commandPick, runOptions));
|
|
@@ -157216,7 +157103,7 @@ ${json}
|
|
|
157216
157103
|
}
|
|
157217
157104
|
const commandPicks2 = additionalCommandPicks.map((commandPick) => this.toCommandPick(commandPick, runOptions));
|
|
157218
157105
|
if (addSuggestedSeparator && ((_a4 = commandPicks2[0]) == null ? void 0 : _a4.type) !== "separator") {
|
|
157219
|
-
commandPicks2.unshift({ type: "separator", label: localize(
|
|
157106
|
+
commandPicks2.unshift({ type: "separator", label: localize(1724, "similar commands") });
|
|
157220
157107
|
}
|
|
157221
157108
|
return commandPicks2;
|
|
157222
157109
|
})()
|
|
@@ -157227,7 +157114,7 @@ ${json}
|
|
|
157227
157114
|
return commandPick;
|
|
157228
157115
|
}
|
|
157229
157116
|
const keybinding = this.keybindingService.lookupKeybinding(commandPick.commandId);
|
|
157230
|
-
const ariaLabel = keybinding ? localize(
|
|
157117
|
+
const ariaLabel = keybinding ? localize(1725, "{0}, {1}", commandPick.label, keybinding.getAriaLabel()) : commandPick.label;
|
|
157231
157118
|
return {
|
|
157232
157119
|
...commandPick,
|
|
157233
157120
|
ariaLabel,
|
|
@@ -157244,7 +157131,7 @@ ${json}
|
|
|
157244
157131
|
((_b3 = commandPick.args) == null ? void 0 : _b3.length) ? await this.commandService.executeCommand(commandPick.commandId, ...commandPick.args) : await this.commandService.executeCommand(commandPick.commandId);
|
|
157245
157132
|
} catch (error) {
|
|
157246
157133
|
if (!isCancellationError(error)) {
|
|
157247
|
-
this.dialogService.error(localize(
|
|
157134
|
+
this.dialogService.error(localize(1726, "Command '{0}' resulted in an error", commandPick.label), toErrorMessage(error));
|
|
157248
157135
|
}
|
|
157249
157136
|
}
|
|
157250
157137
|
}
|
|
@@ -162285,10 +162172,10 @@ ${this._themeCSS}`;
|
|
|
162285
162172
|
}
|
|
162286
162173
|
const messages = [];
|
|
162287
162174
|
if (externalRemoval.length > 0) {
|
|
162288
|
-
messages.push(localize(
|
|
162175
|
+
messages.push(localize(2007, "The following files have been closed and modified on disk: {0}.", externalRemoval.join(", ")));
|
|
162289
162176
|
}
|
|
162290
162177
|
if (noParallelUniverses.length > 0) {
|
|
162291
|
-
messages.push(localize(
|
|
162178
|
+
messages.push(localize(2008, "The following files have been modified in an incompatible way: {0}.", noParallelUniverses.join(", ")));
|
|
162292
162179
|
}
|
|
162293
162180
|
return messages.join("\n");
|
|
162294
162181
|
}
|
|
@@ -162834,10 +162721,10 @@ ${this._themeCSS}`;
|
|
|
162834
162721
|
}
|
|
162835
162722
|
_checkWorkspaceUndo(strResource, element, editStackSnapshot, checkInvalidatedResources) {
|
|
162836
162723
|
if (element.removedResources) {
|
|
162837
|
-
return this._tryToSplitAndUndo(strResource, element, element.removedResources, localize(
|
|
162724
|
+
return this._tryToSplitAndUndo(strResource, element, element.removedResources, localize(2009, "Could not undo '{0}' across all files. {1}", element.label, element.removedResources.createMessage()));
|
|
162838
162725
|
}
|
|
162839
162726
|
if (checkInvalidatedResources && element.invalidatedResources) {
|
|
162840
|
-
return this._tryToSplitAndUndo(strResource, element, element.invalidatedResources, localize(
|
|
162727
|
+
return this._tryToSplitAndUndo(strResource, element, element.invalidatedResources, localize(2010, "Could not undo '{0}' across all files. {1}", element.label, element.invalidatedResources.createMessage()));
|
|
162841
162728
|
}
|
|
162842
162729
|
const cannotUndoDueToResources = [];
|
|
162843
162730
|
for (const editStack of editStackSnapshot.editStacks) {
|
|
@@ -162846,7 +162733,7 @@ ${this._themeCSS}`;
|
|
|
162846
162733
|
}
|
|
162847
162734
|
}
|
|
162848
162735
|
if (cannotUndoDueToResources.length > 0) {
|
|
162849
|
-
return this._tryToSplitAndUndo(strResource, element, null, localize(
|
|
162736
|
+
return this._tryToSplitAndUndo(strResource, element, null, localize(2011, "Could not undo '{0}' across all files because changes were made to {1}", element.label, cannotUndoDueToResources.join(", ")));
|
|
162850
162737
|
}
|
|
162851
162738
|
const cannotLockDueToResources = [];
|
|
162852
162739
|
for (const editStack of editStackSnapshot.editStacks) {
|
|
@@ -162855,10 +162742,10 @@ ${this._themeCSS}`;
|
|
|
162855
162742
|
}
|
|
162856
162743
|
}
|
|
162857
162744
|
if (cannotLockDueToResources.length > 0) {
|
|
162858
|
-
return this._tryToSplitAndUndo(strResource, element, null, localize(
|
|
162745
|
+
return this._tryToSplitAndUndo(strResource, element, null, localize(2012, "Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}", element.label, cannotLockDueToResources.join(", ")));
|
|
162859
162746
|
}
|
|
162860
162747
|
if (!editStackSnapshot.isValid()) {
|
|
162861
|
-
return this._tryToSplitAndUndo(strResource, element, null, localize(
|
|
162748
|
+
return this._tryToSplitAndUndo(strResource, element, null, localize(2013, "Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime", element.label));
|
|
162862
162749
|
}
|
|
162863
162750
|
return null;
|
|
162864
162751
|
}
|
|
@@ -162901,14 +162788,14 @@ ${this._themeCSS}`;
|
|
|
162901
162788
|
})(UndoChoice || (UndoChoice = {}));
|
|
162902
162789
|
const { result } = await this._dialogService.prompt({
|
|
162903
162790
|
type: Severity$2.Info,
|
|
162904
|
-
message: localize(
|
|
162791
|
+
message: localize(2014, "Would you like to undo '{0}' across all files?", element.label),
|
|
162905
162792
|
buttons: [
|
|
162906
162793
|
{
|
|
162907
|
-
label: localize(
|
|
162794
|
+
label: localize(2015, "&&Undo in {0} Files", editStackSnapshot.editStacks.length),
|
|
162908
162795
|
run: () => UndoChoice.All
|
|
162909
162796
|
},
|
|
162910
162797
|
{
|
|
162911
|
-
label: localize(
|
|
162798
|
+
label: localize(2016, "Undo this &&File"),
|
|
162912
162799
|
run: () => UndoChoice.This
|
|
162913
162800
|
}
|
|
162914
162801
|
],
|
|
@@ -162951,7 +162838,7 @@ ${this._themeCSS}`;
|
|
|
162951
162838
|
return;
|
|
162952
162839
|
}
|
|
162953
162840
|
if (editStack.locked) {
|
|
162954
|
-
const message = localize(
|
|
162841
|
+
const message = localize(2017, "Could not undo '{0}' because there is already an undo or redo operation running.", element.label);
|
|
162955
162842
|
this._notificationService.warn(message);
|
|
162956
162843
|
return;
|
|
162957
162844
|
}
|
|
@@ -163029,9 +162916,9 @@ ${this._themeCSS}`;
|
|
|
163029
162916
|
}
|
|
163030
162917
|
async _confirmAndContinueUndo(strResource, sourceId, element) {
|
|
163031
162918
|
const result = await this._dialogService.confirm({
|
|
163032
|
-
message: localize(
|
|
163033
|
-
primaryButton: localize(
|
|
163034
|
-
cancelButton: localize(
|
|
162919
|
+
message: localize(2018, "Would you like to undo '{0}'?", element.label),
|
|
162920
|
+
primaryButton: localize(2019, "&&Yes"),
|
|
162921
|
+
cancelButton: localize(2020, "No")
|
|
163035
162922
|
});
|
|
163036
162923
|
if (!result.confirmed) {
|
|
163037
162924
|
return;
|
|
@@ -163085,10 +162972,10 @@ ${this._themeCSS}`;
|
|
|
163085
162972
|
}
|
|
163086
162973
|
_checkWorkspaceRedo(strResource, element, editStackSnapshot, checkInvalidatedResources) {
|
|
163087
162974
|
if (element.removedResources) {
|
|
163088
|
-
return this._tryToSplitAndRedo(strResource, element, element.removedResources, localize(
|
|
162975
|
+
return this._tryToSplitAndRedo(strResource, element, element.removedResources, localize(2021, "Could not redo '{0}' across all files. {1}", element.label, element.removedResources.createMessage()));
|
|
163089
162976
|
}
|
|
163090
162977
|
if (checkInvalidatedResources && element.invalidatedResources) {
|
|
163091
|
-
return this._tryToSplitAndRedo(strResource, element, element.invalidatedResources, localize(
|
|
162978
|
+
return this._tryToSplitAndRedo(strResource, element, element.invalidatedResources, localize(2022, "Could not redo '{0}' across all files. {1}", element.label, element.invalidatedResources.createMessage()));
|
|
163092
162979
|
}
|
|
163093
162980
|
const cannotRedoDueToResources = [];
|
|
163094
162981
|
for (const editStack of editStackSnapshot.editStacks) {
|
|
@@ -163097,7 +162984,7 @@ ${this._themeCSS}`;
|
|
|
163097
162984
|
}
|
|
163098
162985
|
}
|
|
163099
162986
|
if (cannotRedoDueToResources.length > 0) {
|
|
163100
|
-
return this._tryToSplitAndRedo(strResource, element, null, localize(
|
|
162987
|
+
return this._tryToSplitAndRedo(strResource, element, null, localize(2023, "Could not redo '{0}' across all files because changes were made to {1}", element.label, cannotRedoDueToResources.join(", ")));
|
|
163101
162988
|
}
|
|
163102
162989
|
const cannotLockDueToResources = [];
|
|
163103
162990
|
for (const editStack of editStackSnapshot.editStacks) {
|
|
@@ -163106,10 +162993,10 @@ ${this._themeCSS}`;
|
|
|
163106
162993
|
}
|
|
163107
162994
|
}
|
|
163108
162995
|
if (cannotLockDueToResources.length > 0) {
|
|
163109
|
-
return this._tryToSplitAndRedo(strResource, element, null, localize(
|
|
162996
|
+
return this._tryToSplitAndRedo(strResource, element, null, localize(2024, "Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}", element.label, cannotLockDueToResources.join(", ")));
|
|
163110
162997
|
}
|
|
163111
162998
|
if (!editStackSnapshot.isValid()) {
|
|
163112
|
-
return this._tryToSplitAndRedo(strResource, element, null, localize(
|
|
162999
|
+
return this._tryToSplitAndRedo(strResource, element, null, localize(2025, "Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime", element.label));
|
|
163113
163000
|
}
|
|
163114
163001
|
return null;
|
|
163115
163002
|
}
|
|
@@ -163144,7 +163031,7 @@ ${this._themeCSS}`;
|
|
|
163144
163031
|
return;
|
|
163145
163032
|
}
|
|
163146
163033
|
if (editStack.locked) {
|
|
163147
|
-
const message = localize(
|
|
163034
|
+
const message = localize(2026, "Could not redo '{0}' because there is already an undo or redo operation running.", element.label);
|
|
163148
163035
|
this._notificationService.warn(message);
|
|
163149
163036
|
return;
|
|
163150
163037
|
}
|
|
@@ -165809,11 +165696,11 @@ ${this._themeCSS}`;
|
|
|
165809
165696
|
case 0:
|
|
165810
165697
|
throw illegalState("impossible");
|
|
165811
165698
|
case 1:
|
|
165812
|
-
this._currentChordStatusMessage = this._notificationService.status(localize(
|
|
165699
|
+
this._currentChordStatusMessage = this._notificationService.status(localize(1681, "({0}) was pressed. Waiting for second key of chord...", keypressLabel));
|
|
165813
165700
|
break;
|
|
165814
165701
|
default: {
|
|
165815
165702
|
const fullKeypressLabel = this._currentChords.map(({ label }) => label).join(", ");
|
|
165816
|
-
this._currentChordStatusMessage = this._notificationService.status(localize(
|
|
165703
|
+
this._currentChordStatusMessage = this._notificationService.status(localize(1682, "({0}) was pressed. Waiting for next key of chord...", fullKeypressLabel));
|
|
165817
165704
|
}
|
|
165818
165705
|
}
|
|
165819
165706
|
this._scheduleLeaveChordMode();
|
|
@@ -165904,7 +165791,7 @@ ${this._themeCSS}`;
|
|
|
165904
165791
|
if (this.inChordMode) {
|
|
165905
165792
|
const currentChordsLabel = this._currentChords.map(({ label }) => label).join(", ");
|
|
165906
165793
|
this._log(`+ Leaving multi-chord mode: Nothing bound to "${currentChordsLabel}, ${keypressLabel}".`);
|
|
165907
|
-
this._notificationService.status(localize(
|
|
165794
|
+
this._notificationService.status(localize(1683, "The key combination ({0}, {1}) is not a command.", currentChordsLabel, keypressLabel), { hideAfter: 10 * 1e3 });
|
|
165908
165795
|
this._leaveChordMode();
|
|
165909
165796
|
shouldPreventDefault = true;
|
|
165910
165797
|
}
|
|
@@ -165923,7 +165810,7 @@ ${this._themeCSS}`;
|
|
|
165923
165810
|
if (this.inChordMode) {
|
|
165924
165811
|
const currentChordsLabel = this._currentChords.map(({ label }) => label).join(", ");
|
|
165925
165812
|
this._log(`+ Leaving chord mode: Nothing bound to "${currentChordsLabel}, ${keypressLabel}".`);
|
|
165926
|
-
this._notificationService.status(localize(
|
|
165813
|
+
this._notificationService.status(localize(1684, "The key combination ({0}, {1}) is not a command.", currentChordsLabel, keypressLabel), { hideAfter: 10 * 1e3 });
|
|
165927
165814
|
this._leaveChordMode();
|
|
165928
165815
|
shouldPreventDefault = true;
|
|
165929
165816
|
}
|
|
@@ -169012,7 +168899,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
169012
168899
|
} else {
|
|
169013
168900
|
let title = node.title;
|
|
169014
168901
|
if (!title && node.href.startsWith("command:")) {
|
|
169015
|
-
title = localize(
|
|
168902
|
+
title = localize(1749, "Click to execute command '{0}'", node.href.substring("command:".length));
|
|
169016
168903
|
} else if (!title) {
|
|
169017
168904
|
title = node.href;
|
|
169018
168905
|
}
|
|
@@ -169053,18 +168940,18 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
169053
168940
|
};
|
|
169054
168941
|
};
|
|
169055
168942
|
const inQuickInputContextKeyValue = "inQuickInput";
|
|
169056
|
-
const InQuickInputContextKey = new RawContextKey(inQuickInputContextKeyValue, false, localize(
|
|
168943
|
+
const InQuickInputContextKey = new RawContextKey(inQuickInputContextKeyValue, false, localize(1728, "Whether keyboard focus is inside the quick input control"));
|
|
169057
168944
|
const inQuickInputContext = ContextKeyExpr.has(inQuickInputContextKeyValue);
|
|
169058
168945
|
const quickInputAlignmentContextKeyValue = "quickInputAlignment";
|
|
169059
|
-
const QuickInputAlignmentContextKey = new RawContextKey(quickInputAlignmentContextKeyValue, "top", localize(
|
|
168946
|
+
const QuickInputAlignmentContextKey = new RawContextKey(quickInputAlignmentContextKeyValue, "top", localize(1729, "The alignment of the quick input"));
|
|
169060
168947
|
const quickInputTypeContextKeyValue = "quickInputType";
|
|
169061
|
-
const QuickInputTypeContextKey = new RawContextKey(quickInputTypeContextKeyValue, void 0, localize(
|
|
168948
|
+
const QuickInputTypeContextKey = new RawContextKey(quickInputTypeContextKeyValue, void 0, localize(1730, "The type of the currently visible quick input"));
|
|
169062
168949
|
const endOfQuickInputBoxContextKeyValue = "cursorAtEndOfQuickInputBox";
|
|
169063
|
-
const EndOfQuickInputBoxContextKey = new RawContextKey(endOfQuickInputBoxContextKeyValue, false, localize(
|
|
168950
|
+
const EndOfQuickInputBoxContextKey = new RawContextKey(endOfQuickInputBoxContextKeyValue, false, localize(1731, "Whether the cursor in the quick input is at the end of the input box"));
|
|
169064
168951
|
const endOfQuickInputBoxContext = ContextKeyExpr.has(endOfQuickInputBoxContextKeyValue);
|
|
169065
168952
|
const backButton = {
|
|
169066
168953
|
iconClass: ThemeIcon.asClassName(Codicon.quickInputBack),
|
|
169067
|
-
tooltip: localize(
|
|
168954
|
+
tooltip: localize(1732, "Back"),
|
|
169068
168955
|
handle: -1
|
|
169069
168956
|
};
|
|
169070
168957
|
const _QuickInput = class extends Disposable {
|
|
@@ -169319,7 +169206,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
169319
169206
|
}
|
|
169320
169207
|
getSteps() {
|
|
169321
169208
|
if (this.step && this.totalSteps) {
|
|
169322
|
-
return localize(
|
|
169209
|
+
return localize(1734, "{0}/{1}", this.step, this.totalSteps);
|
|
169323
169210
|
}
|
|
169324
169211
|
if (this.step) {
|
|
169325
169212
|
return String(this.step);
|
|
@@ -169349,7 +169236,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
169349
169236
|
};
|
|
169350
169237
|
let QuickInput = _QuickInput;
|
|
169351
169238
|
(() => {
|
|
169352
|
-
_QuickInput.noPromptMessage = localize(
|
|
169239
|
+
_QuickInput.noPromptMessage = localize(1733, "Press 'Enter' to confirm your input or 'Escape' to cancel");
|
|
169353
169240
|
})();
|
|
169354
169241
|
const _QuickPick = class extends QuickInput {
|
|
169355
169242
|
constructor() {
|
|
@@ -169574,7 +169461,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
169574
169461
|
}
|
|
169575
169462
|
get okLabel() {
|
|
169576
169463
|
var _a3;
|
|
169577
|
-
return (_a3 = this._okLabel) != null ? _a3 : localize(
|
|
169464
|
+
return (_a3 = this._okLabel) != null ? _a3 : localize(1736, "OK");
|
|
169578
169465
|
}
|
|
169579
169466
|
set okLabel(okLabel) {
|
|
169580
169467
|
this._okLabel = okLabel;
|
|
@@ -169838,7 +169725,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
169838
169725
|
};
|
|
169839
169726
|
let QuickPick = _QuickPick;
|
|
169840
169727
|
(() => {
|
|
169841
|
-
_QuickPick.DEFAULT_ARIA_LABEL = localize(
|
|
169728
|
+
_QuickPick.DEFAULT_ARIA_LABEL = localize(1735, "Type to narrow down results.");
|
|
169842
169729
|
})();
|
|
169843
169730
|
class InputBox extends QuickInput {
|
|
169844
169731
|
constructor() {
|
|
@@ -169897,7 +169784,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
169897
169784
|
}
|
|
169898
169785
|
set prompt(prompt) {
|
|
169899
169786
|
this._prompt = prompt;
|
|
169900
|
-
this.noValidationMessage = prompt ? localize(
|
|
169787
|
+
this.noValidationMessage = prompt ? localize(1737, "{0} (Press 'Enter' to confirm or 'Escape' to cancel)", prompt) : QuickInput.noPromptMessage;
|
|
169901
169788
|
this.update();
|
|
169902
169789
|
}
|
|
169903
169790
|
show() {
|
|
@@ -170355,7 +170242,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
170355
170242
|
}
|
|
170356
170243
|
class QuickInputAccessibilityProvider {
|
|
170357
170244
|
getWidgetAriaLabel() {
|
|
170358
|
-
return localize(
|
|
170245
|
+
return localize(1748, "Quick Input");
|
|
170359
170246
|
}
|
|
170360
170247
|
getAriaLabel(element) {
|
|
170361
170248
|
var _a3;
|
|
@@ -171393,7 +171280,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
171393
171280
|
const defaultCommandAndKeybindingRule = {
|
|
171394
171281
|
weight: 200,
|
|
171395
171282
|
when: ContextKeyExpr.and(ContextKeyExpr.or(ContextKeyExpr.equals(quickInputTypeContextKeyValue, "quickPick"), ContextKeyExpr.equals(quickInputTypeContextKeyValue, "quickTree")), inQuickInputContext),
|
|
171396
|
-
metadata: { description: localize(
|
|
171283
|
+
metadata: { description: localize(1738, "Used while in the context of the quick pick. If you change one keybinding for this command, you should change all of the other keybindings (modifier variants) of this command as well.") }
|
|
171397
171284
|
};
|
|
171398
171285
|
function registerQuickPickCommandAndKeybindingRule(rule, options = {}) {
|
|
171399
171286
|
var _a3;
|
|
@@ -171446,8 +171333,8 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
171446
171333
|
registerQuickPickCommandAndKeybindingRule({ id: "quickInput.last", primary: ctrlKeyMod + 13, handler: focusHandler(QuickPickFocus.Last) }, { withAltMod: true, withCmdMod: true });
|
|
171447
171334
|
registerQuickPickCommandAndKeybindingRule({ id: "quickInput.next", primary: 18, handler: focusHandler(QuickPickFocus.Next) }, { withCtrlMod: true });
|
|
171448
171335
|
registerQuickPickCommandAndKeybindingRule({ id: "quickInput.previous", primary: 16, handler: focusHandler(QuickPickFocus.Previous) }, { withCtrlMod: true });
|
|
171449
|
-
const nextSeparatorFallbackDesc = localize(
|
|
171450
|
-
const prevSeparatorFallbackDesc = localize(
|
|
171336
|
+
const nextSeparatorFallbackDesc = localize(1739, "If we're in quick access mode, this will navigate to the next item. If we are not in quick access mode, this will navigate to the next separator.");
|
|
171337
|
+
const prevSeparatorFallbackDesc = localize(1740, "If we're in quick access mode, this will navigate to the previous item. If we are not in quick access mode, this will navigate to the previous separator.");
|
|
171451
171338
|
if (isMacintosh) {
|
|
171452
171339
|
registerQuickPickCommandAndKeybindingRule({
|
|
171453
171340
|
id: "quickInput.nextSeparatorWithQuickAccessFallback",
|
|
@@ -171668,7 +171555,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
171668
171555
|
this.onCheckedEvent = onCheckedEvent;
|
|
171669
171556
|
}
|
|
171670
171557
|
getWidgetAriaLabel() {
|
|
171671
|
-
return localize(
|
|
171558
|
+
return localize(1750, "Quick Tree");
|
|
171672
171559
|
}
|
|
171673
171560
|
getAriaLabel(element) {
|
|
171674
171561
|
return element.ariaLabel || [element.label, element.description].map((s) => getCodiconAriaLabel(s)).filter((s) => !!s).join(", ");
|
|
@@ -171948,7 +171835,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
171948
171835
|
const rightActionBar = this._register(new ActionBar(titleBar, { hoverDelegate: this.options.hoverDelegate }));
|
|
171949
171836
|
rightActionBar.domNode.classList.add("quick-input-right-action-bar");
|
|
171950
171837
|
const headerContainer = append$2(container, $(".quick-input-header"));
|
|
171951
|
-
const checkAll = this._register(new TriStateCheckbox(localize(
|
|
171838
|
+
const checkAll = this._register(new TriStateCheckbox(localize(1741, "Toggle all checkboxes"), false, { ...defaultCheckboxStyles, size: 15 }));
|
|
171952
171839
|
append$2(headerContainer, checkAll.domNode);
|
|
171953
171840
|
this._register(checkAll.onChange(() => {
|
|
171954
171841
|
const checked = checkAll.checked;
|
|
@@ -171967,21 +171854,21 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
171967
171854
|
const visibleCountContainer = append$2(filterContainer, $(".quick-input-visible-count"));
|
|
171968
171855
|
visibleCountContainer.setAttribute("aria-live", "polite");
|
|
171969
171856
|
visibleCountContainer.setAttribute("aria-atomic", "true");
|
|
171970
|
-
const visibleCount = this._register(new CountBadge(visibleCountContainer, { countFormat: localize(
|
|
171857
|
+
const visibleCount = this._register(new CountBadge(visibleCountContainer, { countFormat: localize(1742, "{0} Results") }, this.styles.countBadge));
|
|
171971
171858
|
const countContainer = append$2(filterContainer, $(".quick-input-count"));
|
|
171972
171859
|
countContainer.setAttribute("aria-live", "polite");
|
|
171973
|
-
const count = this._register(new CountBadge(countContainer, { countFormat: localize(
|
|
171860
|
+
const count = this._register(new CountBadge(countContainer, { countFormat: localize(1743, "{0} Selected") }, this.styles.countBadge));
|
|
171974
171861
|
const inlineActionBar = this._register(new ActionBar(headerContainer, { hoverDelegate: this.options.hoverDelegate }));
|
|
171975
171862
|
inlineActionBar.domNode.classList.add("quick-input-inline-action-bar");
|
|
171976
171863
|
const okContainer = append$2(headerContainer, $(".quick-input-action"));
|
|
171977
171864
|
const ok2 = this._register(new Button(okContainer, this.styles.button));
|
|
171978
|
-
ok2.label = localize(
|
|
171865
|
+
ok2.label = localize(1744, "OK");
|
|
171979
171866
|
this._register(ok2.onDidClick((e) => {
|
|
171980
171867
|
this.onDidAcceptEmitter.fire();
|
|
171981
171868
|
}));
|
|
171982
171869
|
const customButtonContainer = append$2(headerContainer, $(".quick-input-action"));
|
|
171983
171870
|
const customButton = this._register(new Button(customButtonContainer, { ...this.styles.button, supportIcons: true }));
|
|
171984
|
-
customButton.label = localize(
|
|
171871
|
+
customButton.label = localize(1745, "Custom");
|
|
171985
171872
|
this._register(customButton.onDidClick((e) => {
|
|
171986
171873
|
this.onDidCustomEmitter.fire();
|
|
171987
171874
|
}));
|
|
@@ -172424,7 +172311,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
172424
172311
|
ui.ignoreFocusOut = false;
|
|
172425
172312
|
ui.inputBox.toggles = void 0;
|
|
172426
172313
|
const backKeybindingLabel = this.options.backKeybindingLabel();
|
|
172427
|
-
backButton.tooltip = backKeybindingLabel ? localize(
|
|
172314
|
+
backButton.tooltip = backKeybindingLabel ? localize(1746, "Back ({0})", backKeybindingLabel) : localize(1747, "Back");
|
|
172428
172315
|
ui.container.style.display = "";
|
|
172429
172316
|
this.updateLayout();
|
|
172430
172317
|
(_a3 = this.dndController) == null ? void 0 : _a3.layoutContainer();
|
|
@@ -173064,7 +172951,7 @@ ${formatRule(Codicon.menuSubmenu)}
|
|
|
173064
172951
|
return this.domNode;
|
|
173065
172952
|
}
|
|
173066
172953
|
getPosition() {
|
|
173067
|
-
return { preference:
|
|
172954
|
+
return { preference: { top: 0, left: 0 } };
|
|
173068
172955
|
}
|
|
173069
172956
|
dispose() {
|
|
173070
172957
|
this.codeEditor.removeOverlayWidget(this);
|
|
@@ -174403,7 +174290,7 @@ ${graph.toString()}`;
|
|
|
174403
174290
|
}
|
|
174404
174291
|
}
|
|
174405
174292
|
_createFilteredMarker(resource, reasons) {
|
|
174406
|
-
const message = reasons.length === 1 ? localize(
|
|
174293
|
+
const message = reasons.length === 1 ? localize(1718, 'Problems are paused because: "{0}"', reasons[0]) : localize(1719, 'Problems are paused because: "{0}" and {1} more', reasons[0], reasons.length - 1);
|
|
174407
174294
|
return {
|
|
174408
174295
|
owner: "markersFilter",
|
|
174409
174296
|
resource,
|