settings.json 820 B

1234567891011121314151617181920212223242526272829303132
  1. {
  2. "go.formatTool": "goimports",
  3. "go.alternateTools": {
  4. },
  5. "[go]": {
  6. "editor.formatOnSave": true,
  7. "editor.codeActionsOnSave": {
  8. "source.organizeImports": true,
  9. },
  10. // Optional: Disable snippets, as they conflict with completion ranking.
  11. "editor.snippetSuggestions": "none",
  12. },
  13. "[go.mod]": {
  14. "editor.formatOnSave": true,
  15. "editor.codeActionsOnSave": {
  16. "source.organizeImports": true,
  17. },
  18. },
  19. "go.gotoSymbol.includeImports": true,
  20. "go.gotoSymbol.includeGoroot": true,
  21. "go.languageServerExperimentalFeatures": {
  22. "diagnostics": true,
  23. "documentLink": true
  24. },
  25. "go.trace.server": "verbose",
  26. "go.overwriteGoplsMiddleware": {
  27. },
  28. "go.useLanguageServer": true
  29. }
粤ICP备19079148号