Плагины:
1 2 3 4 5 6 7 8 9 10 11 |
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
1 2 |
Ctrl + Shift + P content |
Плагины для golang
1 2 |
создайте пустую папку и в ней файл main.go и vs предложит установить |
config
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 |
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": "(//|#|<!--|;|/\\*|^|^\\s*(-|\\d+.))\\s*($TAGS)", "cSpell.words": [ "ALOOP", "Cflag", "fwupdate", "GOARCH", "Iflag", "Lflag", "napi", "nmcu", "NRSC", "NRST", "Oflag", "opros", "SERVERPORT", "TCGETS", "TCSETS", "UART", "WDIS" ], } ------------------------- |
extensions.json
1 2 3 4 5 6 7 8 9 10 11 12 13 |
{ "recommendations": [ "golang.go", "aaron-bond.better-comments", "streetsidesoftware.code-spell-checker", "streetsidesoftware.code-spell-checker-russian", "intellsmi.comment-translate", "usernamehw.errorlens", "davidanson.vscode-markdownlint", "yzhang.markdown-all-in-one", "bierner.markdown-footnotes" ] } |