Skip to content

Instantly share code, notes, and snippets.

@030
Last active February 10, 2024 09:12
Show Gist options
  • Save 030/c2836fb7f72e2df209010c5b9fe7a476 to your computer and use it in GitHub Desktop.
Save 030/c2836fb7f72e2df209010c5b9fe7a476 to your computer and use it in GitHub Desktop.
vscode-settings
//
// code --list-extensions --show-versions | tr '\n' ' '
//
// [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
//
{
// general
"editor.formatOnSave": true,
"window.zoomLevel": -1,
// golang
//
// add to either ~/.bashrc as ~/.zshrc:
// export GOROOT=/snap/go/current
// export GOPATH=~/go
// export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
//
"[go]": {
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
}
},
"go.buildTags": "integration",
"go.formatTool": "goimports",
"go.toolsManagement.autoUpdate": true,
"go.useLanguageServer": true,
"gopls": {
"formatting.gofumpt": true
},
// json
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"json.format.enable": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment