Remove underscores in Vscode (image 1 = problem, image 2 = Solution)

Asked

Viewed 562 times

2

How to remove these underscores that make it difficult to read code in my Vscode.

clique aqui para ver o problema

clique aqui para ver a solução

  • Solution see answer at link below: https://stackoverflow.com/questions/60012502/how-to-disable-peek-problem-in-vs-code-solved

1 answer

2


This type of "Warning" exists for several languages and for different situations, it can be an error, or an alert or just an unrecognized experimental attribute.

You can try putting in JSON of their setting so, since the problem is in JS.

{
    "compilerOptions": {
        "experimentalDecorators": true,
        "allowJs": true
    }
}

If it doesn’t work, a "gambiarra" would put all the decorations alert with transparent color, so they are invisible on the screen...

{
    "workbench.colorCustomizations": {
        "editorError.foreground":   "#00000000",
        "editorWarning.foreground": "#00000000",
        "editorInfo.foreground":    "#00000000"
    }
}
  • Obaaa, I will use your gambiarra because I have same problem in all files, not only js.

  • @Vivisantana if you consider that you solved the problem after You should mark the answer as accepted in this icon below the arrows next to the answer. [] s

Browser other questions tagged

You are not signed in. Login or sign up in order to post.