2023-08-09 07:18:35 +00:00
|
|
|
# VSCode
|
|
|
|
|
2024-05-12 16:22:38 +00:00
|
|
|
![vscode-000](https://raw.githubusercontent.com/haunt98/posts-images/main/vscode-000.jxl)
|
2024-04-20 18:12:41 +00:00
|
|
|
|
2023-08-09 07:18:35 +00:00
|
|
|
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,
|
2023-09-08 06:45:14 +00:00
|
|
|
"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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|