feat(vscode): sync

This commit is contained in:
winston 2024-01-24 11:21:13 +01:00
parent ae101789ab
commit a0baf64b5a
Signed by: winston
GPG key ID: 3786770EDBC2B481
2 changed files with 23 additions and 2 deletions

View file

@ -6,11 +6,23 @@
}, },
{ {
"key": "alt+,", "key": "alt+,",
"command": "workbench.action.previousEditor" "command": "workbench.action.previousEditor",
"when": "editorFocus"
}, },
{ {
"key": "alt+.", "key": "alt+.",
"command": "workbench.action.nextEditor" "command": "workbench.action.nextEditor",
"when": "editorFocus"
},
{
"key": "alt+,",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus"
},
{
"key": "alt+.",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus"
}, },
{ {
"key": "shift+cmd+]", "key": "shift+cmd+]",

View file

@ -11,6 +11,7 @@
"debug.onTaskErrors": "debugAnyway", "debug.onTaskErrors": "debugAnyway",
"diffEditor.ignoreTrimWhitespace": false, "diffEditor.ignoreTrimWhitespace": false,
"diffEditor.hideUnchangedRegions.enabled": true, "diffEditor.hideUnchangedRegions.enabled": true,
"editor.accessibilitySupport": "off",
"editor.cursorSmoothCaretAnimation": "on", "editor.cursorSmoothCaretAnimation": "on",
"editor.smoothScrolling": true, "editor.smoothScrolling": true,
"terminal.integrated.smoothScrolling": true, "terminal.integrated.smoothScrolling": true,
@ -61,6 +62,11 @@
// natural language // natural language
"ltex.language": "en-US", "ltex.language": "en-US",
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"svg.preview.mode": "svg",
// language-specific settings // language-specific settings
"d.alwaysShowDubStatusButtons": true, "d.alwaysShowDubStatusButtons": true,
@ -70,6 +76,7 @@
"ui.semanticTokens": true "ui.semanticTokens": true
}, },
"[javascript]": { "[javascript]": {
"editor.snippetSuggestions": "top",
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode"
}, },
"[json]": { "[json]": {
@ -100,7 +107,9 @@
"editor.rulers": [120], "editor.rulers": [120],
"editor.semanticHighlighting.enabled": true "editor.semanticHighlighting.enabled": true
}, },
"rust-analyzer.check.command": "clippy",
"[typescript]": { "[typescript]": {
"editor.snippetSuggestions": "top",
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode"
}, },
"[typescriptreact]": { "[typescriptreact]": {