dotfiles/vs-code/user-settings.json

195 lines
4.5 KiB
JSON
Raw Permalink Normal View History

2024-11-14 16:35:19 -08:00
{
2024-11-22 11:56:48 -08:00
//
2024-11-14 16:58:25 -08:00
// Languages
2024-11-22 11:56:48 -08:00
//
2024-11-14 16:35:19 -08:00
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
2024-11-14 16:35:19 -08:00
},
2024-11-14 16:58:25 -08:00
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
2024-11-14 16:35:19 -08:00
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
2024-11-14 16:58:25 -08:00
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[templ]": {
"editor.defaultFormatter": "a-h.templ"
},
2024-11-14 16:58:25 -08:00
"[typescript]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"editor.defaultFormatter": "vscode.typescript-language-features"
2024-11-14 16:35:19 -08:00
},
"[typescriptreact]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
2024-11-14 16:58:25 -08:00
"emmet.includeLanguages": {
"templ": "html"
},
2024-11-14 16:35:19 -08:00
"go.buildTags": "unit",
2024-11-14 16:58:25 -08:00
"go.toolsManagement.autoUpdate": true,
2024-11-14 16:35:19 -08:00
"gopls": {
2024-11-22 11:56:48 -08:00
// Supported by Catppuccin
"ui.semanticTokens": true,
2024-11-14 16:35:19 -08:00
"build.buildFlags": [
"-tags=unit"
]
},
2024-11-14 16:58:25 -08:00
"javascript.updateImportsOnFileMove.enabled": "always",
"tailwindCSS.includeLanguages": {
"templ": "html"
2024-11-14 16:35:19 -08:00
},
2024-11-14 16:58:25 -08:00
"typescript.updateImportsOnFileMove.enabled": "always",
2024-11-22 11:56:48 -08:00
//
2024-11-14 16:58:25 -08:00
// Remote Settings
2024-11-22 11:56:48 -08:00
//
2024-11-14 16:58:25 -08:00
"dev.containers.dockerPath": "docker",
"dev.containers.executeInWSL": true,
"dotfiles.installCommand": "install.sh",
"dotfiles.repository": "https://github.com/tgrosinger/dotfiles.git",
"dotfiles.targetPath": "~/.dotfiles",
2024-11-22 11:56:48 -08:00
//
2024-11-14 16:58:25 -08:00
// Fonts and Appearance
2024-11-22 11:56:48 -08:00
//
2024-11-14 16:58:25 -08:00
"editor.fontFamily": "JetBrainsMono Nerd Font, JetBrains Mono, 'Courier New', monospace",
"editor.fontLigatures": true,
2024-11-22 11:56:48 -08:00
//
// Theme
//
"editor.semanticHighlighting.enabled": true,
// prevent VSCode from modifying the terminal colors
"terminal.integrated.minimumContrastRatio": 1,
// make the window's titlebar use the workbench colors
"window.titleBarStyle": "custom",
//
2024-11-14 16:58:25 -08:00
// Editor Behavior
2024-11-22 11:56:48 -08:00
//
2024-11-14 16:58:25 -08:00
"diffEditor.experimental.showMoves": true,
"editor.accessibilitySupport": "off",
"editor.formatOnSave": true,
2024-11-14 16:35:19 -08:00
"editor.guides.bracketPairs": "active",
2024-11-14 16:58:25 -08:00
"editor.lineNumbers": "relative",
2024-11-14 16:35:19 -08:00
"editor.linkedEditing": true,
2024-11-14 16:58:25 -08:00
"editor.minimap.enabled": false,
"editor.renderWhitespace": "trailing",
"editor.stickyScroll.enabled": true,
2024-11-14 16:35:19 -08:00
"editor.wordWrap": "off",
2024-11-14 16:58:25 -08:00
"files.associations": {
"*.gohtml": "html"
},
"git.ignoreMissingGitWarning": true,
2024-11-14 16:35:19 -08:00
"githubPullRequests.pullBranch": "never",
2024-11-14 16:58:25 -08:00
"githubPullRequests.terminalLinksHandler": "github",
2024-11-22 11:56:48 -08:00
//
2024-11-14 16:58:25 -08:00
// GitLens
2024-11-22 11:56:48 -08:00
//
2024-11-14 16:58:25 -08:00
"gitlens.advanced.telemetry.enabled": false,
"gitlens.hovers.currentLine.over": "line",
"gitlens.telemetry.enabled": false,
2024-11-14 16:35:19 -08:00
"remote.autoForwardPortsSource": "hybrid",
2024-11-14 16:58:25 -08:00
"remote.containers.dotfiles.installCommand": "install.sh",
"remote.containers.dotfiles.repository": "https://github.com/tgrosinger/dotfiles.git",
"remote.containers.dotfiles.targetPath": "~/.dotfiles",
"scm.workingSets.enabled": true,
2024-11-14 16:58:25 -08:00
"settingsSync.ignoredExtensions": [
"bradlc.vscode-tailwindcss"
],
2024-11-22 11:56:48 -08:00
//
2024-11-14 16:58:25 -08:00
// Telemetry
2024-11-22 11:56:48 -08:00
//
2024-11-14 16:58:25 -08:00
"telemetry.telemetryLevel": "off",
"workbench.enableExperiments": false,
"workbench.settings.enableNaturalLanguageSearch": false,
"extensions.ignoreRecommendations": true,
2024-11-22 11:56:48 -08:00
//
2024-11-14 16:58:25 -08:00
// Vim
2024-11-22 11:56:48 -08:00
//
"vim.leader": " ",
2024-11-22 11:56:48 -08:00
"vim.handleKeys": {
// ctrl-o functionality in the plugin is not very reliable or predictable.
"<C-o>": false
},
2024-11-14 16:35:19 -08:00
"vim.normalModeKeyBindings": [
{
"before": [
"leader",
"n"
],
"commands": [
"editor.action.rename"
]
2024-11-14 22:44:04 -08:00
},
{
"before": [
"leader",
"s",
"f"
],
"commands": [
"workbench.action.quickOpen"
]
},
{
"before": [
"leader",
"s",
"g"
],
"commands": [
"workbench.action.findInFiles"
]
},
{
"before": [
"leader",
"g",
"r"
],
"commands": [
"editor.action.goToReferences"
]
},
2024-11-22 11:56:48 -08:00
{
"before": [
"leader",
"r",
"n"
],
"commands": [
"editor.action.rename"
]
},
{
"before": [
"leader",
"q"
],
"commands": [
"workbench.actions.view.problems"
]
2024-11-22 11:56:48 -08:00
},
{
"before": [
"leader",
"c",
"a"
],
"commands": [
"editor.action.quickFix"
]
2024-11-14 16:35:19 -08:00
}
2024-11-14 16:58:25 -08:00
],
2024-11-22 11:56:48 -08:00
//
2024-11-14 16:58:25 -08:00
// Window
2024-11-22 11:56:48 -08:00
//
2024-11-14 16:58:25 -08:00
"window.newWindowDimensions": "inherit",
2024-11-22 11:56:48 -08:00
"workbench.colorTheme": "Catppuccin Latte",
2024-11-14 16:58:25 -08:00
"workbench.editor.empty.hint": "hidden",
2024-11-22 11:56:48 -08:00
"workbench.sideBar.location": "right",
"workbench.iconTheme": "catppuccin-latte",
"lazygit-vscode.autoMaximizeWindow": true
2024-11-14 16:35:19 -08:00
}