@codingame/monaco-editor-wrapper 1.4.2 → 1.6.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/Groovy2.js +28 -0
- package/dist/cpptools.js +6 -0
- package/dist/css.worker.js +1 -1
- package/dist/features/mutualizedExtensionConfigurations.d.ts +1 -0
- package/dist/features/mutualizedExtensionConfigurations.js +4857 -0
- package/dist/hacks.d.ts +2 -1
- package/dist/html.worker.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/java-java.js +4 -1
- package/dist/java2.js +2 -1
- package/dist/json.worker.js +1 -1
- package/dist/keybindings/index.d.ts +2 -1
- package/dist/keybindings/keybindingHelper.d.ts +1 -1
- package/dist/languages/extensions/configurationLoader.d.ts +20 -2
- package/dist/languages/extensions/languageConfigurationLoader.d.ts +9 -1
- package/dist/languages/textMate/CGTMTokenizationSupport.d.ts +2 -2
- package/dist/lua2.js +35 -0
- package/dist/main.js +145 -109
- package/dist/markdown-basics-markdown.js +18 -0
- package/dist/monaco.d.ts +0 -1
- package/dist/r2.js +1 -1
- package/dist/scalameta.js +7 -1
- package/dist/services/CustomFoldingRulesLanguageConfigurationService.d.ts +4 -0
- package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +3 -3
- package/dist/services/TextModelService.d.ts +25 -0
- package/dist/theme/tools.d.ts +2 -1
- package/dist/ts.worker.js +1 -1
- package/dist/typescript-language-features.js +14 -4
- package/dist/vscode-R-rmd.js +2 -2
- package/dist/worker.js +1 -1
- package/package.json +18 -13
- package/stats.html +1 -1
- package/dist/COBOL Copybook2.js +0 -2017
- package/dist/COBOL2.js +0 -2017
- package/dist/SQL.plist.js +0 -482
- package/dist/bsv2.js +0 -49
- package/dist/c2.js +0 -18
- package/dist/coffeescript2.js +0 -18
- package/dist/configuration/hack.d.ts +0 -2
- package/dist/cpp2.js +0 -18
- package/dist/csharp2.js +0 -508
- package/dist/cssContribution.js +0 -10
- package/dist/diet3.js +0 -92
- package/dist/extensionConfigurations.js +0 -9475
- package/dist/fsharp2.js +0 -18
- package/dist/groovy2.js +0 -229
- package/dist/html (eex).js +0 -31
- package/dist/htmlContribution.js +0 -10
- package/dist/javascript2.js +0 -196
- package/dist/javascriptreact2.js +0 -196
- package/dist/jsonContribution.js +0 -78
- package/dist/kotlin2.js +0 -117
- package/dist/kotlinscript2.js +0 -117
- package/dist/languages/monarch/list.d.ts +0 -7
- package/dist/languages/textMate/TextMateTokensProvider.d.ts +0 -11
- package/dist/markdown-basics.js +0 -103
- package/dist/markdown2.js +0 -103
- package/dist/pgsql-sql.js +0 -21
- package/dist/pgsql.js +0 -21
- package/dist/php2.js +0 -265
- package/dist/powershell2.js +0 -18
- package/dist/r.tmLanguage.js +0 -572
- package/dist/reason2.js +0 -100
- package/dist/services/functional.d.ts +0 -1
- package/dist/services/lyfecycle.d.ts +0 -13
- package/dist/sql2.js +0 -21
- package/dist/swift2.js +0 -183
- package/dist/systemverilog2.js +0 -208
- package/dist/tcl2.js +0 -151
- package/dist/typescript-basics.js +0 -312
- package/dist/typescript2.js +0 -312
- package/dist/typescriptContribution.js +0 -36
- package/dist/typescriptreact2.js +0 -312
- package/dist/vb2.js +0 -88
package/dist/r2.js
CHANGED
|
@@ -439,7 +439,7 @@ var repository = {
|
|
|
439
439
|
"function-declarations": {
|
|
440
440
|
patterns: [
|
|
441
441
|
{
|
|
442
|
-
match: "((?:`[^`\\\\]*(?:\\\\.[^`\\\\]*)*`)|(?:[[:alpha:].][[:alnum:]._]*))\\s*(<?<-|=(?!=))\\s*(function)",
|
|
442
|
+
match: "((?:`[^`\\\\]*(?:\\\\.[^`\\\\]*)*`)|(?:[[:alpha:].][[:alnum:]._]*))\\s*(<?<-|=(?!=))\\s*(function)(?!\\w)",
|
|
443
443
|
captures: {
|
|
444
444
|
"1": {
|
|
445
445
|
name: "entity.name.function.r"
|
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.1+
|
|
7
|
+
"default": "0.11.1+114-58f06ff8-SNAPSHOT",
|
|
8
8
|
"markdownDescription": "The version of the Metals server artifact. Requires reloading the window.\n\n**Change only if you know what you're doing**",
|
|
9
9
|
"scope": 3
|
|
10
10
|
},
|
|
@@ -169,6 +169,12 @@ var scalameta = [
|
|
|
169
169
|
"type": "string",
|
|
170
170
|
"markdownDescription": "Optional Eclipse format profile to use.",
|
|
171
171
|
"scope": 3
|
|
172
|
+
},
|
|
173
|
+
"metals.suggestLatestUpgrade": {
|
|
174
|
+
"type": "boolean",
|
|
175
|
+
"default": false,
|
|
176
|
+
"markdownDescription": "Once in a day, notify if there are new server releases (including snapshots)",
|
|
177
|
+
"scope": 3
|
|
172
178
|
}
|
|
173
179
|
}
|
|
174
180
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as monaco from 'monaco-editor';
|
|
2
|
-
import
|
|
2
|
+
import TextModelService from './TextModelService';
|
|
3
3
|
export declare type EditorOpenHandler = (model: monaco.editor.ITextModel, input: monaco.extra.IResourceEditorInput, editor: monaco.editor.ICodeEditor, sideBySide?: boolean) => Promise<monaco.editor.ICodeEditor | null>;
|
|
4
|
-
export default class MultiEditorStandaloneCodeEditorServiceImpl extends monaco.extra.
|
|
4
|
+
export default class MultiEditorStandaloneCodeEditorServiceImpl extends monaco.extra.StandaloneCodeEditorService {
|
|
5
5
|
private modelResolverService;
|
|
6
|
-
constructor(
|
|
6
|
+
constructor(contextKeyService: monaco.extra.IContextKeyService, themeService: monaco.editor.IThemeService, modelResolverService: TextModelService);
|
|
7
7
|
private handlers;
|
|
8
8
|
registerEditorOpenHandler(handler: EditorOpenHandler): monaco.IDisposable;
|
|
9
9
|
openCodeEditor(input: monaco.extra.IResourceEditorInput, editor: monaco.editor.ICodeEditor, sideBySide?: boolean): Promise<monaco.editor.ICodeEditor | null>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as monaco from 'monaco-editor';
|
|
2
|
+
export declare class SimpleResolvedModel implements monaco.extra.IResolvedTextEditorModel {
|
|
3
|
+
private model;
|
|
4
|
+
private readonly;
|
|
5
|
+
private readonly _onWillDispose;
|
|
6
|
+
constructor(model: monaco.editor.ITextModel, readonly: boolean);
|
|
7
|
+
getLanguageId(): string | undefined;
|
|
8
|
+
get onWillDispose(): monaco.IEvent<void>;
|
|
9
|
+
resolve(): Promise<void>;
|
|
10
|
+
get textEditorModel(): monaco.editor.ITextModel;
|
|
11
|
+
createSnapshot(): monaco.editor.ITextSnapshot;
|
|
12
|
+
isReadonly(): boolean;
|
|
13
|
+
private disposed;
|
|
14
|
+
dispose(): void;
|
|
15
|
+
isDisposed(): boolean;
|
|
16
|
+
isResolved(): boolean;
|
|
17
|
+
getMode(): string | undefined;
|
|
18
|
+
}
|
|
19
|
+
export default class TextModelService extends monaco.extra.StandaloneTextModelService {
|
|
20
|
+
private readonly resourceModelCollection;
|
|
21
|
+
private readonly asyncModelCollection;
|
|
22
|
+
constructor(modelService: monaco.extra.IModelService);
|
|
23
|
+
registerTextModelContentProvider(scheme: string, provider: monaco.extra.ITextModelContentProvider): monaco.IDisposable;
|
|
24
|
+
createModelReference(resource: monaco.Uri): Promise<monaco.extra.IReference<monaco.extra.IResolvedTextEditorModel>>;
|
|
25
|
+
}
|
package/dist/theme/tools.d.ts
CHANGED
|
@@ -6,7 +6,8 @@ export interface IVSCodeTheme {
|
|
|
6
6
|
[name: string]: string;
|
|
7
7
|
};
|
|
8
8
|
tokenColors: monaco.extra.ITextMateThemingRule[];
|
|
9
|
-
semanticTokenColors
|
|
9
|
+
semanticTokenColors?: Record<string, monaco.extra.ITokenColorizationSetting>;
|
|
10
|
+
semanticHighlighting?: boolean;
|
|
10
11
|
}
|
|
11
12
|
declare function convertTheme(theme: IVSCodeTheme): monaco.editor.IStandaloneThemeData;
|
|
12
13
|
declare function fixVSCodeThemeColors(vscodeTheme: IVSCodeTheme): IVSCodeTheme;
|