init
This commit is contained in:
18
server/LoggerServer/.vscode/c_cpp_properties.json
vendored
Normal file
18
server/LoggerServer/.vscode/c_cpp_properties.json
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Linux",
|
||||
"includePath": [
|
||||
"${workspaceFolder}/**"
|
||||
],
|
||||
"defines": [],
|
||||
"compilerPath": "/usr/bin/gcc",
|
||||
"cStandard": "c11",
|
||||
"cppStandard": "c++14",
|
||||
"intelliSenseMode": "clang-x64",
|
||||
"compileCommands": "${workspaceFolder}/build/compile_commands.json",
|
||||
"configurationProvider": "ms-vscode.cmake-tools"
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
||||
46
server/LoggerServer/.vscode/launch.json
vendored
Normal file
46
server/LoggerServer/.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
// 使用 IntelliSense 了解相关属性。
|
||||
// 悬停以查看现有属性的描述。
|
||||
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "(gdb) 启动",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/../../build/LoggerServer/loggerserver_d",
|
||||
"args": ["${workspaceFolder}/../../build/LoggerServer/LoggerServerLinux.txt"],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}",
|
||||
"environment": [],
|
||||
"externalConsole": false,
|
||||
"MIMode": "gdb",
|
||||
"setupCommands": [
|
||||
{
|
||||
"description": "为 gdb 启用整齐打印",
|
||||
"text": "-enable-pretty-printing",
|
||||
"ignoreFailures": true
|
||||
}
|
||||
],
|
||||
"showDisplayString": true,
|
||||
"additionalSOLibSearchPath": "${workspaceFolder}/../common/libs;${workspaceFolder}/../srvlib/libs;${workspaceFolder}/../../common/cpp/libs/3rd/bin;"
|
||||
},
|
||||
{
|
||||
"name": "(gdb) 附加",
|
||||
"type": "cppdbg",
|
||||
"request": "attach",
|
||||
"program": "${workspaceFolder}/../../build/LoggerServer/loggerserver_d",
|
||||
"processId": "${command:pickProcess}",
|
||||
"MIMode": "gdb",
|
||||
"setupCommands": [
|
||||
{
|
||||
"description": "为 gdb 启用整齐打印",
|
||||
"text": "-enable-pretty-printing",
|
||||
"ignoreFailures": true
|
||||
}
|
||||
],
|
||||
"showDisplayString": true,
|
||||
"additionalSOLibSearchPath": "${workspaceFolder}/../common/libs;${workspaceFolder}/../srvlib/libs;${workspaceFolder}/../../common/cpp/libs/3rd/bin;"
|
||||
}
|
||||
]
|
||||
}
|
||||
165
server/LoggerServer/.vscode/settings.json
vendored
Normal file
165
server/LoggerServer/.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,165 @@
|
||||
{
|
||||
"C_Cpp.default.cppStandard": "c++11",
|
||||
"C_Cpp.default.cStandard": "c11",
|
||||
"C_Cpp.default.intelliSenseMode": "gcc-x64",
|
||||
"C_Cpp.intelliSenseEngineFallback": "Enabled",
|
||||
"C_Cpp.intelliSenseEngine": "Tag Parser",
|
||||
"C_Cpp.default.includePath": [
|
||||
"${default}",
|
||||
"${workspaceFolder}/include/**"
|
||||
],
|
||||
|
||||
"cmake.buildDirectory": "${workspaceFolder}/../build",
|
||||
"cmake.configureOnOpen": true,
|
||||
|
||||
// 启用跟踪日志到文件和控制台(非常嘈杂)。
|
||||
"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
|
||||
},
|
||||
|
||||
// 配置文件路径的 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
|
||||
},
|
||||
|
||||
// 控制已更新文件的自动保存。可在[此处](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": {
|
||||
"**/node_modules": true,
|
||||
"**/bower_components": true,
|
||||
"**/*.code-search": 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"
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user