Skip to content

Instantly share code, notes, and snippets.

@AdjWang
Last active August 17, 2025 04:13
Show Gist options
  • Select an option

  • Save AdjWang/17e23de3b136d2439559547fbd82e729 to your computer and use it in GitHub Desktop.

Select an option

Save AdjWang/17e23de3b136d2439559547fbd82e729 to your computer and use it in GitHub Desktop.
Vscode configuration
{
"C_Cpp.files.exclude": {
"deps/": true
},
"search.exclude": {
"deps/": true
},
"C_Cpp.default.includePath": [
"deps/out/${buildType}/include",
"src"
],
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools",
"C_Cpp.default.cppStandard": "c++23",
"C_Cpp.clang_format_style": "{ BasedOnStyle: Google, DerivePointerAlignment: false, PointerAlignment: Left }",
"C_Cpp.clang_format_fallbackStyle": "{ BasedOnStyle: Google, DerivePointerAlignment: false, PointerAlignment: Left }",
"cmake.installPrefix": "${workspaceFolder}/deps/out/${buildType}",
// Generator visual studio not set CMAKE_BUILD_TYPE, set it manually.
"cmake.configureSettings": {
"CMAKE_BUILD_TYPE": "${buildType}"
},
"cmake.preferredGenerators": [
"Visual Studio 19 2022",
"Ninja"
],
"[cpp]": {
"editor.tabSize": 2
},
"[proto]": {
"editor.tabSize": 2
},
"terminal.integrated.profiles.windows": {
"VsDevCmd (cmd x86)": {
"path": [
"${env:windir}\\Sysnative\\cmd.exe",
"${env:windir}\\System32\\cmd.exe"
],
"args": [
"/k",
"C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/Tools/VsDevCmd.bat",
"-arch=x86",
"-host_arch=x86"
],
"overrideName": true,
"icon": "terminal-cmd"
},
"VsDevCmd (cmd x64)": {
"path": [
"${env:windir}\\Sysnative\\cmd.exe",
"${env:windir}\\System32\\cmd.exe"
],
"args": [
"/k",
"C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/Tools/VsDevCmd.bat",
"-arch=x64",
"-host_arch=x64"
],
"overrideName": true,
"icon": "terminal-cmd"
},
"VsDevShell (ps1 x86)": {
"source": "PowerShell",
"args": [
"-NoExit",
"-File",
"C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/Tools/Launch-VsDevShell.ps1",
"-SkipAutomaticLocation",
"-Arch", "x86",
"-HostArch", "x86"
],
"overrideName": true,
"icon": "terminal-powershell"
},
"VsDevShell (ps1 x64)": {
"source": "PowerShell",
"args": [
"-NoExit",
"-File",
"C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/Tools/Launch-VsDevShell.ps1",
"-SkipAutomaticLocation",
"-Arch", "amd64",
"-HostArch", "amd64"
],
"overrideName": true,
"icon": "terminal-powershell"
},
},
"files.associations": {
"memory": "cpp",
"xstring": "cpp",
"thread": "cpp",
"xlocale": "cpp",
"atomic": "cpp",
"iterator": "cpp",
"ranges": "cpp",
"xutility": "cpp",
"any": "cpp",
"bitset": "cpp",
"random": "cpp",
"future": "cpp",
"optional": "cpp",
"array": "cpp",
"bit": "cpp",
"*.tcc": "cpp",
"cctype": "cpp",
"cfenv": "cpp",
"charconv": "cpp",
"chrono": "cpp",
"cinttypes": "cpp",
"clocale": "cpp",
"cmath": "cpp",
"codecvt": "cpp",
"compare": "cpp",
"complex": "cpp",
"concepts": "cpp",
"condition_variable": "cpp",
"csignal": "cpp",
"cstdarg": "cpp",
"cstddef": "cpp",
"cstdint": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"cstring": "cpp",
"ctime": "cpp",
"cwchar": "cpp",
"cwctype": "cpp",
"deque": "cpp",
"forward_list": "cpp",
"list": "cpp",
"map": "cpp",
"set": "cpp",
"string": "cpp",
"unordered_map": "cpp",
"unordered_set": "cpp",
"vector": "cpp",
"exception": "cpp",
"algorithm": "cpp",
"functional": "cpp",
"memory_resource": "cpp",
"numeric": "cpp",
"ratio": "cpp",
"regex": "cpp",
"string_view": "cpp",
"system_error": "cpp",
"tuple": "cpp",
"type_traits": "cpp",
"utility": "cpp",
"format": "cpp",
"fstream": "cpp",
"initializer_list": "cpp",
"iomanip": "cpp",
"iosfwd": "cpp",
"iostream": "cpp",
"istream": "cpp",
"latch": "cpp",
"limits": "cpp",
"mutex": "cpp",
"new": "cpp",
"numbers": "cpp",
"ostream": "cpp",
"scoped_allocator": "cpp",
"semaphore": "cpp",
"span": "cpp",
"sstream": "cpp",
"stacktrace": "cpp",
"stdexcept": "cpp",
"stop_token": "cpp",
"streambuf": "cpp",
"typeindex": "cpp",
"typeinfo": "cpp",
"valarray": "cpp",
"variant": "cpp",
"filesystem": "cpp",
"xtree": "cpp",
"xhash": "cpp",
"stack": "cpp"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment