sainnhe / gruvbox-material-vscode

Gruvbox Material for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=sainnhe.gruvbox-material
MIT License
229 stars 24 forks source link

Omnisharp c# changes the color syntax #179

Closed fcancelinha closed 2 years ago

fcancelinha commented 2 years ago

Settings

"workbench.colorCustomizations": {
        "[Gruvbox Material Dark]": {
            "notebook.outputContainerBackgroundColor": "#ff0000",
            "terminal.ansiBlack": "#131414",
            "terminal.ansiBlue": "#108156",
            "terminal.ansiBrightBlack": "#070808",
            "terminal.ansiBrightBlue": "#db9c13",
            "terminal.ansiBrightCyan": "#f8d582",
            "terminal.ansiBrightGreen": "#B8BB26",
            "terminal.ansiBrightMagenta": "#D3869B",
            "terminal.ansiBrightRed": "#FB4934",
            "terminal.ansiBrightWhite": "#FBF1C7",
            "terminal.ansiBrightYellow": "#FABD2F",
            "terminal.ansiCyan": "#8EC07C",
            "terminal.ansiGreen": "#c59a0d",
            "terminal.ansiMagenta": "#D3869B",
            "terminal.ansiRed": "#FB4934",
            "terminal.ansiWhite": "#D5C4A1",
            "terminal.ansiYellow": "#FABD2F",
            "terminal.background": "#131414",
            "terminal.foreground": "#D5C4A1",
            "terminalCursor.background": "#D5C4A1",
            "terminalCursor.foreground": "#D5C4A1"
        }
    },
    "workbench.iconTheme": "gruvbox-material-icon-theme",
    "workbench.list.smoothScrolling": true,
    "workbench.productIconTheme": "icons-carbon",

Steps to reproduce this bug

install Microsoft's c# extension open a .cs file

Actual behaviour

when you open the .cs sheet the color remains correct for a while until omnisharp's code lens kicks in and it then switches the color syntax to something unrecognizable

Expected behaviour

the original color syntax remains the same

sainnhe commented 2 years ago

Try disable semantic highlighting.

fcancelinha commented 2 years ago

That resolved it. Btw thank you so much for this wonderful theme, it's the only gruvbox that I like and it works for go, .net and node. You're an amazing developer

github-actions[bot] commented 2 years ago

This issue has been closed, the fix/feature will be available in the next release.

To get the update immediately, you can download and install the development version of this extension built by github action:

  1. Navigate to the github action page of this repository and click Development Release.
  2. Choose the workflow triggered by your issue and download the artifact.
  3. Extract the .zip file.
  4. Install from this .vsix file: How to install VS code extension manually? - Stack Overflow
Esildor commented 1 year ago

Thanks for the theme! While this fix used to work for me, it no longer does. FWIW, I'm using the latest VS code, and the new csharp extension provided by Microsoft. Any tips would be appreciated!