Commit c3087ebd authored by Kunkka王辉's avatar Kunkka王辉 😲

develop env

parent f175a194
{ {
"name": "project-dev", "name": "galaxy-golang开发环境",
"dockerFile": "dockerFile", // "build": {
"service": "vscode", // "dockerfile": "Dockerfile",
"runServices": [ // "context": ".",
"vscode" // "args": {}
], // },
"shutdownAction": "stopCompose", "image":"harbor.galaxy-immi.com/galaxy-open-develop/go-develop:v0.1",
"postCreateCommand": "~/.windows.sh && go mod download && go mod tidy", "containerUser":"root",
"workspaceFolder": "/workspace", "remoteUser": "root",
// "overrideCommand": "", "updateRemoteUserUID":true,
"customizations": { "mounts": [ //挂载家目录
"vscode": { {
"extensions": [ "source": "${localEnv:HOME}",
"golang.go", "target": "/root",
"eamodio.gitlens", // IDE Git information "type":"bind"
"davidanson.vscode-markdownlint",
"ms-azuretools.vscode-docker", // Docker integration and linting
"shardulm94.trailing-spaces", // Show trailing spaces
"Gruntfuggly.todo-tree", // Highlights TODO comments
"bierner.emojisense", // Emoji sense for markdown
"stkb.rewrap", // rewrap comments after n characters on one line
"vscode-icons-team.vscode-icons", // Better file extension icons
],
"settings": {
"files.eol": "\n",
"editor.formatOnSave": true,
"go.buildTags": "",
"go.toolsEnvVars": {
"CGO_ENABLED": "0"
},
"go.useLanguageServer": true,
"go.testEnvVars": {
"CGO_ENABLED": "1"
},
"go.testFlags": [
"-v",
"-race"
],
"go.testTimeout": "10s",
"go.coverOnSingleTest": true,
"go.coverOnSingleTestFile": true,
"go.coverOnTestPackage": true,
"go.lintTool": "golangci-lint",
"go.lintOnSave": "package",
"[go]": {
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"gopls": {
"usePlaceholders": false,
"staticcheck": true,
"vulncheck": "Imports"
},
"remote.extensionKind": {
"ms-azuretools.vscode-docker": "workspace"
}
}
}
} }
} ],
\ No newline at end of file "containerEnv": {
"DEBUG": "debug",
"ENV_NACOS_DIR": "${containerWorkspaceFolder}"
},
"customizations": {
"vscode": {
"extensions": [
"golang.go"
]
},
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
"remoteEnv": {
"DEBUG": "debug",
"ENV_NACOS_DIR": "../"
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment