Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Golang's color scheme supports different constants and variables #822

Open
zweix123 opened this issue Jul 30, 2024 · 0 comments
Open

Golang's color scheme supports different constants and variables #822

zweix123 opened this issue Jul 30, 2024 · 0 comments

Comments

@zweix123
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant