News for hackers. Stuff that matters.
Re:Visual Studio Code is randomly erasing included header fi... by adhesive_wombat on Sunday March 20, 2022 @04:19AM (#30741036)
VS Code is a competent enough almost-IDE at least for a CMake project.

The main issue I have so far is remote debugging in gdb appears not to work very well (you can step but you can't use normal gdb commands on the console like you can locally).

Also the autocompletion seems to work only sometimes but that's likely my fault since I haven't actually configured that.

So far, it's working better for me than Sublime did, which was very laggy at times. Both are memory hogs, though.

Re:Visual Studio Code is randomly erasing included header fi... by emerged on Sunday March 20, 2022 @08:17AM (#30742034)
RemoteSSH extension is a far easier approach to debugging C++ remotely in VScode.
Re:Visual Studio Code is randomly erasing included header fi... by adhesive_wombat on Sunday March 20, 2022 @01:45PM (#30744796)
Interesting! Can you then debug remotely but still use local symbols and sources? The remote is a pretty weedy embedded platform, so you don't want to compile there, and I don't think there is even enough disk space for a complete checkout of the source. So you want to just run gdbserver there and have all the rest of the debugging junk running on a "real" computer.
Re:Visual Studio Code is randomly erasing included header fi... by emerged on Monday March 21, 2022 @11:40AM (#30755324)
It behaves as if you’re local to the machine. Changed my life when I first found it.
Re:Visual Studio Code is randomly erasing included header fi... by IshKebab on Sunday March 20, 2022 @02:48PM (#30745398)
> almost-IDE

It is an IDE!