https://xorz57.pages.dev/blog/feed.xml

Setting up Visual Studio Code for C++ Development

2024-04-01

Fonts

Extensions

Package Manager

  1. Open Powershell

  2. Copy & Paste the following

git clone https://github.com/microsoft/vcpkg.git C:/vcpkg
C:/vcpkg/bootstrap-vcpkg.bat
C:/vcpkg/vcpkg.exe integrate install

User Settings (JSON)

  1. Press Ctrl + Shift + P

  2. Type User Settings (JSON)

  3. Press Enter

  4. Copy & Paste the following

{
    "editor.fontFamily": "'JetBrains Mono', Consolas, 'Courier New', monospace",
    "editor.fontLigatures": true,
    "editor.guides.bracketPairs": "active",
    "editor.mouseWheelZoom": true,
    "editor.renderWhitespace": "all",
    "explorer.sortOrder": "type",
    "git.autofetch": true,
    "workbench.editor.enablePreview": false,
    "workbench.colorTheme": "gruvboxConcoctis dark hard",
    "workbench.productIconTheme": "material-product-icons",
    "cmake.configureArgs": [
        "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake",
        "--profiling-format=google-trace",
        "--profiling-output=cmake.json"
    ],
    "cmake.configureOnOpen": true,
    "cmake.generator": "Ninja",
    "cmake.options.statusBarVisibility": "visible",
    "cmake.showOptionsMovedNotification": false
}
  1. Press Ctrl + S