24 ms·
I have tried VSCode a few times for C++ on macOS and always found it more hassle than it was worth to get it up and running. I saw it had debugging options and
by satysin 8y ago
I have tried VSCode a few times for C++ on macOS and always found it more hassle than it was worth to get it up and running.
I saw it had debugging options and I thought that looked pretty cool but it is a bit of a mess with tasks.json and some other file I have forgotten about now. I recall I did finally get a working setup but it wasn't portable between folders/projects as the binary filenames were hardcoded and I just lost interest in fixing it.
I think the VSCode team could make this a lot smoother. I want my tools to simplify these things for me with automatic configuration like every other editor seems to be able to do. Not sure why VSCode needed a couple of json config files to know to use /usr/bin/gcc on the current C++ file when no other programmers editor does.
- jtsylve 8y agoI'm not sure when the last time you've tried, but in the last year VSCode has come a long way towards "just working" out of the box for C++. They've specifically focused on it. If you've got some time, I'd recommend that you checkout Rong Lu's CppCon 2018 talk. https://www.youtube.com/watch?v=JME1i3vCRR8 https://www.youtube.com/watch?v=JME1i3vCRR8