@codingame/monaco-editor-wrapper 1.12.0 → 1.13.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/dist/COBOL.tmLanguage.js +9 -2
- package/dist/angular.js +6 -0
- package/dist/cobol-snippets.js +103 -0
- package/dist/cobol2.js +189 -2
- package/dist/cpptools.js +9 -1
- package/dist/dart2.js +1 -1
- package/dist/dart3.js +6 -0
- package/dist/features/extensionConfigurations.js +44 -0
- package/dist/fsharp.tmLanguage.js +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/java2.js +18 -1
- package/dist/javascript-javascript.code-snippets.js +3 -3
- package/dist/languages/extensions/themeLoader.d.ts +3 -0
- package/dist/lua.tmLanguage.js +17 -17
- package/dist/lua2.js +8 -8
- package/dist/main.js +12495 -805
- package/dist/markdown-basics-markdown.code-snippets.js +2 -2
- package/dist/markdown.tmLanguage.js +2 -2
- package/dist/monaco.d.ts +1 -1
- package/dist/omnisharp.js +72 -0
- package/dist/scalameta.js +1 -1
- package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +2 -3
- package/dist/shell-unix-bash.tmLanguage.js +63 -3
- package/dist/template.js +2 -2
- package/dist/theme/index.d.ts +2 -2
- package/dist/theme/registry.d.ts +6 -1
- package/dist/theme/tools.d.ts +3 -5
- package/dist/theme-defaults~dark_plus.js +207 -0
- package/dist/theme-defaults~dark_vs.js +406 -0
- package/dist/theme-defaults~hc_black.js +470 -0
- package/dist/theme-defaults~hc_light.js +595 -0
- package/dist/theme-defaults~light_plus.js +209 -0
- package/dist/theme-defaults~light_vs.js +435 -0
- package/dist/typescript-basics-typescript.code-snippets.js +3 -3
- package/dist/typescript-language-features.js +2 -0
- package/dist/vscode-R.js +28 -4
- package/package.json +16 -17
- package/stats.html +1 -1
- package/dist/powershell-powershell.code-snippets.js +0 -18
|
@@ -85,12 +85,12 @@ var markdownBasicsMarkdown_codeSnippets = {
|
|
|
85
85
|
},
|
|
86
86
|
"Insert link": {
|
|
87
87
|
prefix: "link",
|
|
88
|
-
body: "[${TM_SELECTED_TEXT:${1:text}}](
|
|
88
|
+
body: "[${TM_SELECTED_TEXT:${1:text}}](${2:https://})$0",
|
|
89
89
|
description: "Insert link"
|
|
90
90
|
},
|
|
91
91
|
"Insert image": {
|
|
92
92
|
prefix: "image",
|
|
93
|
-
body: "$0",
|
|
94
94
|
description: "Insert image"
|
|
95
95
|
},
|
|
96
96
|
"Insert strikethrough": {
|
|
@@ -3,7 +3,7 @@ var information_for_contributors = [
|
|
|
3
3
|
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
4
4
|
"Once accepted there, we are happy to receive an update request."
|
|
5
5
|
];
|
|
6
|
-
var version = "https://github.com/microsoft/vscode-markdown-tm-grammar/commit/
|
|
6
|
+
var version = "https://github.com/microsoft/vscode-markdown-tm-grammar/commit/df4829558048663156abcc4235619c773335445e";
|
|
7
7
|
var name = "Markdown";
|
|
8
8
|
var scopeName = "text.html.markdown";
|
|
9
9
|
var patterns = [
|
|
@@ -2917,7 +2917,7 @@ var repository = {
|
|
|
2917
2917
|
name: "punctuation.definition.strikethrough.markdown"
|
|
2918
2918
|
}
|
|
2919
2919
|
},
|
|
2920
|
-
match: "(
|
|
2920
|
+
match: "(~{2,})((?:[^~]|(?!(?<!~)\\1(?!~))~)*+)(\\1)",
|
|
2921
2921
|
name: "markup.strikethrough.markdown"
|
|
2922
2922
|
}
|
|
2923
2923
|
};
|
package/dist/monaco.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import './languages';
|
|
|
3
3
|
import './theme';
|
|
4
4
|
import { EditorOpenHandler } from './services/MultiEditorStandaloneCodeEditorService';
|
|
5
5
|
import './worker';
|
|
6
|
-
declare function createEditor(domElement: HTMLElement, options?: monaco.editor.IStandaloneEditorConstructionOptions
|
|
6
|
+
declare function createEditor(domElement: HTMLElement, options?: monaco.editor.IStandaloneEditorConstructionOptions): monaco.editor.IStandaloneCodeEditor;
|
|
7
7
|
declare function registerTextModelContentProvider(scheme: string, provider: monaco.extra.ITextModelContentProvider): monaco.IDisposable;
|
|
8
8
|
declare function registerEditorOpenHandler(handler: EditorOpenHandler): monaco.IDisposable;
|
|
9
9
|
export { createEditor, registerTextModelContentProvider, registerEditorOpenHandler };
|
package/dist/omnisharp.js
CHANGED
|
@@ -288,6 +288,78 @@ var omnisharp = [
|
|
|
288
288
|
"description": "Shows the OmniSharp log in the Output pane when OmniSharp reports an error.",
|
|
289
289
|
"scope": 3
|
|
290
290
|
},
|
|
291
|
+
"csharp.inlayHints.parameters.enabled": {
|
|
292
|
+
"type": "boolean",
|
|
293
|
+
"default": false,
|
|
294
|
+
"description": "Display inline parameter name hints",
|
|
295
|
+
"scope": 3
|
|
296
|
+
},
|
|
297
|
+
"csharp.inlayHints.parameters.forLiteralParameters": {
|
|
298
|
+
"type": "boolean",
|
|
299
|
+
"default": false,
|
|
300
|
+
"description": "Show hints for literals",
|
|
301
|
+
"scope": 3
|
|
302
|
+
},
|
|
303
|
+
"csharp.inlayHints.parameters.forObjectCreationParameters": {
|
|
304
|
+
"type": "boolean",
|
|
305
|
+
"default": false,
|
|
306
|
+
"description": "Show hints for 'new' expressions",
|
|
307
|
+
"scope": 3
|
|
308
|
+
},
|
|
309
|
+
"csharp.inlayHints.parameters.forIndexerParameters": {
|
|
310
|
+
"type": "boolean",
|
|
311
|
+
"default": false,
|
|
312
|
+
"description": "Show hints for indexers",
|
|
313
|
+
"scope": 3
|
|
314
|
+
},
|
|
315
|
+
"csharp.inlayHints.parameters.forOtherParameters": {
|
|
316
|
+
"type": "boolean",
|
|
317
|
+
"default": false,
|
|
318
|
+
"description": "Show hints for everything else",
|
|
319
|
+
"scope": 3
|
|
320
|
+
},
|
|
321
|
+
"csharp.inlayHints.parameters.suppressForParametersThatDifferOnlyBySuffix": {
|
|
322
|
+
"type": "boolean",
|
|
323
|
+
"default": false,
|
|
324
|
+
"description": "Suppress hints when parameter names differ only by suffix",
|
|
325
|
+
"scope": 3
|
|
326
|
+
},
|
|
327
|
+
"csharp.inlayHints.parameters.suppressForParametersThatMatchMethodIntent": {
|
|
328
|
+
"type": "boolean",
|
|
329
|
+
"default": false,
|
|
330
|
+
"description": "Suppress hints when parameter name matches the method's intent",
|
|
331
|
+
"scope": 3
|
|
332
|
+
},
|
|
333
|
+
"csharp.inlayHints.parameters.suppressForParametersThatMatchArgumentName": {
|
|
334
|
+
"type": "boolean",
|
|
335
|
+
"default": false,
|
|
336
|
+
"description": "Suppress hints when argument matches parameter name",
|
|
337
|
+
"scope": 3
|
|
338
|
+
},
|
|
339
|
+
"csharp.inlayHints.types.enabled": {
|
|
340
|
+
"type": "boolean",
|
|
341
|
+
"default": false,
|
|
342
|
+
"description": "Display inline type hints",
|
|
343
|
+
"scope": 3
|
|
344
|
+
},
|
|
345
|
+
"csharp.inlayHints.types.forImplicitVariableTypes": {
|
|
346
|
+
"type": "boolean",
|
|
347
|
+
"default": false,
|
|
348
|
+
"description": "Show hints for variables with inferred types",
|
|
349
|
+
"scope": 3
|
|
350
|
+
},
|
|
351
|
+
"csharp.inlayHints.types.forLambdaParameterTypes": {
|
|
352
|
+
"type": "boolean",
|
|
353
|
+
"default": false,
|
|
354
|
+
"description": "Show hints for lambda parameter types",
|
|
355
|
+
"scope": 3
|
|
356
|
+
},
|
|
357
|
+
"csharp.inlayHints.types.forImplicitObjectCreation": {
|
|
358
|
+
"type": "boolean",
|
|
359
|
+
"default": false,
|
|
360
|
+
"description": "Show hints for implicit object creation",
|
|
361
|
+
"scope": 3
|
|
362
|
+
},
|
|
291
363
|
"omnisharp.path": {
|
|
292
364
|
"type": [
|
|
293
365
|
"string",
|
package/dist/scalameta.js
CHANGED
|
@@ -4,7 +4,7 @@ var scalameta = [
|
|
|
4
4
|
"properties": {
|
|
5
5
|
"metals.serverVersion": {
|
|
6
6
|
"type": "string",
|
|
7
|
-
"default": "0.11.2+
|
|
7
|
+
"default": "0.11.2+125-ed5fb2f2-SNAPSHOT",
|
|
8
8
|
"markdownDescription": "The version of the Metals server artifact. Requires reloading the window. \n\n**VS Code extension version is guaranteed to work only with the default version, change if you know what you're doing**",
|
|
9
9
|
"scope": 3
|
|
10
10
|
},
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as monaco from 'monaco-editor';
|
|
2
|
-
import TextModelService from './TextModelService';
|
|
3
2
|
export declare type EditorOpenHandler = (model: monaco.editor.ITextModel, input: monaco.extra.IResourceEditorInput, editor: monaco.editor.ICodeEditor, sideBySide?: boolean) => Promise<monaco.editor.ICodeEditor | null>;
|
|
4
3
|
export default class MultiEditorStandaloneCodeEditorServiceImpl extends monaco.extra.StandaloneCodeEditorService {
|
|
5
|
-
private
|
|
6
|
-
constructor(contextKeyService: monaco.extra.IContextKeyService, themeService: monaco.editor.IThemeService,
|
|
4
|
+
private textModelService;
|
|
5
|
+
constructor(contextKeyService: monaco.extra.IContextKeyService, themeService: monaco.editor.IThemeService, textModelService: monaco.extra.ITextModelService);
|
|
7
6
|
private handlers;
|
|
8
7
|
registerEditorOpenHandler(handler: EditorOpenHandler): monaco.IDisposable;
|
|
9
8
|
openCodeEditor(input: monaco.extra.IResourceEditorInput, editor: monaco.editor.ICodeEditor, sideBySide?: boolean): Promise<monaco.editor.ICodeEditor | null>;
|
|
@@ -3,7 +3,7 @@ var information_for_contributors = [
|
|
|
3
3
|
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
4
4
|
"Once accepted there, we are happy to receive an update request."
|
|
5
5
|
];
|
|
6
|
-
var version = "https://github.com/atom/language-shellscript/commit/
|
|
6
|
+
var version = "https://github.com/atom/language-shellscript/commit/4f8d7bb5cc4d1643674551683df10fe552dd5a6f";
|
|
7
7
|
var name = "Shell Script";
|
|
8
8
|
var scopeName = "source.shell";
|
|
9
9
|
var patterns = [
|
|
@@ -623,7 +623,7 @@ var repository = {
|
|
|
623
623
|
]
|
|
624
624
|
},
|
|
625
625
|
{
|
|
626
|
-
begin: "(<<)-\\s*(\"|'
|
|
626
|
+
begin: "(<<)-\\s*(\"|')\\s*\\\\?([^;&<\\s]+)\\2",
|
|
627
627
|
beginCaptures: {
|
|
628
628
|
"1": {
|
|
629
629
|
name: "keyword.operator.heredoc.shell"
|
|
@@ -641,7 +641,7 @@ var repository = {
|
|
|
641
641
|
name: "string.unquoted.heredoc.no-indent.shell"
|
|
642
642
|
},
|
|
643
643
|
{
|
|
644
|
-
begin: "(<<)\\s*(\"|'
|
|
644
|
+
begin: "(<<)\\s*(\"|')\\s*\\\\?([^;&<\\s]+)\\2",
|
|
645
645
|
beginCaptures: {
|
|
646
646
|
"1": {
|
|
647
647
|
name: "keyword.operator.heredoc.shell"
|
|
@@ -657,6 +657,66 @@ var repository = {
|
|
|
657
657
|
}
|
|
658
658
|
},
|
|
659
659
|
name: "string.unquoted.heredoc.shell"
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
begin: "(<<)-\\s*\\\\?([^;&<\\s]+)",
|
|
663
|
+
beginCaptures: {
|
|
664
|
+
"1": {
|
|
665
|
+
name: "keyword.operator.heredoc.shell"
|
|
666
|
+
},
|
|
667
|
+
"2": {
|
|
668
|
+
name: "keyword.control.heredoc-token.shell"
|
|
669
|
+
}
|
|
670
|
+
},
|
|
671
|
+
end: "^\\t*(\\2)(?=\\s|;|&|$)",
|
|
672
|
+
endCaptures: {
|
|
673
|
+
"1": {
|
|
674
|
+
name: "keyword.control.heredoc-token.shell"
|
|
675
|
+
}
|
|
676
|
+
},
|
|
677
|
+
name: "string.unquoted.heredoc.expanded.no-indent.shell",
|
|
678
|
+
patterns: [
|
|
679
|
+
{
|
|
680
|
+
match: "\\\\[\\$`\\\\\\n]",
|
|
681
|
+
name: "constant.character.escape.shell"
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
include: "#variable"
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
include: "#interpolation"
|
|
688
|
+
}
|
|
689
|
+
]
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
begin: "(<<)\\s*\\\\?([^;&<\\s]+)",
|
|
693
|
+
beginCaptures: {
|
|
694
|
+
"1": {
|
|
695
|
+
name: "keyword.operator.heredoc.shell"
|
|
696
|
+
},
|
|
697
|
+
"2": {
|
|
698
|
+
name: "keyword.control.heredoc-token.shell"
|
|
699
|
+
}
|
|
700
|
+
},
|
|
701
|
+
end: "^(\\2)(?=\\s|;|&|$)",
|
|
702
|
+
endCaptures: {
|
|
703
|
+
"1": {
|
|
704
|
+
name: "keyword.control.heredoc-token.shell"
|
|
705
|
+
}
|
|
706
|
+
},
|
|
707
|
+
name: "string.unquoted.heredoc.expanded.shell",
|
|
708
|
+
patterns: [
|
|
709
|
+
{
|
|
710
|
+
match: "\\\\[\\$`\\\\\\n]",
|
|
711
|
+
name: "constant.character.escape.shell"
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
include: "#variable"
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
include: "#interpolation"
|
|
718
|
+
}
|
|
719
|
+
]
|
|
660
720
|
}
|
|
661
721
|
]
|
|
662
722
|
},
|
package/dist/template.js
CHANGED
|
@@ -39,7 +39,7 @@ var repository = {
|
|
|
39
39
|
]
|
|
40
40
|
},
|
|
41
41
|
propertyBinding: {
|
|
42
|
-
begin: "(\\[\\s*@?[-_a-zA-Z0-9.$]
|
|
42
|
+
begin: "(\\[\\s*@?[-_a-zA-Z0-9.$]*%?\\s*])(=)([\"'])",
|
|
43
43
|
beginCaptures: {
|
|
44
44
|
"1": {
|
|
45
45
|
name: "entity.other.attribute-name.html entity.other.ng-binding-name.property.html",
|
|
@@ -169,7 +169,7 @@ var repository = {
|
|
|
169
169
|
bindingKey: {
|
|
170
170
|
patterns: [
|
|
171
171
|
{
|
|
172
|
-
match: "([\\[\\(]{1,2}|\\*)(?:\\s*)(@?[-_a-zA-Z0-9.$]
|
|
172
|
+
match: "([\\[\\(]{1,2}|\\*)(?:\\s*)(@?[-_a-zA-Z0-9.$]*%?)(?:\\s*)([\\]\\)]{1,2})?",
|
|
173
173
|
captures: {
|
|
174
174
|
"1": {
|
|
175
175
|
name: "punctuation.definition.ng-binding-name.begin.html"
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineVSCodeTheme } from './registry';
|
|
2
2
|
import './semanticHighlight';
|
|
3
|
-
export {
|
|
3
|
+
export { defineVSCodeTheme };
|
package/dist/theme/registry.d.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import * as monaco from 'monaco-editor';
|
|
2
2
|
import { IVSCodeTheme } from './tools';
|
|
3
|
-
export
|
|
3
|
+
export interface Theme {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function defineVSCodeTheme(id: string, vscodeThemeLoader: (uri?: monaco.Uri) => Promise<IVSCodeTheme>, themeExtensionPoint?: Partial<monaco.extra.IThemeExtensionPoint>, extensionData?: Partial<monaco.extra.ExtensionData>): Promise<void>;
|
|
4
8
|
export declare function getThemeData(themeName: string): monaco.extra.ColorThemeData | null;
|
|
9
|
+
export declare function getThemes(): Theme[];
|
package/dist/theme/tools.d.ts
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import * as monaco from 'monaco-editor';
|
|
2
2
|
export interface IVSCodeTheme {
|
|
3
|
-
|
|
4
|
-
type: monaco.editor.ColorScheme;
|
|
5
|
-
colors: {
|
|
3
|
+
colors?: {
|
|
6
4
|
[name: string]: string;
|
|
7
5
|
};
|
|
8
6
|
tokenColors: monaco.extra.ITextMateThemingRule[];
|
|
9
|
-
semanticTokenColors?: Record<string, monaco.extra.ITokenColorizationSetting>;
|
|
7
|
+
semanticTokenColors?: Record<string, monaco.extra.ITokenColorizationSetting | string>;
|
|
10
8
|
semanticHighlighting?: boolean;
|
|
11
9
|
}
|
|
12
|
-
declare function convertTheme(
|
|
10
|
+
declare function convertTheme(themeData: monaco.extra.ColorThemeData, base: monaco.editor.BuiltinTheme): monaco.editor.IStandaloneThemeData;
|
|
13
11
|
declare function fixVSCodeThemeColors(vscodeTheme: IVSCodeTheme): IVSCodeTheme;
|
|
14
12
|
export { fixVSCodeThemeColors, convertTheme };
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
var $schema = "vscode://schemas/color-theme";
|
|
2
|
+
var name = "Dark+ (default dark)";
|
|
3
|
+
var include = "./dark_vs.json";
|
|
4
|
+
var tokenColors = [
|
|
5
|
+
{
|
|
6
|
+
name: "Function declarations",
|
|
7
|
+
scope: [
|
|
8
|
+
"entity.name.function",
|
|
9
|
+
"support.function",
|
|
10
|
+
"support.constant.handlebars",
|
|
11
|
+
"source.powershell variable.other.member",
|
|
12
|
+
"entity.name.operator.custom-literal"
|
|
13
|
+
],
|
|
14
|
+
settings: {
|
|
15
|
+
foreground: "#DCDCAA"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: "Types declaration and references",
|
|
20
|
+
scope: [
|
|
21
|
+
"support.class",
|
|
22
|
+
"support.type",
|
|
23
|
+
"entity.name.type",
|
|
24
|
+
"entity.name.namespace",
|
|
25
|
+
"entity.other.attribute",
|
|
26
|
+
"entity.name.scope-resolution",
|
|
27
|
+
"entity.name.class",
|
|
28
|
+
"storage.type.numeric.go",
|
|
29
|
+
"storage.type.byte.go",
|
|
30
|
+
"storage.type.boolean.go",
|
|
31
|
+
"storage.type.string.go",
|
|
32
|
+
"storage.type.uintptr.go",
|
|
33
|
+
"storage.type.error.go",
|
|
34
|
+
"storage.type.rune.go",
|
|
35
|
+
"storage.type.cs",
|
|
36
|
+
"storage.type.generic.cs",
|
|
37
|
+
"storage.type.modifier.cs",
|
|
38
|
+
"storage.type.variable.cs",
|
|
39
|
+
"storage.type.annotation.java",
|
|
40
|
+
"storage.type.generic.java",
|
|
41
|
+
"storage.type.java",
|
|
42
|
+
"storage.type.object.array.java",
|
|
43
|
+
"storage.type.primitive.array.java",
|
|
44
|
+
"storage.type.primitive.java",
|
|
45
|
+
"storage.type.token.java",
|
|
46
|
+
"storage.type.groovy",
|
|
47
|
+
"storage.type.annotation.groovy",
|
|
48
|
+
"storage.type.parameters.groovy",
|
|
49
|
+
"storage.type.generic.groovy",
|
|
50
|
+
"storage.type.object.array.groovy",
|
|
51
|
+
"storage.type.primitive.array.groovy",
|
|
52
|
+
"storage.type.primitive.groovy"
|
|
53
|
+
],
|
|
54
|
+
settings: {
|
|
55
|
+
foreground: "#4EC9B0"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
name: "Types declaration and references, TS grammar specific",
|
|
60
|
+
scope: [
|
|
61
|
+
"meta.type.cast.expr",
|
|
62
|
+
"meta.type.new.expr",
|
|
63
|
+
"support.constant.math",
|
|
64
|
+
"support.constant.dom",
|
|
65
|
+
"support.constant.json",
|
|
66
|
+
"entity.other.inherited-class"
|
|
67
|
+
],
|
|
68
|
+
settings: {
|
|
69
|
+
foreground: "#4EC9B0"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
name: "Control flow / Special keywords",
|
|
74
|
+
scope: [
|
|
75
|
+
"keyword.control",
|
|
76
|
+
"source.cpp keyword.operator.new",
|
|
77
|
+
"keyword.operator.delete",
|
|
78
|
+
"keyword.other.using",
|
|
79
|
+
"keyword.other.operator",
|
|
80
|
+
"entity.name.operator"
|
|
81
|
+
],
|
|
82
|
+
settings: {
|
|
83
|
+
foreground: "#C586C0"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
name: "Variable and parameter name",
|
|
88
|
+
scope: [
|
|
89
|
+
"variable",
|
|
90
|
+
"meta.definition.variable.name",
|
|
91
|
+
"support.variable",
|
|
92
|
+
"entity.name.variable",
|
|
93
|
+
"constant.other.placeholder"
|
|
94
|
+
],
|
|
95
|
+
settings: {
|
|
96
|
+
foreground: "#9CDCFE"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
name: "Constants and enums",
|
|
101
|
+
scope: [
|
|
102
|
+
"variable.other.constant",
|
|
103
|
+
"variable.other.enummember"
|
|
104
|
+
],
|
|
105
|
+
settings: {
|
|
106
|
+
foreground: "#4FC1FF"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
name: "Object keys, TS grammar specific",
|
|
111
|
+
scope: [
|
|
112
|
+
"meta.object-literal.key"
|
|
113
|
+
],
|
|
114
|
+
settings: {
|
|
115
|
+
foreground: "#9CDCFE"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
name: "CSS property value",
|
|
120
|
+
scope: [
|
|
121
|
+
"support.constant.property-value",
|
|
122
|
+
"support.constant.font-name",
|
|
123
|
+
"support.constant.media-type",
|
|
124
|
+
"support.constant.media",
|
|
125
|
+
"constant.other.color.rgb-value",
|
|
126
|
+
"constant.other.rgb-value",
|
|
127
|
+
"support.constant.color"
|
|
128
|
+
],
|
|
129
|
+
settings: {
|
|
130
|
+
foreground: "#CE9178"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
name: "Regular expression groups",
|
|
135
|
+
scope: [
|
|
136
|
+
"punctuation.definition.group.regexp",
|
|
137
|
+
"punctuation.definition.group.assertion.regexp",
|
|
138
|
+
"punctuation.definition.character-class.regexp",
|
|
139
|
+
"punctuation.character.set.begin.regexp",
|
|
140
|
+
"punctuation.character.set.end.regexp",
|
|
141
|
+
"keyword.operator.negation.regexp",
|
|
142
|
+
"support.other.parenthesis.regexp"
|
|
143
|
+
],
|
|
144
|
+
settings: {
|
|
145
|
+
foreground: "#CE9178"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
scope: [
|
|
150
|
+
"constant.character.character-class.regexp",
|
|
151
|
+
"constant.other.character-class.set.regexp",
|
|
152
|
+
"constant.other.character-class.regexp",
|
|
153
|
+
"constant.character.set.regexp"
|
|
154
|
+
],
|
|
155
|
+
settings: {
|
|
156
|
+
foreground: "#d16969"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
scope: [
|
|
161
|
+
"keyword.operator.or.regexp",
|
|
162
|
+
"keyword.control.anchor.regexp"
|
|
163
|
+
],
|
|
164
|
+
settings: {
|
|
165
|
+
foreground: "#DCDCAA"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
scope: "keyword.operator.quantifier.regexp",
|
|
170
|
+
settings: {
|
|
171
|
+
foreground: "#d7ba7d"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
scope: "constant.character",
|
|
176
|
+
settings: {
|
|
177
|
+
foreground: "#569cd6"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
scope: "constant.character.escape",
|
|
182
|
+
settings: {
|
|
183
|
+
foreground: "#d7ba7d"
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
scope: "entity.name.label",
|
|
188
|
+
settings: {
|
|
189
|
+
foreground: "#C8C8C8"
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
];
|
|
193
|
+
var semanticTokenColors = {
|
|
194
|
+
newOperator: "#C586C0",
|
|
195
|
+
stringLiteral: "#ce9178",
|
|
196
|
+
customLiteral: "#DCDCAA",
|
|
197
|
+
numberLiteral: "#b5cea8"
|
|
198
|
+
};
|
|
199
|
+
var themeDefaults_dark_plus = {
|
|
200
|
+
$schema: $schema,
|
|
201
|
+
name: name,
|
|
202
|
+
include: include,
|
|
203
|
+
tokenColors: tokenColors,
|
|
204
|
+
semanticTokenColors: semanticTokenColors
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
export { $schema, themeDefaults_dark_plus as default, include, name, semanticTokenColors, tokenColors };
|