You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.6 KiB
56 lines
1.6 KiB
5 years ago
|
{
|
||
|
"name": "stackedit-docker-dev",
|
||
|
"dockerComposeFile": ["docker-compose.yml"],
|
||
|
"service": "vscode",
|
||
|
"runServices": ["vscode"],
|
||
|
"shutdownAction": "stopCompose",
|
||
|
"postCreateCommand": "go mod download",
|
||
|
"workspaceFolder": "/workspace",
|
||
|
"appPort": 8000,
|
||
|
"extensions": [
|
||
|
"ms-vscode.go",
|
||
|
"IBM.output-colorizer",
|
||
|
"eamodio.gitlens",
|
||
|
"mhutchie.git-graph",
|
||
|
"davidanson.vscode-markdownlint",
|
||
|
"shardulm94.trailing-spaces",
|
||
|
"alefragnani.Bookmarks",
|
||
|
"Gruntfuggly.todo-tree",
|
||
|
"mohsen1.prettify-json",
|
||
|
"quicktype.quicktype",
|
||
|
"spikespaz.vscode-smoothtype",
|
||
|
"stkb.rewrap",
|
||
|
"vscode-icons-team.vscode-icons"
|
||
|
],
|
||
|
"settings": {
|
||
|
// General settings
|
||
|
"files.eol": "\n",
|
||
|
// Docker
|
||
|
"remote.extensionKind": {
|
||
|
"ms-azuretools.vscode-docker": "workspace"
|
||
|
},
|
||
|
// Golang general settings
|
||
|
"go.useLanguageServer": true,
|
||
|
"go.autocompleteUnimportedPackages": true,
|
||
|
"go.gotoSymbol.includeImports": true,
|
||
|
"go.gotoSymbol.includeGoroot": true,
|
||
|
"gopls": {
|
||
|
"completeUnimported": true,
|
||
|
"deepCompletion": true,
|
||
|
"usePlaceholders": false
|
||
|
},
|
||
|
// Golang on save
|
||
|
"go.buildOnSave": "package",
|
||
|
"go.lintOnSave": "package",
|
||
|
"go.vetOnSave": "package",
|
||
|
"editor.formatOnSave": true,
|
||
|
"[go]": {
|
||
|
"editor.codeActionsOnSave": {
|
||
|
"source.organizeImports": true
|
||
|
}
|
||
|
},
|
||
|
// Golang testing
|
||
|
"go.testFlags": ["-v"],
|
||
|
"go.testTimeout": "600s"
|
||
|
}
|
||
|
}
|