Open
Description
openedon Nov 19, 2023
Reproducible in vscode.dev or in VS Code Desktop?
- Not reproducible in vscode.dev or VS Code Desktop
Reproducible in the monaco editor playground?
- Not reproducible in the monaco editor playground
Monaco Editor Playground Link
Monaco Editor Playground Code
const value = /* set from `myEditor.getModel()`: */ `{ "test": "this is my custom json" }`;
// Hover on each property to see its docs!
const myEditor = monaco.editor.create(document.getElementById("container"), {
value,
language: "json",
automaticLayout: true,
maxTokenizationLineLength: 4,
});
Reproduction Steps
No response
Actual (Problematic) Behavior
The line gets tokenized and highlighted. When hovering over the line, it actually says that tokenization was skipped.
Expected Behavior
Tokenization should be skipped. Or at least the info on hovering should be consistent with the tokenization.
Additional Context
This already has been reported in #3025.
However, I couldn't find a monaco version that works correctly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment