Setting up Visual Studio Code for C++ Development
Fonts#
Extensions#
Package Manager#
Open Powershell
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)#
Press Ctrl
+ Shift
+ P
Type User Settings (JSON)
Press Enter
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
}
- Press
Ctrl
+ S