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

2.4 KiB

VSCode

vscode-000

Favortite settings everytime I install VSCode.

I sort JSON using this (will probably change in the future until I find better tool)

{
  "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,
  "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"
}

Experiment alot

{
  "editor.experimental.asyncTokenization": true
}

Can not go without vim, with extension Vim

{
  "vim.enableNeovim": true,
  "vim.neovimPath": "/change/your/path/here",
  "vim.textwidth": 120,
  "vim.whichwrap": "<,>,[,]"
}

I code in Go, with extension Go

{
  "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
  }
}