1
0
Fork 0

Add Python and Go VSCode settings
continuous-integration/drone/push Build was killed Details

main
Ambrose Chua 2023-03-01 12:57:00 +08:00
parent a701fa6698
commit 82bcdcd7b5
No known key found for this signature in database
GPG Key ID: 36C99AADD44C83D2
2 changed files with 29 additions and 4 deletions

View File

@ -3,8 +3,13 @@
"workbench.preferredDarkColorTheme": "Solarized Dark",
"workbench.preferredLightColorTheme": "Solarized Light",
"workbench.colorTheme": "Solarized Dark",
"workbench.colorCustomizations": {
"editorInlayHint.background": "#88888811",
"editorInlayHint.foreground": "#88888899",
},
"workbench.startupEditor": "none",
"editor.fontFamily": "'Fira Code', 'Droid Sans Mono', 'monospace', monospace",
"editor.inlayHints.fontSize": 12,
"editor.lineHeight": 1.3,
"editor.minimap.showSlider": "always",
"editor.minimap.enabled": false,
@ -51,12 +56,32 @@
},
],
"redhat.telemetry.enabled": false,
"git.autofetch": true,
"gitlens.statusBar.enabled": false,
"gitlab.aiAssistedCodeSuggestions.enabled": true,
"docker.containers.label": "ContainerName",
"docker.containers.description": [
"Image",
"Status",
],
"[python]": {
"editor.formatOnType": true
},
"python.analysis.typeCheckingMode": "strict",
"python.analysis.inlayHints.functionReturnTypes": true,
"python.analysis.inlayHints.variableTypes": true,
"python.analysis.inlayHints.pytestParameters": true,
"go.inlayHints.assignVariableTypes": true,
"go.inlayHints.compositeLiteralFields": true,
"go.inlayHints.compositeLiteralTypes": true,
"go.inlayHints.constantValues": true,
"go.inlayHints.rangeVariableTypes": true,
"go.coverageDecorator": {
"type": "gutter",
"coveredHighlightColor": "rgba(64,128,64,0.1)",
"uncoveredHighlightColor": "rgba(128,64,64,0.1)",
"coveredBorderColor": "rgba(64,128,64,0.1)",
"uncoveredBorderColor": "rgba(128,64,64,0.1)",
"coveredGutterStyle": "slashgreen",
"uncoveredGutterStyle": "slashred"
},
"go.coverOnSave": true,
}

View File

@ -27,8 +27,8 @@ assign [app_id="org.telegram.desktop.*"] workspace 9
for_window [instance="spotify"] move to workspace 9
assign [instance="mattermost"] workspace 10
assign [instance="google-chrome"] workspace 1
for_window [instance="google-chrome" title="Meet ...-....-..."] move container to workspace 7
for_window [instance="google-chrome" title="apps"] move container to workspace 10
for_window [instance="google-chrome" title="^Meet ...-....-..."] move container to workspace 7
for_window [instance="google-chrome" title="^apps$"] move container to workspace 10
#
# Shortcuts
#