vscode setting
{
//restore
"window.restoreWindows": "none",
"files.hotExit": "off",
//window
"window.title": "${rootName}${separator}${activeEditorLong}${separator}${dirty}",
"editor.fontSize": 14,
"editor.mouseWheelZoom": true,
"editor.smoothScrolling": true,
"editor.mouseWheelScrollSensitivity": 1,
//cursor
"editor.cursorStyle": "block",
"editor.cursorBlinking": "expand",
"editor.cursorSmoothCaretAnimation": "on",
"editor.wordWrap": "off",
"window.openFilesInNewWindow": "on",
// 读取和编写文件时将使用的默认字符集编码。
"files.encoding": "utf8",
// 默认行尾字符。
"files.eol": "\n",
"editor.fontFamily": "Sarasa Fixed SC",
"files.autoGuessEncoding": false,
"workbench.iconTheme": "material-icon-theme",
"workbench.colorCustomizations": {
"editorCursor.foreground": "#7fff00",
"tab.activeBorder": "#7fff00",
"tab.border": "#6d6c6c",
"tab.unfocusedActiveBorder": "#cca0e9",
"tab.activeBackground": "#696969",
"window.activeBorder":"#318CE7",
"window.inactiveBorder":"#2f2d2d"
},
//空白符号处理
"editor.renderWhitespace": "none",
"editor.renderControlCharacters": true,
"editor.detectIndentation": true,
"editor.insertSpaces": true,
"editor.tabSize": 4,
"editor.trimAutoWhitespace": false,
"editor.multiCursorModifier": "alt",
"workbench.editor.showTabs": "multiple",
"workbench.editor.showTabIndex": true,
"workbench.editor.titleScrollbarVisibility":"visible",
"files.trimFinalNewlines": false,
"files.trimTrailingWhitespace": false,
//bookmarks
"bookmarks.navigateThroughAllFiles": true,
"bookmarks.saveBookmarksInProject": false,
//git
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false
},
"editor.showFoldingControls": "always",
"editor.folding": true,
"editor.foldingStrategy": "indentation",
//=======================================================================
//terminal
"terminal.integrated.fontSize": 13,
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.cursorStyle": "block",
"terminal.integrated.copyOnSelection": true,
"terminal.integrated.rightClickBehavior":"selectWord",
"terminal.integrated.scrollback":999999,
"terminal.integrated.defaultLocation":"view",
//=======================================================================
"explorer.openEditors.visible" : 1,
"workbench.list.horizontalScrolling": true,
"workbench.startupEditor": "newUntitledFile",
"breadcrumbs.enabled": true,
"workbench.editor.highlightModifiedTabs": true,
"search.showLineNumbers": true,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
//=======================================================================
// 配置语言的文件关联(如: "*.extension": "html")。这些关联的优先级高于已安装语言的默认关联。
"files.associations": {
"*.txt": "cmake"
},
"files.exclude": {
"**/.git": true,
"**/.classpath": true,
// "**/.project": true,
// "**/.settings": true,
"**/.factorypath": true
},
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true
},
"projectManager.any.maxDepthRecursion": 9,
"projectManager.git.maxDepthRecursion": 9,
"projectManager.groupList": true,
"projectManager.vscode.maxDepthRecursion": 9,
"projectManager.cacheProjectsBetweenSessions": false,
//=======================================================================
"editor.rulers": [
{
"column": 80,
"color": "#333333"
},
{
"column": 100,
"color": "#444444"
},
{
"column": 120,
"color": "#555555"
},
{
"column": 140,
"color": "#777777"
}
],
"highlightLine.borderColor": "#696969",
"highlightLine.borderWidth": "1px",
//=======================================================================
"explorer.openEditors.sortOrder": "alphabetical",
"search.maxResults": null,
"search.useIgnoreFiles": true,
"search.followSymlinks": false,
"extensions.autoCheckUpdates": false,
"settingsSync.keybindingsPerPlatform": false,
"files.autoSaveDelay": 20000,
"files.autoSave": "afterDelay",
"explorer.autoReveal": false,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
},
"editor.autoIndent": "none",
"editor.guides.indentation": false,
//security
"security.workspace.trust.untrustedFiles": "open",
//update
"go.toolsManagement.checkForUpdates": "off",
"update.enableWindowsBackgroundUpdates": false,
"update.mode": "none",
"extensions.ignoreRecommendations": true,
"extensions.autoUpdate": false,
"powershell.promptToUpdatePowerShell": false,
//--------------------------------------------------------------------------
// commands
//--------------------------------------------------------------------------
"editor.cursorSurroundingLines": 1,
"commands.variableSubstitutionEnabled": true,
//Commands Alexander
"commands.commands": {
"Viewport.scrollTop": {
"command": "revealLine",
"args": {
"lineNumber": "${lineNumber}",
"at": "top",
}
},
"Viewport.scrollCenter": {
"command": "revealLine",
"args": {
"lineNumber": "${lineNumber}",
"at": "center",
}
},
"Viewport.scrollBottom": {
"command": "revealLine",
"args": {
"lineNumber": "${lineNumber}",
"at": "bottom",
}
},
"Viewport.CursorTop": {
"command": "cursorMove",
"args": {
"to": "viewPortTop"
}
},
"Viewport.CursorCenter": {
"command": "cursorMove",
"args": {
"to": "viewPortCenter"
}
},
"Viewport.CursorBottom": {
"command": "cursorMove",
"args": {
"to": "viewPortBottom"
}
},
},
//--------------------------------------------------------------------------
// clean context menu
//--------------------------------------------------------------------------
"coverage-gutters.customizable.context-menu": false,
"cSpell.showSuggestionsLinkInEditorContextMenu": false,
"cSpell.showCommandsInEditorContextMenu": false,
"bookmarks.showCommandsInContextMenu": false,
"maven.showInExplorerContextMenu": false,
"partialDiff.commandsOnContextMenu": {
"markSection1": false,
"markSection2AndTakeDiff": false,
"diffSelectionWithClipboard": false,
"diffVisibleEditors": false,
"togglePreComparisonTextNormalizationRules": false
},
"code-runner.showRunCommandInEditorContextMenu": false,
"code-runner.showRunCommandInExplorerContextMenu": false,
"textmarker.commandsOnContextMenu": {
"updateHighlight": false,
"goToNextHighlight": false,
"goToPreviousHighlight": false,
"toggleHighlight": false
},
"markdowntable.showMenu.alignCenter": false,
"markdowntable.showMenu.alignLeft": false,
"markdowntable.showMenu.alignRight": false,
"markdowntable.showMenu.format": false,
"markdowntable.showMenu.insertLeft": false,
"markdowntable.showMenu.insertRight": false,
"markdowntable.showMenu.moveLeft": false,
"markdowntable.showMenu.tsvToTable": false,
"markdowntable.showMenu.moveRight": false,
"gitlens.gitCommands.avatars": false,
"go.editorContextMenuCommands": {
"toggleTestFile": false,
"addTags": false,
"testAtCursor": false,
"generateTestForFunction": false,
"addImport": false,
"testCoverage": false,
"playground": false,
"debugTestAtCursor": false
},
//--------------------------------------------------------------------------
// other stuff
//--------------------------------------------------------------------------
"workbench.editorAssociations": {
"*.ipynb": "jupyter-notebook"
},
//latex workshop
"latex-workshop.latex.autoBuild.cleanAndRetry.enabled": false,
"latex-workshop.message.update.show": false,
"latex-workshop.latex.autoBuild.run": "never",
"latex-workshop.view.pdf.viewer": "tab",
"[javascript]": {
"editor.defaultFormatter": "numso.prettier-standard-vscode"
},
"eslint.format.enable": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"notebook.cellToolbarLocation": {
"default": "right",
"jupyter-notebook": "left"
},
"[java]": {
"editor.defaultFormatter": "redhat.java"
},
"C_Cpp.intelliSenseEngine": "disabled",
"diffEditor.ignoreTrimWhitespace": false,
"clangd.arguments": [
"-header-insertion=never"
],
"gitlens.views.repositories.files.layout": "tree",
"java.errors.incompleteClasspath.severity": "ignore",
"[cpp]": {"editor.quickSuggestions": {
"comments": "off",
"strings": "off",
"other": "off"
}},
"[c]": {"editor.quickSuggestions": {
"comments": "off",
"strings": "off",
"other": "off"
}
},
"cmake.configureOnOpen": false,
"git.openRepositoryInParentFolders": "never",
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.stickyScroll.enabled": true,
//telemetry
"redhat.telemetry.enabled": false,
"telemetry.telemetryLevel": "off",
"partialDiff.enableTelemetry": false,
"code-runner.enableAppInsights": false,
"gitlens.telemetry.enabled": false,
"applescript.disableTelemetry": true,
"textmarker.enableTelemetry": false,
"telemetry.editStats.enabled": false,
"telemetry.feedback.enabled": false,
"update.showReleaseNotes": false,
"git.optimisticUpdate": false,
"clangd.path": "",
"cmake.showOptionsMovedNotification": false,
"hediet.vscode-drawio.resizeImages": null,
"diffviewer.outputFormat": "side-by-side",
"explorer.fileNesting.patterns": {
"*.ts": "${capture}.js",
"*.js": "${capture}.js.map, ${capture}.min.js, ${capture}.d.ts",
"*.jsx": "${capture}.js",
"*.tsx": "${capture}.ts",
"tsconfig.json": "tsconfig.*.json",
"package.json": "package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb",
"Cargo.toml": "Cargo.lock",
"*.sqlite": "${capture}.${extname}-*",
"*.db": "${capture}.${extname}-*",
"*.sqlite3": "${capture}.${extname}-*",
"*.db3": "${capture}.${extname}-*",
"*.sdb": "${capture}.${extname}-*",
"*.s3db": "${capture}.${extname}-*"
},
"rest-client.enableTelemetry": false,
"telemetry.geriyocoImageGallery.isTelemetryEnabled": false,
"guides.sendUsagesAndStats": false,
"editor.minimap.enabled": false,
"chat.commandCenter.enabled": false,
"workbench.settings.enableNaturalLanguageSearch": false,
"typescript.check.npmIsInstalled": false,
"extensions.gallery.useUnpkgResourceApi": false,
"workbench.editor.empty.hint": "hidden"
}
需要的command 插件
Commands
作者 Alexander



浙公网安备 33010602011771号