monaco-editor
monaco-editor copied to clipboard
[Bug]
Reproducible in vscode.dev or in VS Code Desktop?
- [X] Not reproducible in vscode.dev or VS Code Desktop
Reproducible in the monaco editor playground?
- [X] Not reproducible in the monaco editor playground
Monaco Editor Playground Code
No response
Actual Behavior
I use monaco-editor with plugin MonacoWebpackPlugin
the same as sample, the difference is that i added the json schema.
monaco.languages.json.jsonDefaults.setDiagnosticsOptions({
validate: true,
schemas: [
{
uri: 'xxx',
schema: {...},
},
],
});
So it doesn't work with the below error.
Expected Behavior
No response
Additional Context
No response
I cannot find the string "RefreshReg" anywhere in our codebase... Why would the json worker import keyCodes.js?
@ChenGuanglin0924 does this reproduce in the monaco playground?
JSON doesn't have anything to do with keycodes.
Searching for "$RefreshReg$" this seems to be related to webpack. Closing.