Created
February 21, 2020 03:47
-
-
Save parnic/ed24f0b61339786e44e28e234bf339ef to your computer and use it in GitHub Desktop.
My VSCode settings for Go development
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
| { | |
| "telemetry.enableTelemetry": false, | |
| "editor.fontFamily": "'Fira Code Retina', Consolas, 'Courier New', monospace", | |
| "editor.fontSize": 13, | |
| "editor.fontLigatures": true, | |
| "explorer.confirmDelete": false, | |
| "window.zoomLevel": 0, | |
| "extensions.ignoreRecommendations": false, | |
| "files.associations": { | |
| "*.tmpl": "html" | |
| }, | |
| "go.formatTool": "goimports", | |
| "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe", | |
| "go.useLanguageServer": true, | |
| "[go]": { | |
| "editor.snippetSuggestions": "none", | |
| "editor.formatOnSave": true, | |
| "editor.codeActionsOnSave": { | |
| "source.organizeImports": true, | |
| } | |
| }, | |
| "gopls": { | |
| "usePlaceholders": true, // add parameter placeholders when completing a function | |
| // Experimental settings | |
| "completeUnimported": true, // autocomplete unimported packages | |
| "deepCompletion": true, // enable deep completion | |
| }, | |
| "go.languageServerExperimentalFeatures": { | |
| "format": true, | |
| "autoComplete": true, | |
| "rename": true, | |
| "goToDefinition": true, | |
| "hover": true, | |
| "signatureHelp": true, | |
| "goToTypeDefinition": true, | |
| "goToImplementation": true, | |
| "documentSymbols": true, | |
| "workspaceSymbols": true, | |
| "findReferences": true, | |
| "diagnostics": true, | |
| "documentLink": true | |
| }, | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment