@codingame/monaco-vscode-editor-api 12.0.1 → 13.0.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.
@@ -1,4 +1,4 @@
1
- import { createModelReference, writeFile } from "vscode/monaco";
1
+ import { createModelReference, writeFile } from "@codingame/monaco-vscode-api/monaco";
2
2
  export * from "../../../vscode/src/vs/editor/editor.api.js";
3
3
  declare module "../../../vscode/src/vs/editor/editor.api.js" {
4
4
  namespace editor {
@@ -1,8 +1,8 @@
1
1
 
2
2
  import { languages, editor } from '../../../vscode/src/vs/editor/editor.api.js';
3
3
  export { CancellationTokenSource, Emitter, KeyCode, KeyMod, MarkerSeverity, MarkerTag, Position, Range, Selection, SelectionDirection, Token, Uri } from '../../../vscode/src/vs/editor/editor.api.js';
4
- import { createConfiguredEditor, createConfiguredDiffEditor, createModelReference, writeFile } from 'vscode/monaco';
5
- import { withReadyServices } from 'vscode/services';
4
+ import { createConfiguredEditor, createConfiguredDiffEditor, createModelReference, writeFile } from '@codingame/monaco-vscode-api/monaco';
5
+ import { withReadyServices } from '@codingame/monaco-vscode-api/services';
6
6
 
7
7
  const originalOnLanguage = languages.onLanguage;
8
8
  languages.onLanguage = (languageId, callback) => withReadyServices(() => originalOnLanguage(languageId, callback));
@@ -1 +1 @@
1
- export * from 'vscode/workers/editor.worker'
1
+ export * from '@codingame/monaco-vscode-api/workers/editor.worker'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-editor-api",
3
- "version": "12.0.1",
3
+ "version": "13.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - monaco-editor compatible api",
6
6
  "keywords": [],
@@ -15,10 +15,11 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-5452e2b7-9081-5f95-839b-4ab3544ce28f-common": "12.0.1",
19
- "vscode": "npm:@codingame/monaco-vscode-api@12.0.1"
18
+ "@codingame/monaco-vscode-5452e2b7-9081-5f95-839b-4ab3544ce28f-common": "13.0.0"
19
+ },
20
+ "peerDependencies": {
21
+ "@codingame/monaco-vscode-api": "13.0.0"
20
22
  },
21
- "peerDependencies": {},
22
23
  "peerDependenciesMeta": {},
23
24
  "exports": {
24
25
  ".": "./esm/vs/editor/editor.api.js",
@@ -1,9 +1,9 @@
1
1
 
2
- import { EditorOptions, WrappingIndent, EditorAutoIndentStrategy } from 'vscode/vscode/vs/editor/common/config/editorOptions';
3
- import { createMonacoBaseAPI } from 'vscode/vscode/vs/editor/common/services/editorBaseApi';
2
+ import { EditorOptions, WrappingIndent, EditorAutoIndentStrategy } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/config/editorOptions';
3
+ import { createMonacoBaseAPI } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/editorBaseApi';
4
4
  import { createMonacoEditorAPI } from './standalone/browser/standaloneEditor.js';
5
5
  import { createMonacoLanguagesAPI } from './standalone/browser/standaloneLanguages.js';
6
- import { FormattingConflicts } from 'vscode/vscode/vs/editor/contrib/format/browser/format';
6
+ import { FormattingConflicts } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/format/browser/format';
7
7
 
8
8
  EditorOptions.wrappingIndent.defaultValue = WrappingIndent.None;
9
9
  EditorOptions.glyphMargin.defaultValue = false;
@@ -1,7 +1,7 @@
1
- import { ILanguageService } from "vscode/vscode/vs/editor/common/languages/language";
2
- import { ITextModel } from "vscode/vscode/vs/editor/common/model";
3
- import { IViewLineTokens } from "vscode/vscode/vs/editor/common/tokens/lineTokens";
4
- import { IStandaloneThemeService } from "vscode/vscode/vs/editor/standalone/common/standaloneTheme";
1
+ import { ILanguageService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language";
2
+ import { ITextModel } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/model";
3
+ import { IViewLineTokens } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/tokens/lineTokens";
4
+ import { IStandaloneThemeService } from "@codingame/monaco-vscode-api/vscode/vs/editor/standalone/common/standaloneTheme";
5
5
  export interface IColorizerOptions {
6
6
  tabSize?: number;
7
7
  }
@@ -1,11 +1,11 @@
1
1
 
2
- import { createTrustedTypesPolicy } from 'vscode/vscode/vs/base/browser/trustedTypes';
3
- import { startsWithUTF8BOM, splitLines } from 'vscode/vscode/vs/base/common/strings';
4
- import { FontStyle, MetadataConsts, ColorId } from 'vscode/vscode/vs/editor/common/encodedTokenAttributes';
5
- import { TokenizationRegistry } from 'vscode/vscode/vs/editor/common/languages';
6
- import { LineTokens } from 'vscode/vscode/vs/editor/common/tokens/lineTokens';
7
- import { renderViewLine2, RenderLineInput } from 'vscode/vscode/vs/editor/common/viewLayout/viewLineRenderer';
8
- import { ViewLineRenderingData } from 'vscode/vscode/vs/editor/common/viewModel';
2
+ import { createTrustedTypesPolicy } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/trustedTypes';
3
+ import { startsWithUTF8BOM, splitLines } from '@codingame/monaco-vscode-api/vscode/vs/base/common/strings';
4
+ import { FontStyle, MetadataConsts, ColorId } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/encodedTokenAttributes';
5
+ import { TokenizationRegistry } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages';
6
+ import { LineTokens } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/tokens/lineTokens';
7
+ import { renderViewLine2, RenderLineInput } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/viewLayout/viewLineRenderer';
8
+ import { ViewLineRenderingData } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/viewModel';
9
9
  import { MonarchTokenizer } from '../common/monarch/monarchLexer.js';
10
10
 
11
11
  const ttPolicy = createTrustedTypesPolicy('standaloneColorizer', { createHTML: value => value });
@@ -1,4 +1,4 @@
1
- import n from 'vscode/external/rollup-plugin-styles/dist/runtime/inject-css';
1
+ import n from '@codingame/monaco-vscode-api/external/rollup-plugin-styles/dist/runtime/inject-css';
2
2
 
3
3
  var css = ".monaco-editor.standalone{--monaco-monospace-font:\"SF Mono\",Monaco,Menlo,Consolas,\"Ubuntu Mono\",\"Liberation Mono\",\"DejaVu Sans Mono\",\"Courier New\",monospace;font-family:-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,system-ui,Ubuntu,Droid Sans,sans-serif}.monaco-editor.standalone.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.standalone.hc-light .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.standalone.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-hover p{margin:0}.monaco-aria-container{clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;top:0;width:1px}.monaco-diff-editor.standalone .synthetic-focus,.monaco-diff-editor.standalone [tabindex=\"-1\"]:focus,.monaco-diff-editor.standalone [tabindex=\"0\"]:focus,.monaco-diff-editor.standalone button:focus,.monaco-diff-editor.standalone input[type=button]:focus,.monaco-diff-editor.standalone input[type=checkbox]:focus,.monaco-diff-editor.standalone input[type=search]:focus,.monaco-diff-editor.standalone input[type=text]:focus,.monaco-diff-editor.standalone select:focus,.monaco-diff-editor.standalone textarea:focus,.monaco-editor.standalone .synthetic-focus,.monaco-editor.standalone [tabindex=\"-1\"]:focus,.monaco-editor.standalone [tabindex=\"0\"]:focus,.monaco-editor.standalone button:focus,.monaco-editor.standalone input[type=button]:focus,.monaco-editor.standalone input[type=checkbox]:focus,.monaco-editor.standalone input[type=search]:focus,.monaco-editor.standalone input[type=text]:focus,.monaco-editor.standalone select:focus,.monaco-editor.standalone textarea:focus{opacity:1;outline-color:var(--vscode-focusBorder);outline-offset:-1px;outline-style:solid;outline-width:1px}";
4
4
  n(css,{});
@@ -1,18 +1,18 @@
1
- import { IDisposable } from "vscode/vscode/vs/base/common/lifecycle";
2
- import { URI } from "vscode/vscode/vs/base/common/uri";
3
- import { ICodeEditor } from "vscode/vscode/vs/editor/browser/editorBrowser";
1
+ import { IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
2
+ import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
3
+ import { ICodeEditor } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorBrowser";
4
4
  import { IWebWorkerOptions, MonacoWebWorker } from "./standaloneWebWorker.js";
5
- import { IPosition } from "vscode/vscode/vs/editor/common/core/position";
6
- import { IRange } from "vscode/vscode/vs/editor/common/core/range";
7
- import { IDiffEditor } from "vscode/vscode/vs/editor/common/editorCommon";
8
- import * as languages from "vscode/vscode/vs/editor/common/languages";
9
- import { ITextModel } from "vscode/vscode/vs/editor/common/model";
5
+ import { IPosition } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/core/position";
6
+ import { IRange } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range";
7
+ import { IDiffEditor } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/editorCommon";
8
+ import * as languages from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages";
9
+ import { ITextModel } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/model";
10
10
  import { IColorizerElementOptions, IColorizerOptions } from "./colorizer.js";
11
- import { IActionDescriptor, IStandaloneCodeEditor, IStandaloneDiffEditor, IStandaloneDiffEditorConstructionOptions, IStandaloneEditorConstructionOptions } from "vscode/vscode/vs/editor/standalone/browser/standaloneCodeEditor";
12
- import { IEditorOverrideServices } from "vscode/vscode/vs/editor/standalone/browser/standaloneServices";
13
- import { IStandaloneThemeData } from "vscode/vscode/vs/editor/standalone/common/standaloneTheme";
14
- import { ICommandHandler } from "vscode/vscode/vs/platform/commands/common/commands";
15
- import { IMarker, IMarkerData } from "vscode/vscode/vs/platform/markers/common/markers";
11
+ import { IActionDescriptor, IStandaloneCodeEditor, IStandaloneDiffEditor, IStandaloneDiffEditorConstructionOptions, IStandaloneEditorConstructionOptions } from "@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneCodeEditor";
12
+ import { IEditorOverrideServices } from "@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneServices";
13
+ import { IStandaloneThemeData } from "@codingame/monaco-vscode-api/vscode/vs/editor/standalone/common/standaloneTheme";
14
+ import { ICommandHandler } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands";
15
+ import { IMarker, IMarkerData } from "@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers";
16
16
  import { MultiDiffEditorWidget } from "@codingame/monaco-vscode-5452e2b7-9081-5f95-839b-4ab3544ce28f-common/vscode/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget";
17
17
  export declare function create(domElement: HTMLElement, options?: IStandaloneEditorConstructionOptions, override?: IEditorOverrideServices): IStandaloneCodeEditor;
18
18
  export declare function onDidCreateEditor(listener: (codeEditor: ICodeEditor) => void): IDisposable;
@@ -1,34 +1,34 @@
1
1
 
2
- import { mainWindow } from 'vscode/vscode/vs/base/browser/window';
3
- import { DisposableStore, Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
4
- import { splitLines } from 'vscode/vscode/vs/base/common/strings';
5
- import { URI } from 'vscode/vscode/vs/base/common/uri';
2
+ import { mainWindow } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/window';
3
+ import { DisposableStore, Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
4
+ import { splitLines } from '@codingame/monaco-vscode-api/vscode/vs/base/common/strings';
5
+ import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
6
6
  import './standalone-tokens.css.js';
7
- import { FontMeasurements } from 'vscode/vscode/vs/editor/browser/config/fontMeasurements';
8
- import { EditorCommand } from 'vscode/vscode/vs/editor/browser/editorExtensions';
9
- import { ICodeEditorService } from 'vscode/vscode/vs/editor/browser/services/codeEditorService';
7
+ import { FontMeasurements } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/config/fontMeasurements';
8
+ import { EditorCommand } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorExtensions';
9
+ import { ICodeEditorService } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/codeEditorService';
10
10
  import { createWebWorker as createWebWorker$1 } from './standaloneWebWorker.js';
11
- import { ConfigurationChangedEvent, ApplyUpdateResult, EditorOptions } from 'vscode/vscode/vs/editor/common/config/editorOptions';
12
- import { EditorZoom } from 'vscode/vscode/vs/editor/common/config/editorZoom';
13
- import { BareFontInfo, FontInfo } from 'vscode/vscode/vs/editor/common/config/fontInfo';
14
- import { EditorType } from 'vscode/vscode/vs/editor/common/editorCommon';
15
- import { TokenizationRegistry } from 'vscode/vscode/vs/editor/common/languages';
16
- import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
17
- import { PLAINTEXT_LANGUAGE_ID } from 'vscode/vscode/vs/editor/common/languages/modesRegistry';
18
- import { NullState, nullTokenize } from 'vscode/vscode/vs/editor/common/languages/nullTokenize';
19
- import { TextModelResolvedOptions, FindMatch } from 'vscode/vscode/vs/editor/common/model';
20
- import { IModelService } from 'vscode/vscode/vs/editor/common/services/model';
21
- import { AccessibilitySupport, ContentWidgetPositionPreference, CursorChangeReason, DefaultEndOfLine, EditorAutoIndentStrategy, EditorOption, EndOfLinePreference, EndOfLineSequence, MinimapPosition, MinimapSectionHeaderStyle, MouseTargetType, OverlayWidgetPositionPreference, OverviewRulerLane, GlyphMarginLane, RenderLineNumbersType, RenderMinimap, ScrollbarVisibility, ScrollType, TextEditorCursorBlinkingStyle, TextEditorCursorStyle, TrackedRangeStickiness, WrappingIndent, InjectedTextCursorStops, PositionAffinity, ShowLightbulbIconMode } from 'vscode/vscode/vs/editor/common/standalone/standaloneEnums';
11
+ import { ConfigurationChangedEvent, ApplyUpdateResult, EditorOptions } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/config/editorOptions';
12
+ import { EditorZoom } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/config/editorZoom';
13
+ import { BareFontInfo, FontInfo } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/config/fontInfo';
14
+ import { EditorType } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/editorCommon';
15
+ import { TokenizationRegistry } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages';
16
+ import { ILanguageService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language';
17
+ import { PLAINTEXT_LANGUAGE_ID } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/modesRegistry';
18
+ import { NullState, nullTokenize } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/nullTokenize';
19
+ import { TextModelResolvedOptions, FindMatch } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/model';
20
+ import { IModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model';
21
+ import { AccessibilitySupport, ContentWidgetPositionPreference, CursorChangeReason, DefaultEndOfLine, EditorAutoIndentStrategy, EditorOption, EndOfLinePreference, EndOfLineSequence, MinimapPosition, MinimapSectionHeaderStyle, MouseTargetType, OverlayWidgetPositionPreference, OverviewRulerLane, GlyphMarginLane, RenderLineNumbersType, RenderMinimap, ScrollbarVisibility, ScrollType, TextEditorCursorBlinkingStyle, TextEditorCursorStyle, TrackedRangeStickiness, WrappingIndent, InjectedTextCursorStops, PositionAffinity, ShowLightbulbIconMode } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/standalone/standaloneEnums';
22
22
  import { Colorizer } from './colorizer.js';
23
- import { StandaloneEditor, StandaloneDiffEditor2, createTextModel } from 'vscode/vscode/vs/editor/standalone/browser/standaloneCodeEditor';
24
- import { StandaloneServices, StandaloneKeybindingService } from 'vscode/vscode/vs/editor/standalone/browser/standaloneServices';
25
- import { IStandaloneThemeService } from 'vscode/vscode/vs/editor/standalone/common/standaloneTheme';
26
- import { MenuRegistry, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
27
- import { CommandsRegistry } from 'vscode/vscode/vs/platform/commands/common/commands';
28
- import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
29
- import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding.service';
30
- import { IMarkerService } from 'vscode/vscode/vs/platform/markers/common/markers.service';
31
- import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener.service';
23
+ import { StandaloneEditor, StandaloneDiffEditor2, createTextModel } from '@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneCodeEditor';
24
+ import { StandaloneServices, StandaloneKeybindingService } from '@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneServices';
25
+ import { IStandaloneThemeService } from '@codingame/monaco-vscode-api/vscode/vs/editor/standalone/common/standaloneTheme';
26
+ import { MenuRegistry, MenuId } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
27
+ import { CommandsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands';
28
+ import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
29
+ import { IKeybindingService } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service';
30
+ import { IMarkerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers.service';
31
+ import { IOpenerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service';
32
32
  import { MultiDiffEditorWidget } from '@codingame/monaco-vscode-5452e2b7-9081-5f95-839b-4ab3544ce28f-common/vscode/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget';
33
33
 
34
34
  function create(domElement, options, override) {
@@ -1,14 +1,14 @@
1
- import { CancellationToken } from "vscode/vscode/vs/base/common/cancellation";
2
- import { IDisposable } from "vscode/vscode/vs/base/common/lifecycle";
3
- import { Range } from "vscode/vscode/vs/editor/common/core/range";
4
- import * as languages from "vscode/vscode/vs/editor/common/languages";
5
- import { ILanguageExtensionPoint, ILanguageService } from "vscode/vscode/vs/editor/common/languages/language";
6
- import { LanguageConfiguration } from "vscode/vscode/vs/editor/common/languages/languageConfiguration";
7
- import { LanguageSelector } from "vscode/vscode/vs/editor/common/languageSelector";
8
- import * as model from "vscode/vscode/vs/editor/common/model";
1
+ import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
2
+ import { IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
3
+ import { Range } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range";
4
+ import * as languages from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages";
5
+ import { ILanguageExtensionPoint, ILanguageService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language";
6
+ import { LanguageConfiguration } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/languageConfiguration";
7
+ import { LanguageSelector } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languageSelector";
8
+ import * as model from "@codingame/monaco-vscode-api/vscode/vs/editor/common/model";
9
9
  import { IMonarchLanguage } from "../common/monarch/monarchTypes.js";
10
- import { IStandaloneThemeService } from "vscode/vscode/vs/editor/standalone/common/standaloneTheme";
11
- import { IMarkerData } from "vscode/vscode/vs/platform/markers/common/markers";
10
+ import { IStandaloneThemeService } from "@codingame/monaco-vscode-api/vscode/vs/editor/standalone/common/standaloneTheme";
11
+ import { IMarkerData } from "@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers";
12
12
  export declare function register(language: ILanguageExtensionPoint): void;
13
13
  export declare function getLanguages(): ILanguageExtensionPoint[];
14
14
  export declare function getEncodedLanguageId(languageId: string): number;
@@ -1,19 +1,19 @@
1
1
 
2
- import { Color } from 'vscode/vscode/vs/base/common/color';
3
- import { Range } from 'vscode/vscode/vs/editor/common/core/range';
4
- import { MetadataConsts } from 'vscode/vscode/vs/editor/common/encodedTokenAttributes';
5
- import { EncodedTokenizationResult, Token, TokenizationResult, LazyTokenizationSupport, TokenizationRegistry, FoldingRangeKind, SelectedSuggestionInfo } from 'vscode/vscode/vs/editor/common/languages';
6
- import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
7
- import { ILanguageConfigurationService } from 'vscode/vscode/vs/editor/common/languages/languageConfigurationRegistry';
8
- import { ModesRegistry } from 'vscode/vscode/vs/editor/common/languages/modesRegistry';
9
- import { ILanguageFeaturesService } from 'vscode/vscode/vs/editor/common/services/languageFeatures';
10
- import { DocumentHighlightKind, CompletionItemKind, CompletionItemTag, CompletionItemInsertTextRule, SymbolKind, SymbolTag, IndentAction, CompletionTriggerKind, SignatureHelpTriggerKind, InlayHintKind, InlineCompletionTriggerKind, InlineEditTriggerKind, CodeActionTriggerType, NewSymbolNameTag, NewSymbolNameTriggerKind, PartialAcceptTriggerKind, HoverVerbosityAction } from 'vscode/vscode/vs/editor/common/standalone/standaloneEnums';
11
- import { StandaloneServices } from 'vscode/vscode/vs/editor/standalone/browser/standaloneServices';
2
+ import { Color } from '@codingame/monaco-vscode-api/vscode/vs/base/common/color';
3
+ import { Range } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range';
4
+ import { MetadataConsts } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/encodedTokenAttributes';
5
+ import { EncodedTokenizationResult, Token, TokenizationResult, LazyTokenizationSupport, TokenizationRegistry, FoldingRangeKind, SelectedSuggestionInfo } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages';
6
+ import { ILanguageService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language';
7
+ import { ILanguageConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/languageConfigurationRegistry';
8
+ import { ModesRegistry } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/modesRegistry';
9
+ import { ILanguageFeaturesService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures';
10
+ import { DocumentHighlightKind, CompletionItemKind, CompletionItemTag, CompletionItemInsertTextRule, SymbolKind, SymbolTag, IndentAction, CompletionTriggerKind, SignatureHelpTriggerKind, InlayHintKind, InlineCompletionTriggerKind, InlineEditTriggerKind, CodeActionTriggerType, NewSymbolNameTag, NewSymbolNameTriggerKind, PartialAcceptTriggerKind, HoverVerbosityAction } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/standalone/standaloneEnums';
11
+ import { StandaloneServices } from '@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneServices';
12
12
  import { compile } from '../common/monarch/monarchCompile.js';
13
13
  import { MonarchTokenizer } from '../common/monarch/monarchLexer.js';
14
- import { IStandaloneThemeService } from 'vscode/vscode/vs/editor/standalone/common/standaloneTheme';
15
- import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
16
- import { IMarkerService } from 'vscode/vscode/vs/platform/markers/common/markers.service';
14
+ import { IStandaloneThemeService } from '@codingame/monaco-vscode-api/vscode/vs/editor/standalone/common/standaloneTheme';
15
+ import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
16
+ import { IMarkerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers.service';
17
17
 
18
18
  function register(language) {
19
19
  ModesRegistry.registerLanguage(language);
@@ -1,5 +1,5 @@
1
- import { URI } from "vscode/vscode/vs/base/common/uri";
2
- import { IModelService } from "vscode/vscode/vs/editor/common/services/model";
1
+ import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
2
+ import { IModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model";
3
3
  export declare function createWebWorker<T extends object>(modelService: IModelService, opts: IWebWorkerOptions): MonacoWebWorker<T>;
4
4
  export interface MonacoWebWorker<T> {
5
5
  dispose(): void;
@@ -1,7 +1,7 @@
1
1
 
2
- import { getAllMethodNames } from 'vscode/vscode/vs/base/common/objects';
3
- import { EditorWorkerClient } from 'vscode/vscode/vs/editor/browser/services/editorWorkerService';
4
- import { standaloneEditorWorkerDescriptor } from 'vscode/vscode/vs/editor/standalone/browser/standaloneServices';
2
+ import { getAllMethodNames } from '@codingame/monaco-vscode-api/vscode/vs/base/common/objects';
3
+ import { EditorWorkerClient } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/editorWorkerService';
4
+ import { standaloneEditorWorkerDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneServices';
5
5
 
6
6
  function createWebWorker(modelService, opts) {
7
7
  return ( new MonacoWebWorkerImpl(modelService, opts));
@@ -1,9 +1,9 @@
1
- import { Disposable, IDisposable } from "vscode/vscode/vs/base/common/lifecycle";
2
- import * as languages from "vscode/vscode/vs/editor/common/languages";
3
- import { ILanguageService } from "vscode/vscode/vs/editor/common/languages/language";
1
+ import { Disposable, IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
2
+ import * as languages from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages";
3
+ import { ILanguageService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language";
4
4
  import * as monarchCommon from "./monarchCommon.js";
5
- import { IStandaloneThemeService } from "vscode/vscode/vs/editor/standalone/common/standaloneTheme";
6
- import { IConfigurationService } from "vscode/vscode/vs/platform/configuration/common/configuration.service";
5
+ import { IStandaloneThemeService } from "@codingame/monaco-vscode-api/vscode/vs/editor/standalone/common/standaloneTheme";
6
+ import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
7
7
  export type ILoadStatus = {
8
8
  loaded: true;
9
9
  } | {
@@ -1,11 +1,11 @@
1
1
 
2
- import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
3
- import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
4
- import { Token, TokenizationRegistry, TokenizationResult, EncodedTokenizationResult } from 'vscode/vscode/vs/editor/common/languages';
5
- import { nullTokenize, nullTokenizeEncoded, NullState } from 'vscode/vscode/vs/editor/common/languages/nullTokenize';
2
+ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
+ import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
4
+ import { Token, TokenizationRegistry, TokenizationResult, EncodedTokenizationResult } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages';
5
+ import { nullTokenize, nullTokenizeEncoded, NullState } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/nullTokenize';
6
6
  import { findRules, createError, isIAction, isFuzzyAction, substituteMatches, log, isString, sanitize, fixCase, MonarchBracket } from './monarchCommon.js';
7
- import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
8
- import { LanguageId, MetadataConsts } from 'vscode/vscode/vs/editor/common/encodedTokenAttributes';
7
+ import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
8
+ import { LanguageId, MetadataConsts } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/encodedTokenAttributes';
9
9
 
10
10
  var MonarchTokenizer_1;
11
11
  const CACHE_STACK_DEPTH = 5;