Oh, Microsoft is pulling the rug under your feet?
That's fuckin' news right there!
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
Follow the wormhole through a path of communities [email protected]
Oh, Microsoft is pulling the rug under your feet?
That's fuckin' news right there!
Here we go!!! I was expecting the enshitification of this thing for past couple of years
It was explicitly said to not use this outside of VSCode, so, I'm not sure where the surprise comes from.
You are late. They have already did the same with C# extension, and made it closed source too.
I'm not up-to-date: what did they do to the C# extension? I've been using it on a personal project and haven't experienced anything egregiously terrible (yet)
A lot of the C# ecosystem is open source (thank goodness), but the official debugger isn't, hence it only being available in the proprietary version of VSCode.
They did it with python about 2 years ago.
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.
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!
Oooh I’ll give it a try, wasn’t aware of it.
BasedPyright should have you covered on the Python end, the downside is you also need to install the PyPi package.
Have used it and it’s excellent, even has additional features over Pylance
Do you still have refactoring tools with it, like symbol renaming, go to definition, and extract method?
I think so, and it might even be a feature of the upstream Microsoft OSS Pyright, so even that version should(?) have those features available
No Pyright is just a type checker. The IDE features are part of Pylance which is closed source.
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.
(...), 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