robb0wen/synthwave-vscode

Change to Go code colors after vscode upgrade

jrefior opened this issue · 3 comments

Thanks for the great color scheme! I've been using it for years now.

Something changed in recent versions of vscode for the application of this color scheme to Go code. There used to be a lot of magenta (purple?) text, now I think all the magenta turned light blue.

Screenshot from 2024-03-07 09-18-35

My JavaScript files still have the magenta text.

I have Go language support v0.41.1 (latest). I updated vscode today (to 1.87.0) in hopes that would fix it, but it didn't. I think it's been weeks since I saw the right colors.

I also tried uninstalling and reinstalling Synthwave '84.

I still see the magenta text only in function definitions, in parameter names:

Screenshot from 2024-03-07 09-40-50

Perhaps some useful context I found in a vscode github issue:

https://marketplace.visualstudio.com/items?itemName=golang.Go does not supply its own go grammar
but instead relies on VSCode's builtin go grammar
which changed in 1.86

I wonder if vscode's go grammar change broke a lot of color schemes?

I don't know how this can be fixed, or even if it can be fixed.

The thing I'm trying now, to adapt, is to use SynthWave '84 as my default theme, but then in Go projects set a different theme for the workspace.

For those who want to try my setup, follow instructions on StackOverflow for workbench theme settings.

I'm currently trying the Palenight theme for only Go projects (again, SynthWave default). I chose "Palenight (Mild Contrast)".

It's a bit tricky to test out different color schemes, because the colors can (sometimes... is this related to Neon Dreams?) look one way when you install a theme and select it in workbench settings, and then look different when you restart the editor. The post-restart one is what it will look like from then on. So a bit tedious to test out different themes.