Does Theia have C/C++ extensions?
If someone is looking for an alternative, use the clangd extension. It’s much better compared to the Microsoft one. LLDB extension is good for debugging. Also works with gdb.
The only things I am lacking now is the one for remote, python.
Oooh I’ll give it a try, wasn’t aware of it.
I am trying to figure out how to get zephyr, platformio, and nrfconnect to work with clangd.
Platformio screams every second because Microsoft's tooling is a dependency.
Zephyr and nrfconnect work for many things, but things like including drivers from zephyr/drivers doesn't autofill which is annoying if you are searching for a driver that might exist in nrfconnect or might not because there are some differences. It also doesn't autofill macros and device tree defines.
If anyone has a good guide on how to set up clangd for zephyr, I would appreciate it!
Microsoft
C/C++ extension
VS Code
so sad 🎤 🎻😢
Good example why you don't want to use and rely on proprietary software (the extension is not 100% open source as I understand), if there are free (as in source code and license) alternatives.
A professor once told me “don’t trust ‘free software’ from a megacorp”, most important thing I learned in college.
Technically this shit isn't even free (libre); atleast with corpo projects we can always fork them
Developers developers developers
Ballmer was definitely one of the CEOs of all time. I'm not convinced cocaine didn't play a large role in shaping Microsoft.
But Seattle doesn’t do cocaine Remember Microsoft is on the east side
Okay…. Cocaine probably played a large part
Best cocaine in Puget Sound comes from Bellevue, prove me wrong
I think a lot of people would really benefit from learning neovim
Or Helix, it has a less steeper curve
Not an issue. Install Clangd and CodeLLDB. They are much better anyway (see my other comment).
The real golden jewel that Microsoft keeps to itself is the Remote SSH extension. There's no open source alternative as far as I know.
There's also Pylance but that only matters if you're using Python.
It looks like the extension is licensed under MIT https://github.com/Microsoft/vscode-cpptools You can "simply" fork it and provide builds yourself, right?
Not the case. There are binary components.
It doesn't matter though because the Clangd & CodeLLDB extensions completely replace it and are actually waaaaaaay better.
With Microsoft's C++ extension it always rinsed the CPU - there were files I had to avoid opening because then it would analyse them and I'd have to kill it. The code intelligence also seemed very "heuristic" and was quite slow.
Clangd fixes all of that. It's fast, doesn't choke on huge files, and if you have compile_commands.json
it's actually the first properly fast and robust C++ IDE I've ever used. You know if you've used a Java IDE the code intelligence just works and is fast and reliable. It's like that.
More and more engineers wok with cursor.
I think they did a good job of writing a neutral comparison. Based on what it said, I think there's no reason for me to stop using VS Code right now, but I'll keep an eye on Theia and reconsider it my needs change.
(...), e.g. via a user-customizable toolbar and how views can be layouted.
I WILL find these people and hurt them. Nobody will blame me.
I started using Lapce. That or Zed just I installed Lapce first. I still use VS Code at work but personal machines I've moved on
Programming
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev