開発, Go

VS Code+Golangのsettings.json

 

コマンドパレットを開く

command + shift + P

 

 

settings.json

{
    "files.autoSave": "afterDelay",
    "files.insertFinalNewline": true,
    "github.copilot.enable": {
        "*": true,
        "plaintext": true,
        "markdown": false,
        "scminput": false,
        "go": true
    },
    "editor.inlineSuggest.enabled": true,
    "editor.largeFileOptimizations": false,
    "": {
        "editor.tabSize": 4,
        "editor.insertSpaces": false,
        "editor.formatOnSave": true,
        "editor.formatOnPaste": false,
        "editor.formatOnType": false
    },
    "go.formatTool": "goreturns",
    "go.formatFlags": [
        "-w"
    ],
    "go.lintTool": "golint",
    "go.lintOnSave": "package",
    "go.vetOnSave": "package",
    "go.buildOnSave": "package",
    "go.testOnSave": false,
    "go.gocodeAutoBuild": true,
    "go.installDependenciesWhenBuilding": true,
    "window.zoomLevel": 1,
}

 

 

 

Amazonおすすめ

iPad 9世代 2021年最新作

iPad 9世代出たから買い替え。安いぞ!🐱 初めてならiPad。Kindleを外で見るならiPad mini。ほとんどの人には通常のiPadをおすすめします><

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)