diff --git a/.vscode/launch.json b/.vscode/launch.json index 44c09c98..fe948a34 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,7 +5,7 @@ "version": "0.2.0", "configurations": [ { - "name": "Monaco Editor Playground", + "name": "Monaco Editor Playground (Languages from source, needs 'npm run watch', no JSON/CSS/... workers!)", "type": "chrome", "request": "launch", "url": "https://microsoft.github.io/monaco-editor/playground.html?sourceLanguages=http%3A%2F%2Flocalhost%3A5002%2Fout%2Flanguages%2Famd-tsc", @@ -15,6 +15,17 @@ "order": 1 } }, + { + "name": "Monaco Editor Playground (Languages locally bundled, needs 'npm run build')", + "type": "chrome", + "request": "launch", + "url": "https://microsoft.github.io/monaco-editor/playground.html?sourceLanguages=http%3A%2F%2Flocalhost%3A5002%2Fout%2Flanguages%2Fbundled%2Famd-dev%2Fvs", + "preLaunchTask": "Launch Http Server", + "presentation": { + "group": "monaco", + "order": 1 + } + }, { "name": "Website", "type": "chrome", diff --git a/src/language/json/monaco.contribution.ts b/src/language/json/monaco.contribution.ts index ae44000f..8b6f7110 100644 --- a/src/language/json/monaco.contribution.ts +++ b/src/language/json/monaco.contribution.ts @@ -4,7 +4,7 @@ *--------------------------------------------------------------------------------------------*/ import * as mode from './jsonMode'; -import { Emitter, IEvent, languages, Uri } from 'monaco-editor-core'; +import { Emitter, IEvent, languages, Uri } from '../../fillers/monaco-editor-core'; // ---- JSON service types ---- export interface BaseASTNode {