VSCode - IDE для работы с GO

Модули


golang.go

streetsidesoftware.code-spell-checker

streetsidesoftware.code-spell-checker-russian

mechatroner.rainbow-csv

Hiberbee.hiberbee-vscode-theme

vscode-icons-team.vscode-icons

Настройки


{
    "security.workspace.trust.untrustedFiles": "open",
    "workbench.startupEditor": "none",
    "editor.fontSize": 15,
    "editor.wordWrap": "on",
    "window.confirmBeforeClose": "always",
    "editor.trimAutoWhitespace": false,
    "workbench.list.smoothScrolling": true,
    "editor.smoothScrolling": true,
    "editor.minimap.enabled": false,
    "outline.showNamespaces": false,
    "window.density.editorTabHeight": "compact",
    "window.titleBarStyle": "custom",
    "workbench.activityBar.location": "top",
    "workbench.editor.enablePreview": false,
    "window.openFoldersInNewWindow": "on",
    "debug.console.fontSize": 14,
    "terminal.integrated.fontSize": 14,
    "outline.showConstants": false,
    "workbench.iconTheme": "vscode-icons",
    "workbench.editor.pinnedTabSizing": "compact",
    "workbench.editor.tabSizing": "shrink",
    "go.toolsManagement.autoUpdate": true,
    "workbench.editor.wrapTabs": true,
    "git.autofetch": true,
    "cSpell.language": "en,ru",
    "workbench.colorCustomizations": {
        "sideBar.background": "#222222",
        "activityBar.background": "#292929",
        "list.inactiveSelectionBackground": "#242424",
        "list.inactiveSelectionForeground": "#cfcfcf",
        "editor.background": "#222222"
    },    "gitlens.codeLens.enabled": false,
    "gitlens.hovers.enabled": false,
    "cSpell.userWords": [
        "gorm",
        "Kibi",
        "Kibilog",
        "Laradock",
        "Oleg",
        "горутин",
        "горутина",
        "горутины"
    ],
    "go.goroot": "/usr/local/go",
    "workbench.colorTheme": "Hiberbee",
    "diffEditor.renderSideBySide": false,
    "cSpell.blockCheckingWhenLineLengthGreaterThan": 100000
}

Keymaps


// Place your key bindings in this file to override the defaults
[
    {
        "key": "ctrl+k ctrl+f",
        "command": "-editor.action.formatSelection",
        "when": "editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly"
    },
    {
        "key": "ctrl+shift+o",
        "command": "outline.focus"
    },
    {
        "key": "ctrl+shift+o",
        "command": "workbench.action.toggleAuxiliaryBar"
    },
    {
        "key": "ctrl+alt+b",
        "command": "-workbench.action.toggleAuxiliaryBar"
    },
    {
        "key": "ctrl+shift+i",
        "command": "-editor.action.formatDocument.none",
        "when": "editorTextFocus && !editorHasDocumentFormattingProvider && !editorReadonly"
    },
    {
        "key": "shift+alt+i",
        "command": "editor.action.formatDocument",
        "when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor"
    },
    {
        "key": "ctrl+shift+i",
        "command": "-editor.action.formatDocument",
        "when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor"
    },
    {
        "key": "ctrl+shift+i",
        "command": "-notebook.formatCell",
        "when": "editorHasDocumentFormattingProvider && editorTextFocus && inCompositeEditor && notebookEditable && !editorReadonly && activeEditor == 'workbench.editor.notebook'"
    },
    {
        "key": "ctrl+shift+i",
        "command": "-notebook.format",
        "when": "notebookEditable && !editorTextFocus && activeEditor == 'workbench.editor.notebook'"
    },
    {
        "key": "ctrl+alt+p",
        "command": "postman-for-vscode.sidebar-panel.focus"
    },
    {
        "key": "ctrl+d",
        "command": "editor.action.duplicateSelection"
    }
]

назад