2024-05-07 10:02:20 +08:00
|
|
|
1.Code插件
|
|
|
|
(1)Catppuccin Icons for VSCode
|
|
|
|
(2)Catppuccin for VSCode
|
|
|
|
(3)Bookmarks
|
|
|
|
(4)C++套件,包含CMake相关。
|
|
|
|
(5)clangd
|
|
|
|
2.环境工具
|
|
|
|
(1)clangd
|
|
|
|
(2)ninja
|
|
|
|
(3)git
|
|
|
|
3.资源
|
2024-05-26 10:10:54 +08:00
|
|
|
(1)ComicShannsMono.zip字体。
|
|
|
|
|
|
|
|
快捷键:
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"command": "cmake.debugTarget",
|
|
|
|
"key": "F5",
|
|
|
|
"when": "cmake:enableFullFeatureSet && inCMakeProject && !cmake:hideDebugCommand && !inDebugMode"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "editor.action.revealDefinition",
|
|
|
|
"key": "ALT+G",
|
|
|
|
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
|
2024-09-11 16:59:34 +08:00
|
|
|
VIM配置:
|
|
|
|
"editor.lineNumbers": "relative",
|
|
|
|
"vim.leader": "<space>",
|
|
|
|
"vim.useSystemClipboard": true,
|
|
|
|
"vim.useCtrlKeys": true,
|
|
|
|
"vim.normalModeKeyBindings": [
|
|
|
|
{
|
|
|
|
"before": [
|
|
|
|
"<leader>",
|
|
|
|
"g",
|
|
|
|
"c"
|
|
|
|
],
|
|
|
|
"commands": ["workbench.action.showCommands"],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"before": [
|
|
|
|
"<leader>",
|
|
|
|
"c",
|
|
|
|
"f"
|
|
|
|
],
|
|
|
|
"commands": ["editor.action.formatDocument"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"before": [
|
|
|
|
"<leader>",
|
|
|
|
"j",
|
|
|
|
],
|
|
|
|
"commands": ["workbench.action.togglePanel"]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
|
2024-05-26 10:10:54 +08:00
|
|
|
microsoft cpp intelligence config:
|
|
|
|
{
|
|
|
|
"files.autoSave": "onFocusChange",
|
|
|
|
"editor.fontSize": 15,
|
|
|
|
"editor.fontFamily": "'IBM Plex Mono', 'IBM Plex Mono', 'IBM Plex Mono'",
|
|
|
|
"cmake.configureOnOpen": true,
|
|
|
|
"cmake.debugConfig": {
|
|
|
|
"console": "integratedTerminal",
|
|
|
|
"visualizerFile": "${workspaceRoot}/.vscode/qt6.natvis",
|
|
|
|
"setupCommands": [
|
|
|
|
{
|
|
|
|
"description": "-gdb-set charset utf-8",
|
|
|
|
"text": "-gdb-set charset UTF-8"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "Enable gdb pretty-printing",
|
|
|
|
"text": "-enable-pretty-printing",
|
|
|
|
"ignoreFailures": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"cmake.environment": {
|
|
|
|
"PATH": "${env:PATH};C:/Qt/msvc_6.6.3_x64/bin"
|
|
|
|
},
|
|
|
|
"cmake.options.statusBarVisibility": "visible",
|
|
|
|
"cmake.generator": "Ninja",
|
|
|
|
"C_Cpp.default.compileCommands": "${workspaceRoot}/build/compile_commands.json",
|
|
|
|
"C_Cpp.default.cppStandard": "c++17",
|
|
|
|
"editor.inlayHints.enabled": "off",
|
|
|
|
"editor.unicodeHighlight.allowedLocales": {
|
|
|
|
"ja": true,
|
|
|
|
"zh-hant": true,
|
|
|
|
"zh-hans": true
|
|
|
|
},
|
|
|
|
"files.associations": {
|
|
|
|
"vector": "cpp",
|
|
|
|
"qapplication": "cpp",
|
|
|
|
"xstring": "cpp"
|
|
|
|
}
|
|
|
|
}
|