Skip to content

Commit

Permalink
Improves monaco editor playground experience
Browse files Browse the repository at this point in the history
  • Loading branch information
hediet committed May 3, 2024
1 parent 48e6f86 commit ea1ee1a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/language/json/monaco.contribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ea1ee1a

Please sign in to comment.