OneDark-Pro icon indicating copy to clipboard operation
OneDark-Pro copied to clipboard

Golang's color scheme supports different constants and variables

Open zweix123 opened this issue 6 months ago • 0 comments

Describe what you want

Golang's color scheme supports different constants and variables

Additional context

For the following code

package main

import "fmt"

func f(s string) {
	fmt.Println(s)
}

func main() {
	v := "123"
	const c = "123"
	f(v)
	f(c)
}

The effect in Goland is b554ccd97bf790a22271962327437695

But using the OneDark theme on VSCode is c340df3f81c5b49f29a07e71061dc0e8

Cannot recognize constants and variables and assign different color schemes.

zweix123 avatar Jul 30 '24 04:07 zweix123