cursor config

This commit is contained in:
Laurent Le Houerou 2024-09-03 17:12:02 +04:00
parent 392a488bf2
commit 0a7b2c00c4

View File

@ -3,8 +3,8 @@
"editor.insertSpaces": true, "editor.insertSpaces": true,
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.fontFamily": "'FiraCode Nerd Font Mono', Consolas, 'Courier New', monospace", "editor.fontFamily": "'FiraCode Nerd Font Mono', Consolas, 'Courier New', monospace",
"editor.fontSize": 14, "editor.fontSize": 16,
"editor.minimap.enabled": false, "editor.minimap.enabled": true,
"editor.scrollbar.vertical": "auto", "editor.scrollbar.vertical": "auto",
"editor.scrollbar.horizontal": "auto", "editor.scrollbar.horizontal": "auto",
"window.titleBarStyle": "custom", "window.titleBarStyle": "custom",
@ -12,7 +12,7 @@
"workbench.iconTheme": "catppuccin-mocha", "workbench.iconTheme": "catppuccin-mocha",
"terminal.integrated.defaultProfile.windows": "PowerShell", "terminal.integrated.defaultProfile.windows": "PowerShell",
"terminal.integrated.fontFamily": "'FiraCode Nerd Font Mono', monospace", "terminal.integrated.fontFamily": "'FiraCode Nerd Font Mono', monospace",
"terminal.integrated.fontSize": 14, "terminal.integrated.fontSize": 16,
"go.addTags": { "go.addTags": {
"options": "", "options": "",
"promptForTags": true, "promptForTags": true,
@ -23,7 +23,7 @@
"commands": [ "commands": [
{ {
"match": "\\.go$", "match": "\\.go$",
"cmd": "golines ${file} -w --base-formatter goimports-reviser -m 120 -t 2" "cmd": "golines ${file} -w --base-formatter goimports-reviser -m 80 -t 2"
} }
] ]
}, },
@ -43,9 +43,10 @@
"[typescript]": { "[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode"
}, },
"workbench.tree.indent": 14, "workbench.tree.indent": 30,
"workbench.tree.renderIndentGuides": "always", "workbench.tree.renderIndentGuides": "always",
"workbench.tree.enableStickyScroll": true, "workbench.tree.enableStickyScroll": true,
"workbench.tree.stickyScrollMaxItemCount": 10,
"explorer.confirmDelete": false, "explorer.confirmDelete": false,
"[jsonc]": { "[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode"
@ -67,9 +68,13 @@
}, },
"cursor.chat.smoothStreaming": true, "cursor.chat.smoothStreaming": true,
"debug.console.fontFamily": "FiraCode Nerd Font Mono", "debug.console.fontFamily": "FiraCode Nerd Font Mono",
"debug.console.fontSize": 16,
"git.openRepositoryInParentFolders": "never", "git.openRepositoryInParentFolders": "never",
"typescript.updateImportsOnFileMove.enabled": "always", "typescript.updateImportsOnFileMove.enabled": "always",
"evenBetterToml.formatter.indentEntries": true, "evenBetterToml.formatter.indentEntries": true,
"evenBetterToml.formatter.indentTables": true, "evenBetterToml.formatter.indentTables": true,
"evenBetterToml.formatter.trailingNewline": true "evenBetterToml.formatter.trailingNewline": true,
"window.customTitleBarVisibility": "auto",
"workbench.editor.showTabs": "single",
"cursor.cpp.enablePartialAccepts": true
} }