92 lines
2.4 KiB
Markdown
92 lines
2.4 KiB
Markdown
|
# 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,
|
||
|
"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"
|
||
|
}
|
||
|
```
|
||
|
|
||
|
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
|
||
|
}
|
||
|
}
|
||
|
```
|
||
|
|
||
|
Some love for PlantUML, with extension
|
||
|
[PlantUML](https://marketplace.visualstudio.com/items?itemName=jebbs.plantuml)
|
||
|
|
||
|
```json
|
||
|
{
|
||
|
"plantuml.exportFormat": "png",
|
||
|
"plantuml.server": "https://www.plantuml.com/plantuml"
|
||
|
}
|
||
|
```
|