193 lines
6.5 KiB
JSON
193 lines
6.5 KiB
JSON
{
|
|
"C_Cpp.default.intelliSenseMode": "gcc-x64",
|
|
"C_Cpp.intelliSenseEngineFallback": "Enabled",
|
|
"C_Cpp.intelliSenseEngine": "Tag Parser",
|
|
"C_Cpp.default.includePath": [
|
|
"${default}",
|
|
"${workspaceFolder}/common/include/**",
|
|
"${workspaceFolder}/common/def/**",
|
|
"${workspaceFolder}/DBServer**",
|
|
"${workspaceFolder}/GateServer**",
|
|
"${workspaceFolder}/LogicServer**"
|
|
],
|
|
"C_Cpp.autoAddFileAssociations": true,
|
|
|
|
"cmake.cmakePath": "/usr/local/bin/cmake",
|
|
"cmake.buildDirectory": "${workspaceFolder}/../build",
|
|
"cmake.configureOnOpen": false,
|
|
|
|
// 启用跟踪日志到文件和控制台(非常嘈杂)。
|
|
"cmake.enableTraceLogging": true,
|
|
|
|
"workbench.list.horizontalScrolling": true,
|
|
"workbench.tree.indent": 10,
|
|
"workbench.editor.tabSizing": "shrink",
|
|
"workbench.settings.openDefaultSettings": true,
|
|
"workbench.settings.openDefaultKeybindings": true,
|
|
"workbench.sideBar.location": "right",
|
|
|
|
"terminal.integrated.cursorBlinking": true,
|
|
"terminal.integrated.confirmOnExit": true,
|
|
"editor.renderWhitespace": "none",
|
|
"editor.renderControlCharacters": false,
|
|
|
|
// 启用后,扩展将本地下载并安装在远程上。
|
|
"remote.downloadExtensionsLocally": true,
|
|
|
|
// 始终显示SSH登录终端。
|
|
"remote.SSH.showLoginTerminal": true,
|
|
|
|
// 默认行尾字符。
|
|
// - \n: LF
|
|
// - \r\n: CRLF
|
|
// - auto: 使用具体操作系统规定的行末字符。
|
|
"files.eol": "auto",
|
|
|
|
// 配置排除的文件和文件夹的 glob 模式。
|
|
// 例如,文件资源管理器将根据此设置决定要显示或隐藏的文件和文件夹。
|
|
"files.exclude": {
|
|
"bin": true,
|
|
"build": true,
|
|
"lib": true,
|
|
"cmake": true,
|
|
"test/bin": true,
|
|
"test/lib": true,
|
|
"**/.vscode": false,
|
|
"**/CMakeFiles": true,
|
|
//"**/AmServer": true,
|
|
// "**/LocalLog": true,
|
|
///"**/LoggerServer": true,
|
|
//"**/BackStageServer": true,
|
|
//"**/Gateway.back": true,
|
|
// "**/GateServer":true,
|
|
// "**/NameServer": true,
|
|
// "**/SessionServer": true
|
|
},
|
|
|
|
// 配置文件路径的 glob 模式以从文件监视排除。
|
|
// 模式必须在绝对路径上匹配(例如 ** 前缀或完整路径需正确匹配)。
|
|
// 更改此设置需要重启。如果在启动时遇到 Code 消耗大量 CPU 时间,则可以排除大型文件夹以减少初始加载。
|
|
"files.watcherExclude": {
|
|
"**/.git/objects/**": true,
|
|
"**/.git/subtree-cache/**": true,
|
|
"**/node_modules/*/**": true,
|
|
"**/.vscode": true,
|
|
"bin": true,
|
|
"build": true,
|
|
"cmake": true,
|
|
"test/bin": true,
|
|
"test/lib": true,
|
|
"**/GateServer":true,
|
|
"**/NameServer": true,
|
|
"**/SessionServer": true
|
|
},
|
|
|
|
// 控制已更新文件的自动保存。可在[此处](https://code.visualstudio.com/docs/editor/codebasics#_save-auto-save)阅读有关自动保存的详细信息。
|
|
// - off: 永不自动保存更新后的文件。
|
|
// - afterDelay: 当文件修改后的时间超过 `files.autoSaveDelay` 中配置的值时自动进行保存。
|
|
// - onFocusChange: 编辑器失去焦点时自动保存更新后的文件。
|
|
// - onWindowChange: 窗口失去焦点时自动保存更新后的文件。
|
|
"files.autoSave": "off",
|
|
|
|
// 启用后,保存文件时在文件末尾插入一个最终新行。
|
|
"files.insertFinalNewline": true,
|
|
|
|
// 实验性:启用后,允许在编辑器中打开工作区搜索结果。
|
|
"search.enableSearchEditorPreview": true,
|
|
|
|
// 控制调试工具栏的位置。可在所有视图中“浮动”、在调试视图中“停靠”,也可“隐藏”。
|
|
//"search.location": "panel",
|
|
|
|
// 控制是否显示搜索结果所在的行号。
|
|
"search.showLineNumbers": true,
|
|
|
|
// 控制在搜索文件时是否使用 `.gitignore` 和 `.ignore` 文件。
|
|
"search.useIgnoreFiles": true,
|
|
|
|
// 控制在搜索文件时是否使用全局 `.gitignore` 和 `.ignore` 文件。
|
|
"search.useGlobalIgnoreFiles": true,
|
|
|
|
// 配置在搜索中排除的文件和文件夹的 glob 模式。已经继承 `files.exclude` 设置的所有 glob 模式。可在[此处](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options)阅读有关 glob 模式的详细信息。
|
|
"search.exclude": {
|
|
"**/*.code-search": true,
|
|
"**/bower_components": true,
|
|
"**/CMakeFiles": true,
|
|
"**/Makefile": true,
|
|
"**/node_modules": true,
|
|
"**/robot": true,
|
|
"**/GateServer":true,
|
|
},
|
|
|
|
"files.associations": {
|
|
"ctime": "cpp",
|
|
"ratio": "cpp",
|
|
"chrono": "cpp",
|
|
"system_error": "cpp",
|
|
"type_traits": "cpp",
|
|
"bitset": "cpp",
|
|
"deque": "cpp",
|
|
"forward_list": "cpp",
|
|
"list": "cpp",
|
|
"string": "cpp",
|
|
"unordered_map": "cpp",
|
|
"vector": "cpp",
|
|
"functional": "cpp",
|
|
"optional": "cpp",
|
|
"tuple": "cpp",
|
|
"array": "cpp",
|
|
"string_view": "cpp",
|
|
"utility": "cpp",
|
|
"future": "cpp",
|
|
"typeinfo": "cpp",
|
|
"atomic": "cpp",
|
|
"hash_map": "cpp",
|
|
"hash_set": "cpp",
|
|
"*.tcc": "cpp",
|
|
"cctype": "cpp",
|
|
"clocale": "cpp",
|
|
"cmath": "cpp",
|
|
"condition_variable": "cpp",
|
|
"csignal": "cpp",
|
|
"cstdarg": "cpp",
|
|
"cstddef": "cpp",
|
|
"cstdint": "cpp",
|
|
"cstdio": "cpp",
|
|
"cstdlib": "cpp",
|
|
"cstring": "cpp",
|
|
"cwchar": "cpp",
|
|
"cwctype": "cpp",
|
|
"exception": "cpp",
|
|
"algorithm": "cpp",
|
|
"iterator": "cpp",
|
|
"map": "cpp",
|
|
"memory": "cpp",
|
|
"memory_resource": "cpp",
|
|
"numeric": "cpp",
|
|
"random": "cpp",
|
|
"regex": "cpp",
|
|
"set": "cpp",
|
|
"fstream": "cpp",
|
|
"initializer_list": "cpp",
|
|
"iomanip": "cpp",
|
|
"iosfwd": "cpp",
|
|
"iostream": "cpp",
|
|
"istream": "cpp",
|
|
"limits": "cpp",
|
|
"mutex": "cpp",
|
|
"new": "cpp",
|
|
"ostream": "cpp",
|
|
"sstream": "cpp",
|
|
"stdexcept": "cpp",
|
|
"streambuf": "cpp",
|
|
"thread": "cpp",
|
|
"cinttypes": "cpp",
|
|
"slist": "cpp",
|
|
"strstream": "cpp",
|
|
"cerrno": "cpp"
|
|
},
|
|
"cmake.configureArgs": [
|
|
"-DCMAKE_BUILD_TYPE=Debug"
|
|
],
|
|
"svn.delete.actionForDeletedFiles": "remove",
|
|
}
|