![]() ![]() Meanwhile, Visual Studio Code usually starts up quickly enough that I can be productive in a few minutes, even for large projects. It’s now a non-issue even in huge Visual Studio 2022 projects. The startup overhead of Visual Studio has decreased significantly over the years, by the way. When I worked on a C++ project with ~2 million lines of code, I also jump-started each day’s work by automatically running a batch script that did a code checkout and full rebuild of the product in the wee hours. I would keep the IDE open all day as I went through develop/test/debug cycles to avoid another startup delay. Or we can open VSC, go to Code > Preferences > Extensions (also using the shortcut shift + cmd + X) type C++ and press install.For decades, when I got to work in the morning, I would start Microsoft Visual Studio (or one of its predecessors, such as Visual C++ or Visual InterDev), then brew tea and possibly attend a morning meeting while it went through its laborious startup. We can install it from here, when clicking install, it will open VSC and install it automatically. The first useful extension we are gonna need is called C/C++, this extension will help us with the Intellisense like code completion, parameter info, quick info, etc. How I said at the beginning of the post, VSC uses extensions to behave like an IDE, so the next step is to install the extensions that will help us with our purpose. ![]() My objective then, and the topic of this post, discover how to configure VSC to behave like a C/C++ IDE.ĭisclaimer: This post is based on macOS, but since VSC is available in others OSs it shouldn’t be much different the steps here mentioned.įirst of all, we need to download and install Visual Studio Code of course. Some time ago a friend of mine asked me to recommend her an IDE to compile and run C and C++ code because she was tired of using XCode, and I don’t blame her, Xcode is like killing a fly with a cannon if you only need to do simple things.Īs a regular user of VSC, that was the first thing it came to my mind, but then I remembered that VSC is not an IDE per se, but a Code Editor that uses extensions to behave like an IDE, I also remembered that I had a lot of time without coding on those languages and when I did, I used notepad++ and the terminal. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |