monaco-editor icon indicating copy to clipboard operation
monaco-editor copied to clipboard

[Bug]

Open GarasChan opened this issue 2 years ago • 1 comments

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?

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. image

Expected Behavior

No response

Additional Context

No response

GarasChan avatar May 18 '22 06:05 GarasChan

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?

hediet avatar Jul 21 '22 09:07 hediet

JSON doesn't have anything to do with keycodes.

Searching for "$RefreshReg$" this seems to be related to webpack. Closing.

aeschli avatar Dec 09 '22 15:12 aeschli