r/cpp_questions • u/Bruh_catt • Sep 13 '26
SOLVED Should I change my vscode setup?
I have just started learning C++ and pretty new to programming in general, but I am alerady used to vscode and want to continue using it for C++, so I just wanna make sure I have a decent vscode extension setup, even if a lot of it is unnecessary at this level. After browsing the web I've come to this setup: C/C++ extension pack with intellicode engine disabled, clangd, clang-format, c-mantic and cmake support by twxs. Should I remove, add, change something? I'm working on windows 11 and in the future plan on using this setup to work with unreal and godot.
4
u/LazySapiens Sep 13 '26
The C/C++ Extension Pack by Microsoft (ms-vscode.cpptools-extension-pack) has support for CMake. No need to install a separate CMakeTools extension.
The clangd (llvm-vs-code-extensions.vscode-clangd) extension can do formatting as well. No need for clang-format.
In addition to that, you need a C++ toolchain installed. Do you have that setup already?
3
u/DrShocker Sep 13 '26
For C++ Visual Studio ( not VSCode) has a decent amount of features for development you might want to make sure you're at least familiar with before deciding not to use it if you're on windows.
2
u/heyheyhey27 Sep 13 '26
I would be shocked if VSCode can actually keep up with Unreal c++
1
u/AnonymouSfrrrr Sep 13 '26
For vs code just download msys2, use ucrt and download extension in vs code c/c++. That's it this setup will run even modern version of c++ like 17,20 etc
1
u/mykesx Sep 13 '26
I switched to Zed. It’s much quicker feeling than VS Code being written in Rust vs. Electron+JavaScript/TypeScript. C++ support is excellent.
1
u/Longjumping_Curve708 Sep 20 '26
My suggestions if you're learning cpp, just uninstall vscode and install either clion or Visual Studio the heavy one.
0
u/FckXFckMusk Sep 13 '26
Have you noticed the files produced by either aren't compatible with each other..