Плагины:
Beetter Comments Code Spell Checker Error Lens GitLens - Git supercharged go indent-rainbow Markdown All in One markdownllint Russian - Code Spell Checker - В настройках нужно включить ShellCheck Todo Tree
conten markdown
Ctrl + Shift + P content
Плагины для golang
создайте пустую папку и в ней файл main.go и vs предложит установить
config
cat .vscode/settings.json
-------------------------
{
// - // cursor
"editor.cursorBlinking": "expand",
"editor.cursorStyle": "line",
"editor.cursorWidth": 2,
"editor.cursorSmoothCaretAnimation": "explicit",
// - // scrol bar
"editor.smoothScrolling": true,
"editor.scrollbar.horizontal": "hidden",
"editor.scrollbar.vertical": "hidden",
"editor.minimap.enabled": true,
"editor.minimap.maxColumn": 200,
"editor.minimap.size": "proportional",
"editor.scrollBeyondLastLine": true,
// - // TAB
"editor.tabSize": 4,
"editor.detectIndentation": true,
// - // font
"editor.fontFamily": "'Droid Sans Mono', 'monospace', monospace",
"editor.fontSize": 14,
"editor.fontLigatures": false,
"editor.lineHeight": 0,
"window.zoomLevel": 0,
// - // wrap
"editor.rulers": [
90
],
"editor.wordWrap": "bounded",
"editor.wordWrapColumn": 90,
//"editor.rulers": [],
//"editor.wordWrap": "off",
// - // auto closing tag
"javascript.autoClosingTags": true,
"html.autoClosingTags": true,
"typescript.autoClosingTags": true,
// - // hint
"editor.quickSuggestionsDelay": 0,
// - // terminal
"terminal.integrated.fontFamily": "",
"terminal.integrated.fontSize": 14,
"terminal.integrated.tabs.enabled": false,
// - // folder
"explorer.autoOpenDroppedFile": false,
"explorer.confirmDelete": true,
"explorer.compactFolders": false,
"workbench.editor.tabSizing": "shrink",
// - // debug
"debug.toolBarLocation": "hidden",
"debug.focusWindowOnBreak": false,
"debug.showInlineBreakpointCandidates": false,
"debug.showBreakpointsInOverviewRuler": false,
// - // over
"editor.formatOnSave": true,
"editor.renderWhitespace": "boundary",
"editor.insertSpaces": true,
"editor.trimAutoWhitespace": true,
"files.encoding": "utf8",
"files.eol": "auto",
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"workbench.list.smoothScrolling": true,
"workbench.editor.closeOnFileDelete": true,
"workbench.editor.highlightModifiedTabs": true,
"editor.quickSuggestions": {
"strings": true
},
"commentTranslate.targetLanguage": "ru",
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features",
},
"[go]": {
"editor.insertSpaces": false,
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "always"
},
"editor.defaultFormatter": "golang.go"
},
"[markdown]": {
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint",
"editor.formatOnSave": true
},
"todo-tree.general.tagGroups": {
"BUG": [
"BUG",
"ERROR",
"ERR",
"ISSUE",
"PROBLEM"
],
"HACK": [
"HACK",
"HACKY",
"HACKED",
"HACKING",
"HACKS"
],
"FIX": [
"FIXME",
"FIXIT",
"FIX IT",
"FIX"
],
"TODO": [
"TODO",
"TO DO",
"TO-DO",
"TASK",
"TASKS",
"DO IT",
"DOIT"
],
"IDEA": [
"IDEA",
"IDEAS"
]
},
"todo-tree.filtering.excludeGlobs": [
"**/node_modules/*/**",
"**/dist/*/**",
"**/.vscode/**",
"**/.git/**",
"**/.github/**",
".gitignore",
"package-lock.json"
],
"todo-tree.tree.hideTreeWhenEmpty": true,
"todo-tree.regex.regex": "(//|#|