posts-go/posts/2023-08-09-vscode.md

91 lines
2.3 KiB
Markdown
Raw Normal View History

2023-08-09 07:18:35 +00:00
# VSCode
Favortite settings everytime I install VSCode.
I sort JSON using [this](https://r37r0m0d3l.github.io/json_sort/) (will probably
change in the future until I find better tool)
```json
{
"breadcrumbs.enabled": false,
"editor.bracketPairColorization.enabled": true,
"editor.bracketPairColorization.independentColorPoolPerBracketType": true,
"editor.cursorBlinking": "smooth",
"editor.cursorSmoothCaretAnimation": "on",
"editor.foldingImportsByDefault": true,
"editor.guides.bracketPairs": "active",
"editor.inlineSuggest.enabled": true,
"editor.lineNumbers": "relative",
"editor.minimap.renderCharacters": false,
"editor.renderLineHighlight": "gutter",
"editor.smoothScrolling": true,
"editor.wordWrap": "on",
"editor.wordWrapColumn": 120,
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"explorer.sortOrder": "type",
"extensions.ignoreRecommendations": true,
"files.autoSave": "onFocusChange",
"files.exclude": {
".idea": true,
"vendor": true
},
"files.trimTrailingWhitespace": true,
"files.watcherExclude": {
".idea": true,
"vendor": true
},
"git.mergeEditor": true,
"json.sortOnSave.enable": true,
2023-08-09 07:18:35 +00:00
"problems.decorations.enabled": false,
"search.exclude": {
".idea": true,
"vendor": true
},
"telemetry.telemetryLevel": "off",
"terminal.integrated.enablePersistentSessions": false,
"terminal.integrated.macOptionIsMeta": true,
"terminal.integrated.persistentSessionReviveProcess": "never",
"terminal.integrated.showExitAlert": false,
"window.commandCenter": true,
"workbench.fontAliasing": "auto"
}
```
2023-08-09 07:34:36 +00:00
Experiment alot
```json
{
"editor.experimental.asyncTokenization": true
}
```
2023-08-09 07:18:35 +00:00
Can not go without vim, with extension
[Vim](https://marketplace.visualstudio.com/items?itemName=vscodevim.vim)
```json
{
"vim.enableNeovim": true,
"vim.neovimPath": "/change/your/path/here",
"vim.textwidth": 120,
"vim.whichwrap": "<,>,[,]"
}
```
I code in Go, with extension
[Go](https://marketplace.visualstudio.com/items?itemName=golang.go)
```json
{
"go.inlayHints.parameterNames": true,
"go.lintOnSave": "off",
"go.survey.prompt": false,
"go.toolsManagement.autoUpdate": true,
"gopls": {
"formatting.gofumpt": true,
"ui.documentation.linksInHover": false,
"ui.semanticTokens": true
}
}
```