三 代码规范
1.24.1推荐设置:
{
"remote.SSH.showLoginTerminal": true,
"remote.SSH.remotePlatform": {
"SZHVM00454.apac.bosch.com": "linux",
"huyilang": "linux",
"10.173.252.121": "linux",
"sghvm011034-vm.sgh.apac.bosch.com": "linux",
"SGHKVM0010": "linux",
"SZHVM00454": "linux"
},
"workbench.iconTheme": "vscode-icons",
"vsicons.dontShowNewVersionMessage": true,
"bracketPairColorizer.depreciation-notice": false,
"editor.snippetSuggestions": "top",
"editor.tabCompletion": "on",
"editor.formatOnSave": false,
"editor.formatOnType": true,
"editor.formatOnPaste": true,
"editor.renderWhitespace": "all",
"editor.insertSpaces": true,
"editor.wrappingIndent": "same",
"editor.trimAutoWhitespace": false,
"files.trimTrailingWhitespace": true,
"editor.scrollBeyondLastLine": false,
"editor.tabSize": 4,
"editor.wordWrap": "on",
"editor.acceptSuggestionOnCommitCharacter": true,
"editor.acceptSuggestionOnEnter": "smart",
"editor.autoIndent": "full",
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true
},
"explorer.confirmDelete": false,
"search.followSymlinks": false,
"javascript.format.enable": true,
"javascript.format.insertSpaceAfterConstructor": true,
"javascript.format.insertSpaceAfterKeywordsInControlFlowStatements": true,
"emmet.showSuggestionsAsSnippets": true,
"json.format.enable": true,
"typescript.format.enable": true,
"C_Cpp.intelliSenseEngineFallback": "enabled",
"C_Cpp.clang_format_fallbackStyle": "{BasedOnStyle: WebKit, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Linux, MaxEmptyLinesToKeep: 1, BreakBeforeBraces: Allman, AlignAfterOpenBracket: true, IndentCaseLabels: true, NamespaceIndentation: None, AllowShortFunctionsOnASingleLine: None, KeepEmptyLinesAtTheStartOfBlocks: false, PointerAlignment: Right, AlignTrailingComments: true, SpacesBeforeTrailingComments: 4, ColumnLimit: 100}",
"C_Cpp.clang_format_style": "{BasedOnStyle: WebKit, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Linux, MaxEmptyLinesToKeep: 1, BreakBeforeBraces: Allman, IndentCaseLabels: true, AlignAfterOpenBracket: true, NamespaceIndentation: None, AllowShortFunctionsOnASingleLine: None, KeepEmptyLinesAtTheStartOfBlocks: false, PointerAlignment: Right, AlignTrailingComments: true, SpacesBeforeTrailingComments: 4, ColumnLimit: 100}",
"highlight-icemode.backgroundColor": "none",
"highlight-icemode.borderColor": "#c5293e",
"update.mode": "none",
"extensions.autoUpdate": false,
"extensions.autoCheckUpdates": false,
"terminal.integrated.enableMultiLinePasteWarning": false,
"restructuredtext.updateOnTextChanged": "false",
"python.pythonPath": "/usr/bin/python3.8",
"security.workspace.trust.untrustedFiles": "open",
"diffEditor.ignoreTrimWhitespace": false,
"git.path": "/usr/bin/git",
"DockerRun.DisableAutoGenerateConfig": true,
"extensions.ignoreRecommendations": true,
"files.autoSave": "afterDelay",
"cmake.configureOnOpen": true,
"window.zoomLevel": -1,
"editor.parameterHints": false,
"editor.wordBasedSuggestions": false,
"editor.suggestSelection": "recentlyUsed",
"editor.cursorSmoothCaretAnimation": true,
"workbench.list.smoothScrolling": true,
"editor.smoothScrolling": true,
"editor.cursorBlinking": "smooth",
"editor.mouseWheelZoom": true,
}