mirror of https://github.com/wh1te909/rmmagent.git
25 lines
752 B
JSON
25 lines
752 B
JSON
{
|
|
"go.useLanguageServer": true,
|
|
"[go]": {
|
|
"editor.formatOnSave": true,
|
|
"editor.codeActionsOnSave": {
|
|
"source.organizeImports": false,
|
|
},
|
|
// Optional: Disable snippets, as they conflict with completion ranking.
|
|
"editor.snippetSuggestions": "none",
|
|
},
|
|
"[go.mod]": {
|
|
"editor.formatOnSave": true,
|
|
"editor.codeActionsOnSave": {
|
|
"source.organizeImports": true,
|
|
},
|
|
},
|
|
"gopls": {
|
|
// Add parameter placeholders when completing a function.
|
|
"usePlaceholders": true,
|
|
|
|
// If true, enable additional analyses with staticcheck.
|
|
// Warning: This will significantly increase memory usage.
|
|
"staticcheck": true,
|
|
}
|
|
} |