Skip to content

Instantly share code, notes, and snippets.

@soypat
Last active January 19, 2022 15:20
Show Gist options
  • Save soypat/703287d8e2eab66313e370660eea0359 to your computer and use it in GitHub Desktop.
Save soypat/703287d8e2eab66313e370660eea0359 to your computer and use it in GitHub Desktop.
Visual Studio Code settings.json for Golang. Semantic highlighting+namespace coloring.
{
// Font
"editor.fontFamily": "JetBrains Mono NL", // Install font first.
"editor.fontLigatures": false,
// Editor
"workbench.sideBar.location": "right",
"explorer.confirmDelete": false,
"window.zoomLevel": 2,
"files.associations": {
"*.m": "matlab"
},
"go.toolsManagement.autoUpdate": true,
// Theme
"editor.semanticTokenColorCustomizations": {
"enabled": true,
"[Darcula]": {"rules": {
"namespace": "#b8b590",
}
}
},
"workbench.colorTheme": "Darcula",
"gopls": {
"ui.semanticTokens": true,
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment