Created
December 2, 2023 03:22
-
-
Save JamsMendez/e2cf7b231fd0682c3e28d44163bca7d6 to your computer and use it in GitHub Desktop.
Go settings VS Code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"go.toolsManagement.autoUpdate": true, | |
"go.lintTool": "golangci-lint", | |
"go.lintFlags": [ | |
"--fast" | |
], | |
"gopls": { | |
"ui.semanticTokens": true, | |
"ui.diagnostic.analyses": { | |
"unusedparams": true | |
} | |
}, | |
"workbench.colorCustomizations": { | |
"editor.wordHighlightBackground": "#515c7e44", | |
"editor.wordHighlightStrongBackground": "#515c7e55", | |
"editor.wordHighlightBorder": "#515c7e55", | |
"editor.selectionHighlightBackground": "#515c7e44", | |
"editorOverviewRuler.wordHighlightForeground": "#bb9af755", | |
"editorOverviewRuler.wordHighlightStrongForeground": "#bb9af766", | |
}, | |
"editor.semanticTokenColorCustomizations": { | |
"[Tokyo Night AltSynt]": { | |
"rules": { | |
"namespace": "#AFBF7E", | |
"string": "#6AAB73", | |
"function": "#af9c73", | |
"function.definition": "#56A8F5", | |
"function.defaultLibrary": "#cc7832", | |
"variable.defaultLibrary": "#CF8E6D", | |
"number": "#2AACB8", | |
"comment": "#7A7E85", | |
"type.definition": "#BCBEC4", | |
}, | |
} | |
}, | |
"editor.tokenColorCustomizations": { | |
"[Tokyo Night AltSynt]": { | |
"textMateRules": [ | |
{ | |
"scope": "entity.name.function.member", | |
"settings": { | |
"foreground": "#56A8F5" | |
} | |
}, | |
{ | |
"scope": "entity.name.function", | |
"settings": { | |
"foreground": "#56A8F5" | |
} | |
}, | |
{ | |
"scope": "entity.name.function.go", | |
"settings": { | |
"foreground": "#56A8F5" | |
} | |
}, | |
{ | |
"scope": "variable.other.readwrite", | |
"settings": { | |
"foreground": "#BCBEC4", | |
} | |
}, | |
{ | |
"scope": "entity.name.package.go", | |
"settings": { | |
"foreground": "#B3AE60" | |
} | |
}, | |
{ | |
"scope": "entity.name.type", | |
"settings": { | |
"foreground": "#6eaea8" | |
} | |
}, | |
{ | |
"scope": "string", | |
"settings": { | |
"foreground": "#6eaea8" | |
} | |
}, | |
{ | |
"scope": "variable.other.constant", | |
"settings": { | |
"foreground": "#C77DBB" | |
} | |
}, | |
{ | |
"scope": "keyword.control", | |
"settings": { | |
"foreground": "#cf8e6d" | |
} | |
}, | |
{ | |
"scope": "keyword.operator", | |
"settings": { | |
"foreground": "#BCBEC4" | |
} | |
}, | |
{ | |
"scope": "support.function.go", | |
"settings": { | |
"foreground": "#FFC66D" | |
} | |
}, | |
{ | |
"scope": "variable.parameter", | |
"settings": { | |
"foreground": "#BCBEC4" | |
} | |
}, | |
{ | |
"scope": "support.function", | |
"settings": { | |
"foreground": "#cf8e6d" | |
} | |
}, | |
// others | |
{ | |
"scope": "entity.other.inherited-class", | |
"settings": { | |
"foreground": "#af9c73" | |
} | |
}, | |
{ | |
"scope": "entity.other.attribute-name", | |
"settings": { | |
"foreground": "#af9c73" | |
} | |
}, | |
{ | |
"scope": "function.support.builtin", | |
"settings": { | |
"foreground": "#af9c73" | |
} | |
}, | |
{ | |
"scope": "function.support.core", | |
"settings": { | |
"foreground": "#af9c73" | |
} | |
}, | |
{ | |
"scope": "entity.name.function", | |
"settings": { | |
"foreground": "#af9c73" | |
} | |
}, | |
{ | |
"scope": "support.function", | |
"settings": { | |
"foreground": "#af9c73" | |
} | |
}, | |
{ | |
"scope": "markup.quote.markdown", | |
"settings": { | |
"foreground": "#af9c73" | |
} | |
}, | |
{ | |
"scope": "markup.inserted", | |
"settings": { | |
"foreground": "#af9c73" | |
} | |
}, | |
{ | |
"name": "Tag Name", | |
"scope": [ | |
"entity.name.tag", | |
"entity.name.tag.class.js" | |
], | |
"settings": { | |
"foreground": "#2AACB8" | |
} | |
}, | |
{ | |
"name": "Keyword", | |
"scope": [ | |
"keyword", | |
"keyword.operator.logical", | |
"keyword.operator.constructor" | |
], | |
"settings": { | |
"foreground": "#cf8e6d" | |
} | |
}, | |
] | |
}, | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment