// 将设置放入此文件中以覆盖默认值和用户设置。 { "typescript.tsdk": "node_modules\\typescript\\lib", //格式化设置 "editor.tabSize": 4, "editor.formatOnPaste": false, "editor.formatOnSave": true, "editor.insertSpaces": true, "editor.detectIndentation": false, //格式设置 "typescript.format.placeOpenBraceOnNewLineForFunctions": true, "typescript.format.placeOpenBraceOnNewLineForControlBlocks": true, "typescript.referencesCodeLens.enabled": true, "javascript.format.placeOpenBraceOnNewLineForFunctions": true, "javascript.format.enable": true, "files.insertFinalNewline": true, "typescript.format.semicolons": "insert", "files.trimFinalNewlines": true, "files.trimTrailingWhitespace": true, //保存时 "editor.codeActionsOnSave": { "source.organizeImports": true, }, "gitlens.remotes": [ { "domain": "gitee.com", "type": "Custom", "name": "码云", "protocol": "https", "urls": { "repository": "https://gitee.com/cf-fz/${repoPath}", "branches": "https://gitee.com/cf-fz/${repoPath}/branches", "branch": "https://gitee.com/cf-fz/${repoPath}/commits/${branch}", "commit": "https://gitee.com/cf-fz/${repoPath}/commit/${id}", "file": "https://gitee.com/cf-fz/${repoPath}?path=${file}${line}", "fileInBranch": "https://gitee.com/cf-fz/${repoPath}/blob/${branch}/${file}${line}", "fileInCommit": "https://gitee.com/cf-fz/${repoPath}/blob/${id}/${file}${line}", "fileLine": "#L${line}", "fileRange": "#L${start}-L${end}" } } ], }