[Bug] Monaco renders four dots under some variables, and it cannot be disabled??
See original GitHub issueReproducible 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 Code
void function(foo) {
const x = fooo;
const f = bar => barr;
}
Actual Behavior
There are four little dots under the first two characters of fooo
and barr
. These dots appear whenever the variable is similar but not correct, like a fuzzy spellchecker.
The IStandaloneEditorConstructionOptions
do not contain an option for disabling the dots.
Expected Behavior
The IStandaloneEditorConstructionOptions
do contain an option for disabling the dots.
Additional Context
I’m working on a webapp, reusing Monaco in a configuration that is graphically very plain. These dots could be a useful way to indicate issues. However, they’re not documented anywhere.
If I could customize when the dots appear (and maybe other things about the dots), they could be really useful for indicating and locating issues. As it stands, I just want to disable them.
Note: I’m sure I can find a way to make the dots invisible in CSS, but that would be a pretty nasty workaround, as the code would still be running in the background.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
You can control that on the language side (I’m assuming JS)
These three dots indicate that quick fixes are available (in this case a spelling quick-fix by typescript).