question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Updated VSCode Warning Colors Do Not Match

See original GitHub issue

In VSCode update 1.36.1, a color was chosen for list.warningForeground and editorWarning.foreground - a golden yellow color. Since OneDarkPro does not specify colors for those fields, the same golden yellow shows up by default in the editor, breaking the consistency of the OneDarkPro theme.

See here for the change.

I’ve been using

"workbench.colorCustomizations": {
        "list.warningForeground": "#c24038",
        "editorWarning.foreground": "#c24038"
    }

to compensate in the short term.

Consider updating the theme to specify colors for those, so that the theme will be consistent regardless of VSCode updates.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:6
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
louis-laucommented, Aug 5, 2019

I’ve been confused for the past day why the hell warnings were showing up as errors in vscode. Guess they weren’t. I’m still confused by the choice to make warnings dark red and errors a slightly brighter red.

Warnings aren’t red in atom either.

3reactions
Binaryifycommented, Aug 7, 2019

@cyberbit @louis-lau @grovertb @Dreamacro @ford04 sorry for that, will change it be yellow, but not the default yellow for more coordinated

Read more comments on GitHub >

github_iconTop Results From Across the Web

Theme Color | Visual Studio Code Extension API
Theme Color reference that lists all themable colors in Visual Studio Code.
Read more >
Change squiggly line color under warnings in VSCode
I wanted to show all JS errors in red but all ESLint errors in orange (as warnings). The way to do it is...
Read more >
The optimal flow for Jest based testing in VS Code - GitHub
This extension supports full jest features in vscode environment to make ... What to do with "Long Running Tests Warning"; The tests and...
Read more >
How To Lint and Format Code with ESLint in Visual Studio Code
Once ESLint is installed in Visual Studio Code, you'll notice colorful underlining in your app.js file highlighting errors. These markers are ...
Read more >
How to configure Prettier and VSCode - Gleb Bahmutov
Prettier extension might be disabled by VSCode. Make sure the word "Prettier" appears on the Status Bar and has check mark symbol next...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found