@codingame/monaco-vscode-api 1.76.8 → 1.78.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +87 -49
- package/dist/Bibtex.tmLanguage.js +2 -0
- package/dist/Handlebars.tmLanguage.js +2 -0
- package/dist/JSON.tmLanguage.js +2 -0
- package/dist/JSONC.tmLanguage.js +2 -0
- package/dist/JavaScript.tmLanguage.js +2 -0
- package/dist/JavaScriptReact.tmLanguage.js +2 -0
- package/dist/LaTeX.tmLanguage.js +2 -0
- package/dist/MagicPython.tmLanguage.js +2 -0
- package/dist/MagicRegExp.tmLanguage.js +2 -0
- package/dist/Red-color-theme.js +2 -0
- package/dist/Regular Expressions (JavaScript).js +2 -0
- package/dist/TeX.tmLanguage.js +2 -0
- package/dist/TypeScript.tmLanguage.js +2 -0
- package/dist/TypeScriptReact.tmLanguage.js +2 -0
- package/dist/_.contribution.js +1 -1
- package/dist/abyss-color-theme.js +2 -0
- package/dist/api.js +1 -3
- package/dist/api2.js +421 -18091
- package/dist/asp-vb-net.tmlanguage.js +2 -0
- package/dist/assets/diffLineDeleted.mp3 +0 -0
- package/dist/assets/diffLineInserted.mp3 +0 -0
- package/dist/assets/diffLineModified.mp3 +0 -0
- package/dist/audioCue.js +108 -478
- package/dist/bat.js +9 -0
- package/dist/batchfile.js +2 -0
- package/dist/batchfile.tmLanguage.js +2 -0
- package/dist/button.js +35 -8
- package/dist/c.js +2 -0
- package/dist/c.tmLanguage.js +2 -0
- package/dist/clojure.js +8 -0
- package/dist/clojure.tmLanguage.js +2 -0
- package/dist/coffeescript.js +9 -0
- package/dist/coffeescript.tmLanguage.js +2 -0
- package/dist/coffeescript2.js +2 -0
- package/dist/configuration.d.ts +269 -4
- package/dist/configuration.js +4326 -328
- package/dist/configuration2.js +14 -324
- package/dist/cpp-grammar-bailout.tmLanguage.js +2 -0
- package/dist/cpp.embedded.macro.tmLanguage.js +2 -0
- package/dist/cpp.js +16 -0
- package/dist/cpp.tmLanguage.js +2 -0
- package/dist/cpp2.js +2 -0
- package/dist/csharp.js +9 -0
- package/dist/csharp.tmLanguage.js +2 -0
- package/dist/csharp2.js +2 -0
- package/dist/cshtml.tmLanguage.js +2 -0
- package/dist/css.js +8 -0
- package/dist/css.tmLanguage.js +2 -0
- package/dist/cuda-cpp.tmLanguage.js +2 -0
- package/dist/dark_plus.js +2 -0
- package/dist/dark_plus_experimental.js +2 -0
- package/dist/dark_vs.js +2 -0
- package/dist/dart.js +8 -0
- package/dist/dart.tmLanguage.js +2 -0
- package/dist/debug.js +12115 -12209
- package/dist/default-extensions/bat.js +12 -0
- package/dist/default-extensions/clojure.js +11 -0
- package/dist/default-extensions/coffeescript.js +12 -0
- package/dist/default-extensions/cpp.js +19 -0
- package/dist/default-extensions/csharp.js +12 -0
- package/dist/default-extensions/css.js +11 -0
- package/dist/default-extensions/dart.js +11 -0
- package/dist/default-extensions/diff.js +11 -0
- package/dist/default-extensions/docker.js +11 -0
- package/dist/default-extensions/fsharp.js +12 -0
- package/dist/default-extensions/go.js +11 -0
- package/dist/default-extensions/groovy.js +12 -0
- package/dist/default-extensions/handlebars.js +11 -0
- package/dist/default-extensions/hlsl.js +11 -0
- package/dist/default-extensions/html.js +13 -0
- package/dist/default-extensions/ini.js +13 -0
- package/dist/default-extensions/java.js +12 -0
- package/dist/default-extensions/javascript.js +17 -0
- package/dist/default-extensions/json.js +13 -0
- package/dist/default-extensions/julia.js +11 -0
- package/dist/default-extensions/latex.js +14 -0
- package/dist/default-extensions/less.js +11 -0
- package/dist/default-extensions/log.js +10 -0
- package/dist/default-extensions/lua.js +11 -0
- package/dist/default-extensions/make.js +11 -0
- package/dist/default-extensions/markdown-basics.js +12 -0
- package/dist/default-extensions/objective-c.js +13 -0
- package/dist/default-extensions/perl.js +13 -0
- package/dist/default-extensions/php.js +13 -0
- package/dist/default-extensions/powershell.js +11 -0
- package/dist/default-extensions/pug.js +11 -0
- package/dist/default-extensions/python.js +12 -0
- package/dist/default-extensions/r.js +11 -0
- package/dist/default-extensions/razor.js +11 -0
- package/dist/default-extensions/ruby.js +11 -0
- package/dist/default-extensions/rust.js +11 -0
- package/dist/default-extensions/scss.js +12 -0
- package/dist/default-extensions/shaderlab.js +11 -0
- package/dist/default-extensions/shellscript.js +11 -0
- package/dist/default-extensions/sql.js +11 -0
- package/dist/default-extensions/swift.js +12 -0
- package/dist/default-extensions/theme-abyss.js +10 -0
- package/dist/default-extensions/theme-defaults.js +18 -0
- package/dist/default-extensions/theme-kimbie-dark.js +10 -0
- package/dist/default-extensions/theme-monokai-dimmed.js +10 -0
- package/dist/default-extensions/theme-monokai.js +10 -0
- package/dist/default-extensions/theme-quietlight.js +10 -0
- package/dist/default-extensions/theme-red.js +10 -0
- package/dist/default-extensions/theme-seti.js +10 -0
- package/dist/default-extensions/theme-solarized-dark.js +10 -0
- package/dist/default-extensions/theme-solarized-light.js +10 -0
- package/dist/default-extensions/theme-tomorrow-night-blue.js +10 -0
- package/dist/default-extensions/typescript-basics.js +17 -0
- package/dist/default-extensions/vb.js +12 -0
- package/dist/default-extensions/xml.js +13 -0
- package/dist/default-extensions/yaml.js +13 -0
- package/dist/dialogs.js +12 -216
- package/dist/diff.js +8 -0
- package/dist/diff.tmLanguage.js +2 -0
- package/dist/dimmed-monokai-color-theme.js +2 -0
- package/dist/docker.js +8 -0
- package/dist/docker.tmLanguage.js +2 -0
- package/dist/dom.js +101 -0
- package/dist/extensionManagement.js +4 -0
- package/dist/extensions.d.ts +368 -23
- package/dist/extensions.js +4 -85
- package/dist/extensionsRegistry.js +63 -64
- package/dist/files.d.ts +845 -0
- package/dist/files.js +1805 -1151
- package/dist/files2.js +32 -0
- package/dist/fsharp.js +9 -0
- package/dist/fsharp.tmLanguage.js +2 -0
- package/dist/fsharp2.js +2 -0
- package/dist/go.js +8 -0
- package/dist/go.tmLanguage.js +2 -0
- package/dist/groovy.js +9 -0
- package/dist/groovy.tmLanguage.js +2 -0
- package/dist/groovy2.js +2 -0
- package/dist/handlebars.js +8 -0
- package/dist/hc_black.js +2 -0
- package/dist/hc_light.js +2 -0
- package/dist/hlsl.js +8 -0
- package/dist/hlsl.tmLanguage.js +2 -0
- package/dist/html-derivative.tmLanguage.js +2 -0
- package/dist/html.js +10 -0
- package/dist/html.tmLanguage.js +2 -0
- package/dist/html.tmLanguage2.js +2 -0
- package/dist/html2.js +2 -0
- package/dist/ini.js +10 -0
- package/dist/ini.language-configuration.js +2 -0
- package/dist/ini.tmLanguage.js +2 -0
- package/dist/injection.js +1 -1
- package/dist/java.js +9 -0
- package/dist/java.tmLanguage.js +2 -0
- package/dist/java2.js +2 -0
- package/dist/javascript-language-configuration.js +2 -0
- package/dist/javascript.js +14 -0
- package/dist/javascript2.js +2 -0
- package/dist/jsdoc.js.injection.tmLanguage.js +2 -0
- package/dist/jsdoc.ts.injection.tmLanguage.js +2 -0
- package/dist/json.js +10 -0
- package/dist/jsonErrorMessages.js +1 -1
- package/dist/julia.js +8 -0
- package/dist/julia.tmLanguage.js +2 -0
- package/dist/keybindings.d.ts +1 -10
- package/dist/keybindings.js +291 -353
- package/dist/kimbie-dark-color-theme.js +2 -0
- package/dist/language-configuration.js +2 -0
- package/dist/language-configuration10.js +2 -0
- package/dist/language-configuration11.js +2 -0
- package/dist/language-configuration12.js +2 -0
- package/dist/language-configuration13.js +2 -0
- package/dist/language-configuration14.js +2 -0
- package/dist/language-configuration15.js +2 -0
- package/dist/language-configuration16.js +2 -0
- package/dist/language-configuration17.js +2 -0
- package/dist/language-configuration18.js +2 -0
- package/dist/language-configuration19.js +2 -0
- package/dist/language-configuration2.js +2 -0
- package/dist/language-configuration20.js +2 -0
- package/dist/language-configuration21.js +2 -0
- package/dist/language-configuration22.js +2 -0
- package/dist/language-configuration23.js +2 -0
- package/dist/language-configuration24.js +2 -0
- package/dist/language-configuration25.js +2 -0
- package/dist/language-configuration26.js +2 -0
- package/dist/language-configuration27.js +2 -0
- package/dist/language-configuration28.js +2 -0
- package/dist/language-configuration29.js +2 -0
- package/dist/language-configuration3.js +2 -0
- package/dist/language-configuration30.js +2 -0
- package/dist/language-configuration31.js +2 -0
- package/dist/language-configuration32.js +2 -0
- package/dist/language-configuration33.js +2 -0
- package/dist/language-configuration34.js +2 -0
- package/dist/language-configuration35.js +2 -0
- package/dist/language-configuration36.js +2 -0
- package/dist/language-configuration37.js +2 -0
- package/dist/language-configuration38.js +2 -0
- package/dist/language-configuration39.js +2 -0
- package/dist/language-configuration4.js +2 -0
- package/dist/language-configuration5.js +2 -0
- package/dist/language-configuration6.js +2 -0
- package/dist/language-configuration7.js +2 -0
- package/dist/language-configuration8.js +2 -0
- package/dist/language-configuration9.js +2 -0
- package/dist/languageService.js +5 -6
- package/dist/languages.d.ts +66 -1
- package/dist/languages.js +924 -5
- package/dist/latex.js +11 -0
- package/dist/layout.contribution.darwin.js +1 -1
- package/dist/layout.contribution.linux.js +1 -1
- package/dist/layout.contribution.win.js +1 -1
- package/dist/layout.js +4 -10
- package/dist/layoutService.js +10 -2
- package/dist/less.js +8 -0
- package/dist/less.tmLanguage.js +2 -0
- package/dist/light_plus.js +2 -0
- package/dist/light_plus_experimental.js +2 -0
- package/dist/light_vs.js +2 -0
- package/dist/log.js +7 -0
- package/dist/log.tmLanguage.js +2 -0
- package/dist/lua.js +8 -0
- package/dist/lua.tmLanguage.js +2 -0
- package/dist/make.js +8 -0
- package/dist/make.tmLanguage.js +2 -0
- package/dist/markdown-basics.js +9 -0
- package/dist/markdown-latex-combined.tmLanguage.js +2 -0
- package/dist/markdown.js +2 -0
- package/dist/markdown.tmLanguage.js +2 -0
- package/dist/memento.js +91 -0
- package/dist/modelEditor.d.ts +1480 -138
- package/dist/modelEditor.js +8700 -326
- package/dist/monaco.d.ts +987 -15
- package/dist/monaco.js +40 -10
- package/dist/monokai-color-theme.js +2 -0
- package/dist/notifications.js +86 -64
- package/dist/objective-c.js +10 -0
- package/dist/objective-c.tmLanguage.js +2 -0
- package/dist/objective-c__.tmLanguage.js +2 -0
- package/dist/perl.js +10 -0
- package/dist/perl.language-configuration.js +2 -0
- package/dist/perl.tmLanguage.js +2 -0
- package/dist/perl6.language-configuration.js +2 -0
- package/dist/perl6.tmLanguage.js +2 -0
- package/dist/php.js +10 -0
- package/dist/php.tmLanguage.js +2 -0
- package/dist/php2.js +2 -0
- package/dist/platform.js +105 -0
- package/dist/platform.tmLanguage.js +2 -0
- package/dist/polyfill.js +51922 -11067
- package/dist/powershell.js +8 -0
- package/dist/powershell.tmLanguage.js +2 -0
- package/dist/preferences.js +2532 -0
- package/dist/properties.language-configuration.js +2 -0
- package/dist/pug.js +8 -0
- package/dist/pug.tmLanguage.js +2 -0
- package/dist/python.js +9 -0
- package/dist/quietlight-color-theme.js +2 -0
- package/dist/r.js +8 -0
- package/dist/r.tmLanguage.js +2 -0
- package/dist/razor.js +8 -0
- package/dist/rollup-vsix-plugin.d.ts +8 -0
- package/dist/rollup-vsix-plugin.js +104 -0
- package/dist/ruby.js +8 -0
- package/dist/ruby.tmLanguage.js +2 -0
- package/dist/rust.js +8 -0
- package/dist/rust.tmLanguage.js +2 -0
- package/dist/sassdoc.tmLanguage.js +2 -0
- package/dist/scss.js +9 -0
- package/dist/scss.tmLanguage.js +2 -0
- package/dist/services.d.ts +12988 -12840
- package/dist/services.js +1 -1
- package/dist/shaderlab.js +8 -0
- package/dist/shaderlab.tmLanguage.js +2 -0
- package/dist/shell-unix-bash.tmLanguage.js +2 -0
- package/dist/shellscript.js +8 -0
- package/dist/snippets.js +6 -11
- package/dist/snippetsService.js +7 -10
- package/dist/solarized-dark-color-theme.js +2 -0
- package/dist/solarized-light-color-theme.js +2 -0
- package/dist/sql.js +8 -0
- package/dist/sql.tmLanguage.js +2 -0
- package/dist/swift.js +9 -0
- package/dist/swift.tmLanguage.js +2 -0
- package/dist/swift2.js +2 -0
- package/dist/tags-language-configuration.js +2 -0
- package/dist/textmate.d.ts +0 -264
- package/dist/textmate.js +402 -66
- package/dist/theme-abyss.js +7 -0
- package/dist/theme-defaults.js +15 -0
- package/dist/theme-kimbie-dark.js +7 -0
- package/dist/theme-monokai-dimmed.js +7 -0
- package/dist/theme-monokai.js +7 -0
- package/dist/theme-quietlight.js +7 -0
- package/dist/theme-red.js +7 -0
- package/dist/theme-seti.js +7 -0
- package/dist/theme-solarized-dark.js +7 -0
- package/dist/theme-solarized-light.js +7 -0
- package/dist/theme-tomorrow-night-blue.js +7 -0
- package/dist/theme.js +6 -11
- package/dist/{contextkeys.js → theme2.js} +165 -143
- package/dist/tokenClassificationRegistry.js +46 -2
- package/dist/tomorrow-night-blue-color-theme.js +2 -0
- package/dist/typescript-basics.js +14 -0
- package/dist/typescript.js +2 -0
- package/dist/unboundCommands.js +41 -0
- package/dist/utils.js +345 -0
- package/dist/vb.js +9 -0
- package/dist/vb2.js +2 -0
- package/dist/vs-seti-icon-theme.js +2 -0
- package/dist/vs_minimal-icon-theme.js +2 -0
- package/dist/xml.js +10 -0
- package/dist/xml.language-configuration.js +2 -0
- package/dist/xml.tmLanguage.js +2 -0
- package/dist/xsl.language-configuration.js +2 -0
- package/dist/xsl.tmLanguage.js +2 -0
- package/dist/yaml.js +10 -0
- package/dist/yaml.tmLanguage.js +2 -0
- package/package.json +50 -33
- package/dist/async.js +0 -301
- package/dist/cancellation.js +0 -3
- package/dist/configurationRegistry.js +0 -441
- package/dist/extensionResourceLoader.js +0 -96
- package/dist/labels.js +0 -14
- package/dist/languageConfiguration.js +0 -919
- package/dist/missing-services.js +0 -5554
- package/dist/resources.js +0 -197
- package/dist/services2.js +0 -3467
- package/dist/textFileEditorModel.js +0 -2985
- package/dist/tokenClassification.d.ts +0 -7
- package/dist/tokenClassification.js +0 -277
- package/dist/variableResolver.js +0 -1711
- package/dist/workbenchThemeService.js +0 -46
- package/dist/workspaceContext.js +0 -50
- /package/dist/{languageConfiguration.d.ts → preferences.d.ts} +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { registerExtension } from './api2.js';
|
|
2
|
+
import { onExtHostInitialized } from './polyfill.js';
|
|
3
|
+
var manifest = {name:"theme-abyss",displayName:"%displayName%",description:"%description%",version:"1.0.0",publisher:"vscode",license:"MIT",engines:{vscode:"*"},contributes:{themes:[{id:"Abyss",label:"%themeLabel%",uiTheme:"vs-dark",path:"./themes/abyss-color-theme.json"}]},repository:{type:"git",url:"https://github.com/microsoft/vscode.git"}};
|
|
4
|
+
onExtHostInitialized(() => {
|
|
5
|
+
const { registerFile } = registerExtension(manifest);
|
|
6
|
+
registerFile('./themes/abyss-color-theme.json', async () => await import('./abyss-color-theme.js').then(module => module.default ?? module));
|
|
7
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { registerExtension } from './api2.js';
|
|
2
|
+
import { onExtHostInitialized } from './polyfill.js';
|
|
3
|
+
var manifest = {name:"theme-defaults",displayName:"%displayName%",description:"%description%",categories:["Themes"],version:"1.0.0",publisher:"vscode",license:"MIT",engines:{vscode:"*"},contributes:{themes:[{id:"Default Dark+",label:"%darkPlusColorThemeLabel%",uiTheme:"vs-dark",path:"./themes/dark_plus.json"},{id:"Default Dark+ Experimental",label:"%darkPlusExperimentalColorThemeLabel%",uiTheme:"vs-dark",path:"./themes/dark_plus_experimental.json"},{id:"Default Light+",label:"%lightPlusColorThemeLabel%",uiTheme:"vs",path:"./themes/light_plus.json"},{id:"Default Light+ Experimental",label:"%lightPlusExperimentalColorThemeLabel%",uiTheme:"vs",path:"./themes/light_plus_experimental.json"},{id:"Visual Studio Dark",label:"%darkColorThemeLabel%",uiTheme:"vs-dark",path:"./themes/dark_vs.json"},{id:"Visual Studio Light",label:"%lightColorThemeLabel%",uiTheme:"vs",path:"./themes/light_vs.json"},{id:"Default High Contrast",label:"%hcColorThemeLabel%",uiTheme:"hc-black",path:"./themes/hc_black.json"},{id:"Default High Contrast Light",label:"%lightHcColorThemeLabel%",uiTheme:"hc-light",path:"./themes/hc_light.json"}],iconThemes:[{id:"vs-minimal",label:"%minimalIconThemeLabel%",path:"./fileicons/vs_minimal-icon-theme.json"}]},repository:{type:"git",url:"https://github.com/microsoft/vscode.git"}};
|
|
4
|
+
onExtHostInitialized(() => {
|
|
5
|
+
const { registerFile } = registerExtension(manifest);
|
|
6
|
+
registerFile('./themes/dark_plus.json', async () => await import('./dark_plus.js').then(module => module.default ?? module)),
|
|
7
|
+
registerFile('./themes/dark_plus_experimental.json', async () => await import('./dark_plus_experimental.js').then(module => module.default ?? module)),
|
|
8
|
+
registerFile('./themes/light_plus.json', async () => await import('./light_plus.js').then(module => module.default ?? module)),
|
|
9
|
+
registerFile('./themes/light_plus_experimental.json', async () => await import('./light_plus_experimental.js').then(module => module.default ?? module)),
|
|
10
|
+
registerFile('./themes/dark_vs.json', async () => await import('./dark_vs.js').then(module => module.default ?? module)),
|
|
11
|
+
registerFile('./themes/light_vs.json', async () => await import('./light_vs.js').then(module => module.default ?? module)),
|
|
12
|
+
registerFile('./themes/hc_black.json', async () => await import('./hc_black.js').then(module => module.default ?? module)),
|
|
13
|
+
registerFile('./themes/hc_light.json', async () => await import('./hc_light.js').then(module => module.default ?? module)),
|
|
14
|
+
registerFile('./fileicons/vs_minimal-icon-theme.json', async () => await import('./vs_minimal-icon-theme.js').then(module => module.default ?? module));
|
|
15
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { registerExtension } from './api2.js';
|
|
2
|
+
import { onExtHostInitialized } from './polyfill.js';
|
|
3
|
+
var manifest = {name:"theme-kimbie-dark",displayName:"%displayName%",description:"%description%",version:"1.0.0",publisher:"vscode",license:"MIT",engines:{vscode:"*"},contributes:{themes:[{id:"Kimbie Dark",label:"%themeLabel%",uiTheme:"vs-dark",path:"./themes/kimbie-dark-color-theme.json"}]},repository:{type:"git",url:"https://github.com/microsoft/vscode.git"}};
|
|
4
|
+
onExtHostInitialized(() => {
|
|
5
|
+
const { registerFile } = registerExtension(manifest);
|
|
6
|
+
registerFile('./themes/kimbie-dark-color-theme.json', async () => await import('./kimbie-dark-color-theme.js').then(module => module.default ?? module));
|
|
7
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { registerExtension } from './api2.js';
|
|
2
|
+
import { onExtHostInitialized } from './polyfill.js';
|
|
3
|
+
var manifest = {name:"theme-monokai-dimmed",displayName:"%displayName%",description:"%description%",version:"1.0.0",publisher:"vscode",license:"MIT",engines:{vscode:"*"},contributes:{themes:[{id:"Monokai Dimmed",label:"%themeLabel%",uiTheme:"vs-dark",path:"./themes/dimmed-monokai-color-theme.json"}]},repository:{type:"git",url:"https://github.com/microsoft/vscode.git"}};
|
|
4
|
+
onExtHostInitialized(() => {
|
|
5
|
+
const { registerFile } = registerExtension(manifest);
|
|
6
|
+
registerFile('./themes/dimmed-monokai-color-theme.json', async () => await import('./dimmed-monokai-color-theme.js').then(module => module.default ?? module));
|
|
7
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { registerExtension } from './api2.js';
|
|
2
|
+
import { onExtHostInitialized } from './polyfill.js';
|
|
3
|
+
var manifest = {name:"theme-monokai",displayName:"%displayName%",description:"%description%",version:"1.0.0",publisher:"vscode",license:"MIT",engines:{vscode:"*"},contributes:{themes:[{id:"Monokai",label:"%themeLabel%",uiTheme:"vs-dark",path:"./themes/monokai-color-theme.json"}]},repository:{type:"git",url:"https://github.com/microsoft/vscode.git"}};
|
|
4
|
+
onExtHostInitialized(() => {
|
|
5
|
+
const { registerFile } = registerExtension(manifest);
|
|
6
|
+
registerFile('./themes/monokai-color-theme.json', async () => await import('./monokai-color-theme.js').then(module => module.default ?? module));
|
|
7
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { registerExtension } from './api2.js';
|
|
2
|
+
import { onExtHostInitialized } from './polyfill.js';
|
|
3
|
+
var manifest = {name:"theme-quietlight",displayName:"%displayName%",description:"%description%",version:"1.0.0",publisher:"vscode",license:"MIT",engines:{vscode:"*"},contributes:{themes:[{id:"Quiet Light",label:"%themeLabel%",uiTheme:"vs",path:"./themes/quietlight-color-theme.json"}]},repository:{type:"git",url:"https://github.com/microsoft/vscode.git"}};
|
|
4
|
+
onExtHostInitialized(() => {
|
|
5
|
+
const { registerFile } = registerExtension(manifest);
|
|
6
|
+
registerFile('./themes/quietlight-color-theme.json', async () => await import('./quietlight-color-theme.js').then(module => module.default ?? module));
|
|
7
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { registerExtension } from './api2.js';
|
|
2
|
+
import { onExtHostInitialized } from './polyfill.js';
|
|
3
|
+
var manifest = {name:"theme-red",displayName:"%displayName%",description:"%description%",version:"1.0.0",publisher:"vscode",license:"MIT",engines:{vscode:"*"},contributes:{themes:[{id:"Red",label:"%themeLabel%",uiTheme:"vs-dark",path:"./themes/Red-color-theme.json"}]},repository:{type:"git",url:"https://github.com/microsoft/vscode.git"}};
|
|
4
|
+
onExtHostInitialized(() => {
|
|
5
|
+
const { registerFile } = registerExtension(manifest);
|
|
6
|
+
registerFile('./themes/Red-color-theme.json', async () => await import('./Red-color-theme.js').then(module => module.default ?? module));
|
|
7
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { registerExtension } from './api2.js';
|
|
2
|
+
import { onExtHostInitialized } from './polyfill.js';
|
|
3
|
+
var manifest = {name:"vscode-theme-seti","private":true,version:"1.0.0",displayName:"%displayName%",description:"%description%",publisher:"vscode",license:"MIT",icon:"icons/seti-circular-128x128.png",scripts:{update:"node ./build/update-icon-theme.js"},engines:{vscode:"*"},contributes:{iconThemes:[{id:"vs-seti",label:"%themeLabel%",path:"./icons/vs-seti-icon-theme.json"}]},repository:{type:"git",url:"https://github.com/microsoft/vscode.git"}};
|
|
4
|
+
onExtHostInitialized(() => {
|
|
5
|
+
const { registerFile } = registerExtension(manifest);
|
|
6
|
+
registerFile('./icons/vs-seti-icon-theme.json', async () => await import('./vs-seti-icon-theme.js').then(module => module.default ?? module));
|
|
7
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { registerExtension } from './api2.js';
|
|
2
|
+
import { onExtHostInitialized } from './polyfill.js';
|
|
3
|
+
var manifest = {name:"theme-solarized-dark",displayName:"%displayName%",description:"%description%",version:"1.0.0",publisher:"vscode",license:"MIT",engines:{vscode:"*"},contributes:{themes:[{id:"Solarized Dark",label:"%themeLabel%",uiTheme:"vs-dark",path:"./themes/solarized-dark-color-theme.json"}]},repository:{type:"git",url:"https://github.com/microsoft/vscode.git"}};
|
|
4
|
+
onExtHostInitialized(() => {
|
|
5
|
+
const { registerFile } = registerExtension(manifest);
|
|
6
|
+
registerFile('./themes/solarized-dark-color-theme.json', async () => await import('./solarized-dark-color-theme.js').then(module => module.default ?? module));
|
|
7
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { registerExtension } from './api2.js';
|
|
2
|
+
import { onExtHostInitialized } from './polyfill.js';
|
|
3
|
+
var manifest = {name:"theme-solarized-light",displayName:"%displayName%",description:"%description%",version:"1.0.0",publisher:"vscode",license:"MIT",engines:{vscode:"*"},contributes:{themes:[{id:"Solarized Light",label:"%themeLabel%",uiTheme:"vs",path:"./themes/solarized-light-color-theme.json"}]},repository:{type:"git",url:"https://github.com/microsoft/vscode.git"}};
|
|
4
|
+
onExtHostInitialized(() => {
|
|
5
|
+
const { registerFile } = registerExtension(manifest);
|
|
6
|
+
registerFile('./themes/solarized-light-color-theme.json', async () => await import('./solarized-light-color-theme.js').then(module => module.default ?? module));
|
|
7
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { registerExtension } from './api2.js';
|
|
2
|
+
import { onExtHostInitialized } from './polyfill.js';
|
|
3
|
+
var manifest = {name:"theme-tomorrow-night-blue",displayName:"%displayName%",description:"%description%",version:"1.0.0",publisher:"vscode",license:"MIT",engines:{vscode:"*"},contributes:{themes:[{id:"Tomorrow Night Blue",label:"%themeLabel%",uiTheme:"vs-dark",path:"./themes/tomorrow-night-blue-color-theme.json"}]},repository:{type:"git",url:"https://github.com/microsoft/vscode.git"}};
|
|
4
|
+
onExtHostInitialized(() => {
|
|
5
|
+
const { registerFile } = registerExtension(manifest);
|
|
6
|
+
registerFile('./themes/tomorrow-night-blue-color-theme.json', async () => await import('./tomorrow-night-blue-color-theme.js').then(module => module.default ?? module));
|
|
7
|
+
});
|
package/dist/theme.js
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { E as Emitter, _ as __decorate, a as __param, n as IFileService } from './services2.js';
|
|
4
|
-
import { T as ThemeSettings, E as ExtensionData, V as VS_DARK_THEME, a as VS_LIGHT_THEME, b as VS_HC_THEME, c as VS_HC_LIGHT_THEME, d as THEME_SCOPE_OPEN_PAREN, e as THEME_SCOPE_CLOSE_PAREN, f as THEME_SCOPE_WILDCARD, t as themeScopeRegex } from './workbenchThemeService.js';
|
|
1
|
+
import { Emitter, Sequencer, getRemoteAuthority, __decorate, __param, IExtensionService, IBrowserWorkbenchEnvironmentService, IFileService, IExtensionResourceLoaderService, IHostColorSchemeService, IUserDataInitializationService, parse$1, getNodeType } from './polyfill.js';
|
|
2
|
+
import { ThemeSettings, tokenStylingSchemaId, ExtensionData, VS_DARK_THEME, VS_LIGHT_THEME, VS_HC_THEME, VS_HC_LIGHT_THEME, TokenStyle, parseClassifierString, THEME_SCOPE_OPEN_PAREN, THEME_SCOPE_CLOSE_PAREN, THEME_SCOPE_WILDCARD, themeScopeRegex, SemanticTokenRule, getTokenClassificationRegistry } from './tokenClassificationRegistry.js';
|
|
5
3
|
import { editorBackground, editorForeground, editorSelectionBackground, editorInactiveSelection, editorSelectionHighlight, editorFindMatchHighlight, editorFindMatch, editorHoverHighlight, editorFindRangeHighlight, workbenchColorsSchemaId, asCssVariableName, Extensions as Extensions$2 } from 'monaco-editor/esm/vs/platform/theme/common/colorRegistry.js';
|
|
6
4
|
import { Color } from 'monaco-editor/esm/vs/base/common/color.js';
|
|
7
5
|
import { editorLineHighlight, editorRangeHighlight, editorCursorForeground, editorWhitespaces, editorIndentGuides, editorActiveIndentGuides } from 'monaco-editor/esm/vs/editor/common/core/editorColorRegistry.js';
|
|
8
|
-
import {
|
|
9
|
-
import { t as tokenStylingSchemaId, T as TokenStyle, p as parseClassifierString, S as SemanticTokenRule, g as getTokenClassificationRegistry } from './tokenClassificationRegistry.js';
|
|
6
|
+
import { getParseErrorMessage } from './jsonErrorMessages.js';
|
|
10
7
|
import { isUndefined, isString, isObject, isBoolean } from 'monaco-editor/esm/vs/base/common/types.js';
|
|
11
8
|
import { ColorScheme } from 'monaco-editor/esm/vs/platform/theme/common/theme.js';
|
|
12
9
|
import { IThemeService, getThemeTypeSelector, Extensions as Extensions$3 } from 'monaco-editor/esm/vs/platform/theme/common/themeService.js';
|
|
@@ -17,13 +14,11 @@ import { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform
|
|
|
17
14
|
import { getIconRegistry, iconsSchemaId, IconFontDefinition } from 'monaco-editor/esm/vs/platform/theme/common/iconRegistry.js';
|
|
18
15
|
import { Extensions as Extensions$1 } from 'monaco-editor/esm/vs/platform/jsonschemas/common/jsonContributionRegistry.js';
|
|
19
16
|
import { createStyleSheet, asCSSUrl } from 'monaco-editor/esm/vs/base/browser/dom.js';
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import { E as ExtensionsRegistry } from './extensionsRegistry.js';
|
|
17
|
+
import { IWorkbenchLayoutService } from './layoutService.js';
|
|
18
|
+
import { ExtensionsRegistry } from './extensionsRegistry.js';
|
|
23
19
|
import { Extensions } from 'monaco-editor/esm/vs/platform/configuration/common/configurationRegistry.js';
|
|
24
20
|
import { isWeb } from 'monaco-editor/esm/vs/base/common/platform.js';
|
|
25
21
|
import { ThemeIcon } from 'monaco-editor/esm/vs/base/common/themables.js';
|
|
26
|
-
import { S as Sequencer } from './async.js';
|
|
27
22
|
import { onUnexpectedError } from 'monaco-editor/esm/vs/base/common/errors.js';
|
|
28
23
|
import { getIconsStyleSheet } from 'monaco-editor/esm/vs/platform/theme/browser/iconsStyleSheet.js';
|
|
29
24
|
import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
|
|
@@ -33,7 +28,7 @@ import { ILogService } from 'monaco-editor/esm/vs/platform/log/common/log.js';
|
|
|
33
28
|
import { ILanguageService } from 'monaco-editor/esm/vs/editor/common/languages/language.js';
|
|
34
29
|
import { dispose } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
35
30
|
import { RunOnceScheduler } from 'monaco-editor/esm/vs/base/common/async.js';
|
|
36
|
-
import
|
|
31
|
+
import getServiceOverride$1 from './files.js';
|
|
37
32
|
import { SyncDescriptor } from 'monaco-editor/esm/vs/platform/instantiation/common/descriptors.js';
|
|
38
33
|
function getColorRegistry () {
|
|
39
34
|
return ( Registry.as(Extensions$2.ColorContribution));
|
|
@@ -1,28 +1,173 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
3
|
-
import { Color } from 'monaco-editor/esm/vs/base/common/color.js';
|
|
4
|
-
import { _ as __decorate, a as __param, n as IFileService } from './services2.js';
|
|
1
|
+
import { __decorate, __param, IFileService } from './polyfill.js';
|
|
5
2
|
import { RawContextKey, IContextKeyService } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
|
|
3
|
+
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
6
4
|
import { ILanguageService } from 'monaco-editor/esm/vs/editor/common/languages/language.js';
|
|
7
5
|
import { IModelService } from 'monaco-editor/esm/vs/editor/common/services/model.js';
|
|
8
6
|
import { DisposableStore } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
9
7
|
import { isEqual, basename, dirname, extname } from 'monaco-editor/esm/vs/base/common/resources.js';
|
|
10
8
|
import { Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
9
|
+
import { registerColor, editorBackground, transparent, contrastBorder, treeIndentGuidesStroke, focusBorder, editorWidgetForeground, editorWidgetBackground, editorForeground, inputBorder, listActiveSelectionBackground, darken, listActiveSelectionForeground, editorInfoForeground, activeContrastBorder, errorForeground, editorWarningForeground, toolbarHoverBackground, widgetBorder, textLinkForeground, lighten, editorErrorForeground } from 'monaco-editor/esm/vs/platform/theme/common/colorRegistry.js';
|
|
10
|
+
import { Color } from 'monaco-editor/esm/vs/base/common/color.js';
|
|
11
|
+
const IsFullscreenContext = ( new RawContextKey('isFullscreen', false, ( localize('isFullscreen', "Whether the window is in fullscreen mode"))));
|
|
12
|
+
const ActiveEditorDirtyContext = ( new RawContextKey('activeEditorIsDirty', false, ( localize('activeEditorIsDirty', "Whether the active editor has unsaved changes"))));
|
|
13
|
+
const ActiveEditorPinnedContext = ( new RawContextKey('activeEditorIsNotPreview', false, ( localize(
|
|
14
|
+
'activeEditorIsNotPreview',
|
|
15
|
+
"Whether the active editor is not in preview mode"
|
|
16
|
+
))));
|
|
17
|
+
const ActiveEditorLastInGroupContext = ( new RawContextKey('activeEditorIsLastInGroup', false, ( localize(
|
|
18
|
+
'activeEditorIsLastInGroup',
|
|
19
|
+
"Whether the active editor is the last one in its group"
|
|
20
|
+
))));
|
|
21
|
+
const ActiveEditorStickyContext = ( new RawContextKey('activeEditorIsPinned', false, ( localize('activeEditorIsPinned', "Whether the active editor is pinned"))));
|
|
22
|
+
const ActiveEditorCanSplitInGroupContext = ( new RawContextKey('activeEditorCanSplitInGroup', true));
|
|
23
|
+
const ActiveEditorAvailableEditorIdsContext = ( new RawContextKey('activeEditorAvailableEditorIds', '', ( localize(
|
|
24
|
+
'activeEditorAvailableEditorIds',
|
|
25
|
+
"The available editor identifiers that are usable for the active editor"
|
|
26
|
+
))));
|
|
27
|
+
const TextCompareEditorVisibleContext = ( new RawContextKey('textCompareEditorVisible', false, ( localize('textCompareEditorVisible', "Whether a text compare editor is visible"))));
|
|
28
|
+
const TextCompareEditorActiveContext = ( new RawContextKey('textCompareEditorActive', false, ( localize('textCompareEditorActive', "Whether a text compare editor is active"))));
|
|
29
|
+
const SideBySideEditorActiveContext = ( new RawContextKey('sideBySideEditorActive', false, ( localize('sideBySideEditorActive', "Whether a side by side editor is active"))));
|
|
30
|
+
const EditorGroupEditorsCountContext = ( new RawContextKey('groupEditorsCount', 0, ( localize('groupEditorsCount', "The number of opened editor groups"))));
|
|
31
|
+
const ActiveEditorGroupEmptyContext = ( new RawContextKey('activeEditorGroupEmpty', false, ( localize('activeEditorGroupEmpty', "Whether the active editor group is empty"))));
|
|
32
|
+
const ActiveEditorGroupLockedContext = ( new RawContextKey('activeEditorGroupLocked', false, ( localize('activeEditorGroupLocked', "Whether the active editor group is locked"))));
|
|
33
|
+
const MultipleEditorGroupsContext = ( new RawContextKey('multipleEditorGroups', false, ( localize('multipleEditorGroups', "Whether there are multiple editor groups opened"))));
|
|
34
|
+
const InEditorZenModeContext = ( new RawContextKey('inZenMode', false, ( localize('inZenMode', "Whether Zen mode is enabled"))));
|
|
35
|
+
const IsCenteredLayoutContext = ( new RawContextKey('isCenteredLayout', false, ( localize('isCenteredLayout', "Whether centered layout is enabled"))));
|
|
36
|
+
const EditorAreaVisibleContext = ( new RawContextKey('editorAreaVisible', true, ( localize('editorAreaVisible', "Whether the editor area is visible"))));
|
|
37
|
+
const EditorTabsVisibleContext = ( new RawContextKey('editorTabsVisible', true, ( localize('editorTabsVisible', "Whether editor tabs are visible"))));
|
|
38
|
+
const SideBarVisibleContext = ( new RawContextKey('sideBarVisible', false, ( localize('sideBarVisible', "Whether the sidebar is visible"))));
|
|
39
|
+
const NotificationFocusedContext = ( new RawContextKey('notificationFocus', true, ( localize('notificationFocus', "Whether a notification has keyboard focus"))));
|
|
40
|
+
const NotificationsCenterVisibleContext = ( new RawContextKey('notificationCenterVisible', false, ( localize('notificationCenterVisible', "Whether the notifications center is visible"))));
|
|
41
|
+
const NotificationsToastsVisibleContext = ( new RawContextKey('notificationToastsVisible', false, ( localize('notificationToastsVisible', "Whether a notification toast is visible"))));
|
|
42
|
+
const AuxiliaryBarVisibleContext = ( new RawContextKey('auxiliaryBarVisible', false, ( localize('auxiliaryBarVisible', "Whether the auxiliary bar is visible"))));
|
|
43
|
+
const PanelFocusContext = ( new RawContextKey('panelFocus', false, ( localize('panelFocus', "Whether the panel has keyboard focus"))));
|
|
44
|
+
const PanelPositionContext = ( new RawContextKey('panelPosition', 'bottom', ( localize('panelPosition', "The position of the panel, always 'bottom'"))));
|
|
45
|
+
const PanelAlignmentContext = ( new RawContextKey('panelAlignment', 'center', ( localize(
|
|
46
|
+
'panelAlignment',
|
|
47
|
+
"The alignment of the panel, either 'center', 'left', 'right' or 'justify'"
|
|
48
|
+
))));
|
|
49
|
+
const PanelVisibleContext = ( new RawContextKey('panelVisible', false, ( localize('panelVisible', "Whether the panel is visible"))));
|
|
50
|
+
const PanelMaximizedContext = ( new RawContextKey('panelMaximized', false, ( localize('panelMaximized', "Whether the panel is maximized"))));
|
|
51
|
+
const FocusedViewContext = ( new RawContextKey('focusedView', '', ( localize('focusedView', "The identifier of the view that has keyboard focus"))));
|
|
52
|
+
let ResourceContextKey = class ResourceContextKey {
|
|
53
|
+
constructor(_contextKeyService, _fileService, _languageService, _modelService) {
|
|
54
|
+
this._contextKeyService = _contextKeyService;
|
|
55
|
+
this._fileService = _fileService;
|
|
56
|
+
this._languageService = _languageService;
|
|
57
|
+
this._modelService = _modelService;
|
|
58
|
+
this._disposables = ( new DisposableStore());
|
|
59
|
+
this._schemeKey = ResourceContextKey.Scheme.bindTo(this._contextKeyService);
|
|
60
|
+
this._filenameKey = ResourceContextKey.Filename.bindTo(this._contextKeyService);
|
|
61
|
+
this._dirnameKey = ResourceContextKey.Dirname.bindTo(this._contextKeyService);
|
|
62
|
+
this._pathKey = ResourceContextKey.Path.bindTo(this._contextKeyService);
|
|
63
|
+
this._langIdKey = ResourceContextKey.LangId.bindTo(this._contextKeyService);
|
|
64
|
+
this._resourceKey = ResourceContextKey.Resource.bindTo(this._contextKeyService);
|
|
65
|
+
this._extensionKey = ResourceContextKey.Extension.bindTo(this._contextKeyService);
|
|
66
|
+
this._hasResource = ResourceContextKey.HasResource.bindTo(this._contextKeyService);
|
|
67
|
+
this._isFileSystemResource = ResourceContextKey.IsFileSystemResource.bindTo(this._contextKeyService);
|
|
68
|
+
this._disposables.add(_fileService.onDidChangeFileSystemProviderRegistrations(() => {
|
|
69
|
+
const resource = this.get();
|
|
70
|
+
this._isFileSystemResource.set(Boolean(resource && _fileService.hasProvider(resource)));
|
|
71
|
+
}));
|
|
72
|
+
this._disposables.add(_modelService.onModelAdded(model => {
|
|
73
|
+
if (isEqual(model.uri, this.get())) {
|
|
74
|
+
this._setLangId();
|
|
75
|
+
}
|
|
76
|
+
}));
|
|
77
|
+
this._disposables.add(_modelService.onModelLanguageChanged(e => {
|
|
78
|
+
if (isEqual(e.model.uri, this.get())) {
|
|
79
|
+
this._setLangId();
|
|
80
|
+
}
|
|
81
|
+
}));
|
|
19
82
|
}
|
|
20
|
-
|
|
21
|
-
|
|
83
|
+
dispose() {
|
|
84
|
+
this._disposables.dispose();
|
|
22
85
|
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
86
|
+
_setLangId() {
|
|
87
|
+
const value = this.get();
|
|
88
|
+
if (!value) {
|
|
89
|
+
this._langIdKey.set(null);
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
const langId = this._modelService.getModel(value)?.getLanguageId() ?? this._languageService.guessLanguageIdByFilepathOrFirstLine(value);
|
|
93
|
+
this._langIdKey.set(langId);
|
|
94
|
+
}
|
|
95
|
+
set(value) {
|
|
96
|
+
value = value ?? undefined;
|
|
97
|
+
if (isEqual(this._value, value)) {
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
this._value = value;
|
|
101
|
+
this._contextKeyService.bufferChangeEvents(() => {
|
|
102
|
+
this._resourceKey.set(value ? ( value.toString()) : null);
|
|
103
|
+
this._schemeKey.set(value ? value.scheme : null);
|
|
104
|
+
this._filenameKey.set(value ? basename(value) : null);
|
|
105
|
+
this._dirnameKey.set(value ? this.uriToPath(dirname(value)) : null);
|
|
106
|
+
this._pathKey.set(value ? this.uriToPath(value) : null);
|
|
107
|
+
this._setLangId();
|
|
108
|
+
this._extensionKey.set(value ? extname(value) : null);
|
|
109
|
+
this._hasResource.set(Boolean(value));
|
|
110
|
+
this._isFileSystemResource.set(value ? this._fileService.hasProvider(value) : false);
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
uriToPath(uri) {
|
|
114
|
+
if (uri.scheme === Schemas.file) {
|
|
115
|
+
return uri.fsPath;
|
|
116
|
+
}
|
|
117
|
+
return uri.path;
|
|
118
|
+
}
|
|
119
|
+
reset() {
|
|
120
|
+
this._value = undefined;
|
|
121
|
+
this._contextKeyService.bufferChangeEvents(() => {
|
|
122
|
+
this._resourceKey.reset();
|
|
123
|
+
this._schemeKey.reset();
|
|
124
|
+
this._filenameKey.reset();
|
|
125
|
+
this._dirnameKey.reset();
|
|
126
|
+
this._pathKey.reset();
|
|
127
|
+
this._langIdKey.reset();
|
|
128
|
+
this._extensionKey.reset();
|
|
129
|
+
this._hasResource.reset();
|
|
130
|
+
this._isFileSystemResource.reset();
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
get() {
|
|
134
|
+
return this._value;
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
ResourceContextKey.Scheme = ( new RawContextKey('resourceScheme', undefined, { type: 'string', description: ( localize('resourceScheme', "The scheme of the resource")) }));
|
|
138
|
+
ResourceContextKey.Filename = ( new RawContextKey(
|
|
139
|
+
'resourceFilename',
|
|
140
|
+
undefined,
|
|
141
|
+
{ type: 'string', description: ( localize('resourceFilename', "The file name of the resource")) }
|
|
142
|
+
));
|
|
143
|
+
ResourceContextKey.Dirname = ( new RawContextKey(
|
|
144
|
+
'resourceDirname',
|
|
145
|
+
undefined,
|
|
146
|
+
{ type: 'string', description: ( localize('resourceDirname', "The folder name the resource is contained in")) }
|
|
147
|
+
));
|
|
148
|
+
ResourceContextKey.Path = ( new RawContextKey('resourcePath', undefined, { type: 'string', description: ( localize('resourcePath', "The full path of the resource")) }));
|
|
149
|
+
ResourceContextKey.LangId = ( new RawContextKey('resourceLangId', undefined, { type: 'string', description: ( localize('resourceLangId', "The language identifier of the resource")) }));
|
|
150
|
+
ResourceContextKey.Resource = ( new RawContextKey('resource', undefined, { type: 'URI', description: ( localize('resource', "The full value of the resource including scheme and path")) }));
|
|
151
|
+
ResourceContextKey.Extension = ( new RawContextKey(
|
|
152
|
+
'resourceExtname',
|
|
153
|
+
undefined,
|
|
154
|
+
{ type: 'string', description: ( localize('resourceExtname', "The extension name of the resource")) }
|
|
155
|
+
));
|
|
156
|
+
ResourceContextKey.HasResource = ( new RawContextKey('resourceSet', undefined, { type: 'boolean', description: ( localize('resourceSet', "Whether a resource is present or not")) }));
|
|
157
|
+
ResourceContextKey.IsFileSystemResource = ( new RawContextKey(
|
|
158
|
+
'isFileSystemResource',
|
|
159
|
+
undefined,
|
|
160
|
+
{ type: 'boolean', description: ( localize(
|
|
161
|
+
'isFileSystemResource',
|
|
162
|
+
"Whether the resource is backed by a file system provider"
|
|
163
|
+
)) }
|
|
164
|
+
));
|
|
165
|
+
ResourceContextKey = ( __decorate([
|
|
166
|
+
( __param(0, IContextKeyService)),
|
|
167
|
+
( __param(1, IFileService)),
|
|
168
|
+
( __param(2, ILanguageService)),
|
|
169
|
+
( __param(3, IModelService))
|
|
170
|
+
], ResourceContextKey));
|
|
26
171
|
const TAB_ACTIVE_BACKGROUND = registerColor('tab.activeBackground', {
|
|
27
172
|
dark: editorBackground,
|
|
28
173
|
light: editorBackground,
|
|
@@ -347,7 +492,7 @@ registerColor('editorGroup.dropIntoPromptBorder', {
|
|
|
347
492
|
'editorDropIntoPromptBorder',
|
|
348
493
|
"Border color of text shown over editors when dragging files. This text informs the user that they can hold shift to drop into the editor."
|
|
349
494
|
)));
|
|
350
|
-
registerColor('sideBySideEditor.horizontalBorder', {
|
|
495
|
+
const SIDE_BY_SIDE_EDITOR_HORIZONTAL_BORDER = registerColor('sideBySideEditor.horizontalBorder', {
|
|
351
496
|
dark: EDITOR_GROUP_BORDER,
|
|
352
497
|
light: EDITOR_GROUP_BORDER,
|
|
353
498
|
hcDark: EDITOR_GROUP_BORDER,
|
|
@@ -356,7 +501,7 @@ registerColor('sideBySideEditor.horizontalBorder', {
|
|
|
356
501
|
'sideBySideEditor.horizontalBorder',
|
|
357
502
|
"Color to separate two editors from each other when shown side by side in an editor group from top to bottom."
|
|
358
503
|
)));
|
|
359
|
-
registerColor('sideBySideEditor.verticalBorder', {
|
|
504
|
+
const SIDE_BY_SIDE_EDITOR_VERTICAL_BORDER = registerColor('sideBySideEditor.verticalBorder', {
|
|
360
505
|
dark: EDITOR_GROUP_BORDER,
|
|
361
506
|
light: EDITOR_GROUP_BORDER,
|
|
362
507
|
hcDark: EDITOR_GROUP_BORDER,
|
|
@@ -1061,127 +1206,4 @@ registerColor('window.inactiveBorder', {
|
|
|
1061
1206
|
'windowInactiveBorder',
|
|
1062
1207
|
"The color used for the border of the window when it is inactive. Only supported in the macOS and Linux desktop client when using the custom title bar."
|
|
1063
1208
|
)));
|
|
1064
|
-
|
|
1065
|
-
const NotificationsCenterVisibleContext = ( new RawContextKey('notificationCenterVisible', false, ( localize('notificationCenterVisible', "Whether the notifications center is visible"))));
|
|
1066
|
-
const NotificationsToastsVisibleContext = ( new RawContextKey('notificationToastsVisible', false, ( localize('notificationToastsVisible', "Whether a notification toast is visible"))));
|
|
1067
|
-
const PanelFocusContext = ( new RawContextKey('panelFocus', false, ( localize('panelFocus', "Whether the panel has keyboard focus"))));
|
|
1068
|
-
let ResourceContextKey = class ResourceContextKey {
|
|
1069
|
-
constructor(_contextKeyService, _fileService, _languageService, _modelService) {
|
|
1070
|
-
this._contextKeyService = _contextKeyService;
|
|
1071
|
-
this._fileService = _fileService;
|
|
1072
|
-
this._languageService = _languageService;
|
|
1073
|
-
this._modelService = _modelService;
|
|
1074
|
-
this._disposables = ( new DisposableStore());
|
|
1075
|
-
this._schemeKey = ResourceContextKey.Scheme.bindTo(this._contextKeyService);
|
|
1076
|
-
this._filenameKey = ResourceContextKey.Filename.bindTo(this._contextKeyService);
|
|
1077
|
-
this._dirnameKey = ResourceContextKey.Dirname.bindTo(this._contextKeyService);
|
|
1078
|
-
this._pathKey = ResourceContextKey.Path.bindTo(this._contextKeyService);
|
|
1079
|
-
this._langIdKey = ResourceContextKey.LangId.bindTo(this._contextKeyService);
|
|
1080
|
-
this._resourceKey = ResourceContextKey.Resource.bindTo(this._contextKeyService);
|
|
1081
|
-
this._extensionKey = ResourceContextKey.Extension.bindTo(this._contextKeyService);
|
|
1082
|
-
this._hasResource = ResourceContextKey.HasResource.bindTo(this._contextKeyService);
|
|
1083
|
-
this._isFileSystemResource = ResourceContextKey.IsFileSystemResource.bindTo(this._contextKeyService);
|
|
1084
|
-
this._disposables.add(_fileService.onDidChangeFileSystemProviderRegistrations(() => {
|
|
1085
|
-
const resource = this.get();
|
|
1086
|
-
this._isFileSystemResource.set(Boolean(resource && _fileService.hasProvider(resource)));
|
|
1087
|
-
}));
|
|
1088
|
-
this._disposables.add(_modelService.onModelAdded(model => {
|
|
1089
|
-
if (isEqual(model.uri, this.get())) {
|
|
1090
|
-
this._setLangId();
|
|
1091
|
-
}
|
|
1092
|
-
}));
|
|
1093
|
-
this._disposables.add(_modelService.onModelLanguageChanged(e => {
|
|
1094
|
-
if (isEqual(e.model.uri, this.get())) {
|
|
1095
|
-
this._setLangId();
|
|
1096
|
-
}
|
|
1097
|
-
}));
|
|
1098
|
-
}
|
|
1099
|
-
dispose() {
|
|
1100
|
-
this._disposables.dispose();
|
|
1101
|
-
}
|
|
1102
|
-
_setLangId() {
|
|
1103
|
-
const value = this.get();
|
|
1104
|
-
if (!value) {
|
|
1105
|
-
this._langIdKey.set(null);
|
|
1106
|
-
return;
|
|
1107
|
-
}
|
|
1108
|
-
const langId = this._modelService.getModel(value)?.getLanguageId() ?? this._languageService.guessLanguageIdByFilepathOrFirstLine(value);
|
|
1109
|
-
this._langIdKey.set(langId);
|
|
1110
|
-
}
|
|
1111
|
-
set(value) {
|
|
1112
|
-
value = value ?? undefined;
|
|
1113
|
-
if (isEqual(this._value, value)) {
|
|
1114
|
-
return;
|
|
1115
|
-
}
|
|
1116
|
-
this._value = value;
|
|
1117
|
-
this._contextKeyService.bufferChangeEvents(() => {
|
|
1118
|
-
this._resourceKey.set(value ? ( value.toString()) : null);
|
|
1119
|
-
this._schemeKey.set(value ? value.scheme : null);
|
|
1120
|
-
this._filenameKey.set(value ? basename(value) : null);
|
|
1121
|
-
this._dirnameKey.set(value ? this.uriToPath(dirname(value)) : null);
|
|
1122
|
-
this._pathKey.set(value ? this.uriToPath(value) : null);
|
|
1123
|
-
this._setLangId();
|
|
1124
|
-
this._extensionKey.set(value ? extname(value) : null);
|
|
1125
|
-
this._hasResource.set(Boolean(value));
|
|
1126
|
-
this._isFileSystemResource.set(value ? this._fileService.hasProvider(value) : false);
|
|
1127
|
-
});
|
|
1128
|
-
}
|
|
1129
|
-
uriToPath(uri) {
|
|
1130
|
-
if (uri.scheme === Schemas.file) {
|
|
1131
|
-
return uri.fsPath;
|
|
1132
|
-
}
|
|
1133
|
-
return uri.path;
|
|
1134
|
-
}
|
|
1135
|
-
reset() {
|
|
1136
|
-
this._value = undefined;
|
|
1137
|
-
this._contextKeyService.bufferChangeEvents(() => {
|
|
1138
|
-
this._resourceKey.reset();
|
|
1139
|
-
this._schemeKey.reset();
|
|
1140
|
-
this._filenameKey.reset();
|
|
1141
|
-
this._dirnameKey.reset();
|
|
1142
|
-
this._pathKey.reset();
|
|
1143
|
-
this._langIdKey.reset();
|
|
1144
|
-
this._extensionKey.reset();
|
|
1145
|
-
this._hasResource.reset();
|
|
1146
|
-
this._isFileSystemResource.reset();
|
|
1147
|
-
});
|
|
1148
|
-
}
|
|
1149
|
-
get() {
|
|
1150
|
-
return this._value;
|
|
1151
|
-
}
|
|
1152
|
-
};
|
|
1153
|
-
ResourceContextKey.Scheme = ( new RawContextKey('resourceScheme', undefined, { type: 'string', description: ( localize('resourceScheme', "The scheme of the resource")) }));
|
|
1154
|
-
ResourceContextKey.Filename = ( new RawContextKey(
|
|
1155
|
-
'resourceFilename',
|
|
1156
|
-
undefined,
|
|
1157
|
-
{ type: 'string', description: ( localize('resourceFilename', "The file name of the resource")) }
|
|
1158
|
-
));
|
|
1159
|
-
ResourceContextKey.Dirname = ( new RawContextKey(
|
|
1160
|
-
'resourceDirname',
|
|
1161
|
-
undefined,
|
|
1162
|
-
{ type: 'string', description: ( localize('resourceDirname', "The folder name the resource is contained in")) }
|
|
1163
|
-
));
|
|
1164
|
-
ResourceContextKey.Path = ( new RawContextKey('resourcePath', undefined, { type: 'string', description: ( localize('resourcePath', "The full path of the resource")) }));
|
|
1165
|
-
ResourceContextKey.LangId = ( new RawContextKey('resourceLangId', undefined, { type: 'string', description: ( localize('resourceLangId', "The language identifier of the resource")) }));
|
|
1166
|
-
ResourceContextKey.Resource = ( new RawContextKey('resource', undefined, { type: 'URI', description: ( localize('resource', "The full value of the resource including scheme and path")) }));
|
|
1167
|
-
ResourceContextKey.Extension = ( new RawContextKey(
|
|
1168
|
-
'resourceExtname',
|
|
1169
|
-
undefined,
|
|
1170
|
-
{ type: 'string', description: ( localize('resourceExtname', "The extension name of the resource")) }
|
|
1171
|
-
));
|
|
1172
|
-
ResourceContextKey.HasResource = ( new RawContextKey('resourceSet', undefined, { type: 'boolean', description: ( localize('resourceSet', "Whether a resource is present or not")) }));
|
|
1173
|
-
ResourceContextKey.IsFileSystemResource = ( new RawContextKey(
|
|
1174
|
-
'isFileSystemResource',
|
|
1175
|
-
undefined,
|
|
1176
|
-
{ type: 'boolean', description: ( localize(
|
|
1177
|
-
'isFileSystemResource',
|
|
1178
|
-
"Whether the resource is backed by a file system provider"
|
|
1179
|
-
)) }
|
|
1180
|
-
));
|
|
1181
|
-
ResourceContextKey = ( __decorate([
|
|
1182
|
-
( __param(0, IContextKeyService)),
|
|
1183
|
-
( __param(1, IFileService)),
|
|
1184
|
-
( __param(2, ILanguageService)),
|
|
1185
|
-
( __param(3, IModelService))
|
|
1186
|
-
], ResourceContextKey));
|
|
1187
|
-
export { NotificationsToastsVisibleContext as N, PanelFocusContext as P, SIDE_BAR_BACKGROUND as S, NOTIFICATIONS_BACKGROUND as a, NOTIFICATIONS_TOAST_BORDER as b, NotificationsCenterVisibleContext as c, NOTIFICATIONS_CENTER_BORDER as d, NOTIFICATIONS_CENTER_HEADER_FOREGROUND as e, NOTIFICATIONS_CENTER_HEADER_BACKGROUND as f, NotificationFocusedContext as g, PANEL_BACKGROUND as h, isErrorWithActions as i, createErrorWithActions as j };
|
|
1209
|
+
export { ActiveEditorAvailableEditorIdsContext, ActiveEditorCanSplitInGroupContext, ActiveEditorDirtyContext, ActiveEditorGroupEmptyContext, ActiveEditorGroupLockedContext, ActiveEditorLastInGroupContext, ActiveEditorPinnedContext, ActiveEditorStickyContext, AuxiliaryBarVisibleContext, EditorAreaVisibleContext, EditorGroupEditorsCountContext, EditorTabsVisibleContext, FocusedViewContext, InEditorZenModeContext, IsCenteredLayoutContext, IsFullscreenContext, MultipleEditorGroupsContext, NOTIFICATIONS_BACKGROUND, NOTIFICATIONS_CENTER_BORDER, NOTIFICATIONS_CENTER_HEADER_BACKGROUND, NOTIFICATIONS_CENTER_HEADER_FOREGROUND, NOTIFICATIONS_TOAST_BORDER, NotificationFocusedContext, NotificationsCenterVisibleContext, NotificationsToastsVisibleContext, PANEL_BACKGROUND, PanelAlignmentContext, PanelFocusContext, PanelMaximizedContext, PanelPositionContext, PanelVisibleContext, SIDE_BAR_BACKGROUND, SIDE_BY_SIDE_EDITOR_HORIZONTAL_BORDER, SIDE_BY_SIDE_EDITOR_VERTICAL_BORDER, SideBarVisibleContext, SideBySideEditorActiveContext, TextCompareEditorActiveContext, TextCompareEditorVisibleContext };
|
|
@@ -1,9 +1,53 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Emitter, refineServiceDecorator } from './polyfill.js';
|
|
2
|
+
import { IThemeService } from 'monaco-editor/esm/vs/platform/theme/common/themeService.js';
|
|
3
|
+
import { isString, isBoolean } from 'monaco-editor/esm/vs/base/common/types.js';
|
|
2
4
|
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
3
5
|
import { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform.js';
|
|
4
6
|
import { Extensions } from 'monaco-editor/esm/vs/platform/jsonschemas/common/jsonContributionRegistry.js';
|
|
5
7
|
import { RunOnceScheduler } from 'monaco-editor/esm/vs/base/common/async.js';
|
|
6
8
|
import { Color } from 'monaco-editor/esm/vs/base/common/color.js';
|
|
9
|
+
const IWorkbenchThemeService = refineServiceDecorator(IThemeService);
|
|
10
|
+
const VS_LIGHT_THEME = 'vs';
|
|
11
|
+
const VS_DARK_THEME = 'vs-dark';
|
|
12
|
+
const VS_HC_THEME = 'hc-black';
|
|
13
|
+
const VS_HC_LIGHT_THEME = 'hc-light';
|
|
14
|
+
const THEME_SCOPE_OPEN_PAREN = '[';
|
|
15
|
+
const THEME_SCOPE_CLOSE_PAREN = ']';
|
|
16
|
+
const THEME_SCOPE_WILDCARD = '*';
|
|
17
|
+
const themeScopeRegex = /\[(.+?)\]/g;
|
|
18
|
+
var ThemeSettings;
|
|
19
|
+
( ((function(ThemeSettings) {
|
|
20
|
+
ThemeSettings["COLOR_THEME"] = "workbench.colorTheme";
|
|
21
|
+
ThemeSettings["FILE_ICON_THEME"] = "workbench.iconTheme";
|
|
22
|
+
ThemeSettings["PRODUCT_ICON_THEME"] = "workbench.productIconTheme";
|
|
23
|
+
ThemeSettings["COLOR_CUSTOMIZATIONS"] = "workbench.colorCustomizations";
|
|
24
|
+
ThemeSettings["TOKEN_COLOR_CUSTOMIZATIONS"] = "editor.tokenColorCustomizations";
|
|
25
|
+
ThemeSettings["SEMANTIC_TOKEN_COLOR_CUSTOMIZATIONS"] = "editor.semanticTokenColorCustomizations";
|
|
26
|
+
ThemeSettings["PREFERRED_DARK_THEME"] = "workbench.preferredDarkColorTheme";
|
|
27
|
+
ThemeSettings["PREFERRED_LIGHT_THEME"] = "workbench.preferredLightColorTheme";
|
|
28
|
+
ThemeSettings["PREFERRED_HC_DARK_THEME"] = "workbench.preferredHighContrastColorTheme";
|
|
29
|
+
ThemeSettings["PREFERRED_HC_LIGHT_THEME"] = "workbench.preferredHighContrastLightColorTheme";
|
|
30
|
+
ThemeSettings["DETECT_COLOR_SCHEME"] = "window.autoDetectColorScheme";
|
|
31
|
+
ThemeSettings["DETECT_HC"] = "window.autoDetectHighContrast";
|
|
32
|
+
})(ThemeSettings || (ThemeSettings = {}))));
|
|
33
|
+
var ExtensionData;
|
|
34
|
+
( ((function(ExtensionData) {
|
|
35
|
+
function toJSONObject(d) {
|
|
36
|
+
return d && { _extensionId: d.extensionId, _extensionIsBuiltin: d.extensionIsBuiltin, _extensionName: d.extensionName, _extensionPublisher: d.extensionPublisher };
|
|
37
|
+
}
|
|
38
|
+
ExtensionData.toJSONObject = toJSONObject;
|
|
39
|
+
function fromJSONObject(o) {
|
|
40
|
+
if (o && isString(o._extensionId) && isBoolean(o._extensionIsBuiltin) && isString(o._extensionName) && isString(o._extensionPublisher)) {
|
|
41
|
+
return { extensionId: o._extensionId, extensionIsBuiltin: o._extensionIsBuiltin, extensionName: o._extensionName, extensionPublisher: o._extensionPublisher };
|
|
42
|
+
}
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
ExtensionData.fromJSONObject = fromJSONObject;
|
|
46
|
+
function fromName(publisher, name, isBuiltin = false) {
|
|
47
|
+
return { extensionPublisher: publisher, extensionId: `${publisher}.${name}`, extensionName: name, extensionIsBuiltin: isBuiltin };
|
|
48
|
+
}
|
|
49
|
+
ExtensionData.fromName = fromName;
|
|
50
|
+
})(ExtensionData || (ExtensionData = {}))));
|
|
7
51
|
const TOKEN_TYPE_WILDCARD = '*';
|
|
8
52
|
const TOKEN_CLASSIFIER_LANGUAGE_SEPARATOR = ':';
|
|
9
53
|
const CLASSIFIER_MODIFIER_SEPARATOR = '.';
|
|
@@ -473,4 +517,4 @@ tokenClassificationRegistry.onDidChangeSchema(() => {
|
|
|
473
517
|
delayer.schedule();
|
|
474
518
|
}
|
|
475
519
|
});
|
|
476
|
-
export {
|
|
520
|
+
export { ExtensionData, IWorkbenchThemeService, SemanticTokenRule, THEME_SCOPE_CLOSE_PAREN, THEME_SCOPE_OPEN_PAREN, THEME_SCOPE_WILDCARD, ThemeSettings, TokenStyle, VS_DARK_THEME, VS_HC_LIGHT_THEME, VS_HC_THEME, VS_LIGHT_THEME, getTokenClassificationRegistry, parseClassifierString, themeScopeRegex, tokenStylingSchemaId, typeAndModifierIdPattern };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var tomorrowNightBlueColorTheme = "{\n\t\"type\": \"dark\",\n\t\"colors\": {\n\t\t\"focusBorder\": \"#bbdaff\",\n\t\t\"errorForeground\": \"#a92049\",\n\t\t\"input.background\": \"#001733\",\n\t\t\"dropdown.background\": \"#001733\",\n\t\t\"quickInputList.focusBackground\": \"#ffffff60\",\n\t\t\"list.activeSelectionBackground\": \"#ffffff60\",\n\t\t\"list.inactiveSelectionBackground\": \"#ffffff40\",\n\t\t\"list.hoverBackground\": \"#ffffff30\",\n\t\t\"list.highlightForeground\": \"#bbdaff\",\n\t\t\"pickerGroup.foreground\": \"#bbdaff\",\n\t\t\"editor.background\": \"#002451\",\n\t\t\"editor.foreground\": \"#ffffff\",\n\t\t\"editor.selectionBackground\": \"#003f8e\",\n\t\t\"minimap.selectionHighlight\": \"#003f8e\",\n\t\t\"editor.lineHighlightBackground\": \"#00346e\",\n\t\t\"editorLineNumber.activeForeground\": \"#949494\",\n\t\t\"editorCursor.foreground\": \"#ffffff\",\n\t\t\"editorWhitespace.foreground\": \"#404f7d\",\n\t\t\"editorWidget.background\": \"#001c40\",\n\t\t\"editorHoverWidget.background\": \"#001c40\",\n\t\t\"editorHoverWidget.border\": \"#ffffff44\",\n\t\t\"editorGroup.border\": \"#404f7d\",\n\t\t\"editorGroupHeader.tabsBackground\": \"#001733\",\n\t\t\"editorGroup.dropBackground\": \"#25375daa\",\n\t\t\"peekViewResult.background\": \"#001c40\",\n\t\t\"tab.inactiveBackground\": \"#001c40\",\n\t\t\"tab.lastPinnedBorder\": \"#007acc80\",\n\t\t\"debugToolBar.background\": \"#001c40\",\n\t\t\"titleBar.activeBackground\": \"#001126\",\n\t\t\"statusBar.background\": \"#001126\",\n\t\t\"statusBarItem.remoteBackground\": \"#0e639c\",\n\t\t\"ports.iconRunningProcessForeground\": \"#bbdaff\",\n\t\t\"statusBar.noFolderBackground\": \"#001126\",\n\t\t\"statusBar.debuggingBackground\": \"#001126\",\n\t\t\"activityBar.background\": \"#001733\",\n\t\t\"activityBarItem.profilesBackground\": \"#003271\",\n\t\t\"progressBar.background\": \"#bbdaffcc\",\n\t\t\"badge.background\": \"#bbdaffcc\",\n\t\t\"badge.foreground\": \"#001733\",\n\t\t\"sideBar.background\": \"#001c40\",\n\t\t\"terminal.ansiBlack\": \"#111111\",\n\t\t\"terminal.ansiRed\": \"#ff9da4\",\n\t\t\"terminal.ansiGreen\": \"#d1f1a9\",\n\t\t\"terminal.ansiYellow\": \"#ffeead\",\n\t\t\"terminal.ansiBlue\": \"#bbdaff\",\n\t\t\"terminal.ansiMagenta\": \"#ebbbff\",\n\t\t\"terminal.ansiCyan\": \"#99ffff\",\n\t\t\"terminal.ansiWhite\": \"#cccccc\",\n\t\t\"terminal.ansiBrightBlack\": \"#333333\",\n\t\t\"terminal.ansiBrightRed\": \"#ff7882\",\n\t\t\"terminal.ansiBrightGreen\": \"#b8f171\",\n\t\t\"terminal.ansiBrightYellow\": \"#ffe580\",\n\t\t\"terminal.ansiBrightBlue\": \"#80baff\",\n\t\t\"terminal.ansiBrightMagenta\": \"#d778ff\",\n\t\t\"terminal.ansiBrightCyan\": \"#78ffff\",\n\t\t\"terminal.ansiBrightWhite\": \"#ffffff\"\n\t},\n\t\"tokenColors\": [\n\t\t{\n\t\t\t\"settings\": {\n\t\t\t\t\"background\": \"#002451\",\n\t\t\t\t\"foreground\": \"#FFFFFF\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"scope\": [\n\t\t\t\t\"meta.embedded\",\n\t\t\t\t\"source.groovy.embedded\",\n\t\t\t\t\"meta.jsx.children\",\n\t\t\t\t\"string meta.image.inline.markdown\"\n\t\t\t],\n\t\t\t\"settings\": {\n\t\t\t\t//\"background\": \"#002451\",\n\t\t\t\t\"foreground\": \"#FFFFFF\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Comment\",\n\t\t\t\"scope\": \"comment\",\n\t\t\t\"settings\": {\n\t\t\t\t\"foreground\": \"#7285B7\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Foreground, Operator\",\n\t\t\t\"scope\": \"keyword.operator.class, keyword.operator, constant.other, source.php.embedded.line\",\n\t\t\t\"settings\": {\n\t\t\t\t\"fontStyle\": \"\",\n\t\t\t\t\"foreground\": \"#FFFFFF\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Variable, String Link, Regular Expression, Tag Name, GitGutter deleted\",\n\t\t\t\"scope\": \"variable, support.other.variable, string.other.link, string.regexp, entity.name.tag, entity.other.attribute-name, meta.tag, declaration.tag, markup.deleted.git_gutter\",\n\t\t\t\"settings\": {\n\t\t\t\t\"foreground\": \"#FF9DA4\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Number, Constant, Function Argument, Tag Attribute, Embedded\",\n\t\t\t\"scope\": \"constant.numeric, constant.language, support.constant, constant.character, variable.parameter, punctuation.section.embedded, keyword.other.unit\",\n\t\t\t\"settings\": {\n\t\t\t\t\"fontStyle\": \"\",\n\t\t\t\t\"foreground\": \"#FFC58F\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Class, Support\",\n\t\t\t\"scope\": \"entity.name.class, entity.name.type, entity.name.namespace, entity.name.scope-resolution, support.type, support.class\",\n\t\t\t\"settings\": {\n\t\t\t\t\"fontStyle\": \"\",\n\t\t\t\t\"foreground\": \"#FFEEAD\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"name\": \"String, Symbols, Inherited Class, Markup Heading, GitGutter inserted\",\n\t\t\t\"scope\": \"string, constant.other.symbol, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter\",\n\t\t\t\"settings\": {\n\t\t\t\t\"fontStyle\": \"\",\n\t\t\t\t\"foreground\": \"#D1F1A9\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Operator, Misc\",\n\t\t\t\"scope\": \"keyword.operator, constant.other.color\",\n\t\t\t\"settings\": {\n\t\t\t\t\"foreground\": \"#99FFFF\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Function, Special Method, Block Level, GitGutter changed\",\n\t\t\t\"scope\": \"entity.name.function, meta.function-call, support.function, keyword.other.special-method, meta.block-level, markup.changed.git_gutter\",\n\t\t\t\"settings\": {\n\t\t\t\t\"fontStyle\": \"\",\n\t\t\t\t\"foreground\": \"#BBDAFF\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Keyword, Storage\",\n\t\t\t\"scope\": \"keyword, storage, storage.type, entity.name.tag.css\",\n\t\t\t\"settings\": {\n\t\t\t\t\"fontStyle\": \"\",\n\t\t\t\t\"foreground\": \"#EBBBFF\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Invalid\",\n\t\t\t\"scope\": \"invalid\",\n\t\t\t\"settings\": {\n\t\t\t\t//\"background\": \"#F99DA5\",\n\t\t\t\t\"fontStyle\": \"\",\n\t\t\t\t\"foreground\": \"#a92049\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Separator\",\n\t\t\t\"scope\": \"meta.separator\",\n\t\t\t\"settings\": {\n\t\t\t\t//\"background\": \"#BBDAFE\",\n\t\t\t\t\"foreground\": \"#FFFFFF\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Deprecated\",\n\t\t\t\"scope\": \"invalid.deprecated\",\n\t\t\t\"settings\": {\n\t\t\t\t//\"background\": \"#EBBBFF\",\n\t\t\t\t\"fontStyle\": \"\",\n\t\t\t\t\"foreground\": \"#cd9731\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Diff foreground\",\n\t\t\t\"scope\": \"markup.inserted.diff, markup.deleted.diff, meta.diff.header.to-file, meta.diff.header.from-file\",\n\t\t\t\"settings\": {\n\t\t\t\t\"foreground\": \"#FFFFFF\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Diff insertion\",\n\t\t\t\"scope\": \"markup.inserted.diff, meta.diff.header.to-file\",\n\t\t\t\"settings\": {\n\t\t\t\t\"foreground\": \"#718c00\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Diff deletion\",\n\t\t\t\"scope\": \"markup.deleted.diff, meta.diff.header.from-file\",\n\t\t\t\"settings\": {\n\t\t\t\t\"foreground\": \"#c82829\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Diff header\",\n\t\t\t\"scope\": \"meta.diff.header.from-file, meta.diff.header.to-file\",\n\t\t\t\"settings\": {\n\t\t\t\t\"foreground\": \"#4271ae\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Diff range\",\n\t\t\t\"scope\": \"meta.diff.range\",\n\t\t\t\"settings\": {\n\t\t\t\t\"fontStyle\": \"italic\",\n\t\t\t\t\"foreground\": \"#3e999f\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Markup Quote\",\n\t\t\t\"scope\": \"markup.quote\",\n\t\t\t\"settings\": {\n\t\t\t\t\"foreground\": \"#FFC58F\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Markup Lists\",\n\t\t\t\"scope\": \"markup.list\",\n\t\t\t\"settings\": {\n\t\t\t\t\"foreground\": \"#BBDAFF\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Markup Styling\",\n\t\t\t\"scope\": \"markup.bold, markup.italic\",\n\t\t\t\"settings\": {\n\t\t\t\t\"foreground\": \"#FFC58F\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Markup: Strong\",\n\t\t\t\"scope\": \"markup.bold\",\n\t\t\t\"settings\": {\n\t\t\t\t\"fontStyle\": \"bold\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Markup: Emphasis\",\n\t\t\t\"scope\": \"markup.italic\",\n\t\t\t\"settings\": {\n\t\t\t\t\"fontStyle\": \"italic\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"scope\": \"markup.strikethrough\",\n\t\t\t\"settings\": {\n\t\t\t\t\"fontStyle\": \"strikethrough\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Markup Inline\",\n\t\t\t\"scope\": \"markup.inline.raw\",\n\t\t\t\"settings\": {\n\t\t\t\t\"fontStyle\": \"\",\n\t\t\t\t\"foreground\": \"#FF9DA4\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Markup Headings\",\n\t\t\t\"scope\": \"markup.heading\",\n\t\t\t\"settings\": {\n\t\t\t\t\"fontStyle\": \"bold\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"scope\": \"token.info-token\",\n\t\t\t\"settings\": {\n\t\t\t\t\"foreground\": \"#6796e6\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"scope\": \"token.warn-token\",\n\t\t\t\"settings\": {\n\t\t\t\t\"foreground\": \"#cd9731\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"scope\": \"token.error-token\",\n\t\t\t\"settings\": {\n\t\t\t\t\"foreground\": \"#f44747\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"scope\": \"token.debug-token\",\n\t\t\t\"settings\": {\n\t\t\t\t\"foreground\": \"#b267e6\"\n\t\t\t}\n\t\t}\n\t],\n\t\"semanticHighlighting\": true\n}\n";
|
|
2
|
+
export { tomorrowNightBlueColorTheme as default };
|