3 ms·
Tbf, when coming from the C/C++ ecosystem, these types of problems are 'just another Tuesday' (especially for cross-platform projects and the official VSCode C/
by flohofwoe 2y ago
Tbf, when coming from the C/C++ ecosystem, these types of problems are 'just another Tuesday' (especially for cross-platform projects and the official VSCode C/C++ extension).
- voidUpdate 2y agoYeah, that's one of the reasons I dislike the C++ ecosystem so much and want to like Zig haha
- jeroenhd 2y agoThis is part of the reason why I don't use VSCode for C(++). Jetbrains Clion seems to be the best IDE for those languages, with Visual Studio (the full fat one, costing a grand, as the free version lacks a bunch of features) as a close second, depending on what platform you're developing for. VSCode is great when it works, but in cases like these it quickly becomes obvious that it's a hodge-podge of tools glued together via extensions and command lines rather than a purpose-built IDE.
- markus_zhang 2y agoI have never used Clion. Can you please share why you believe it is the top of the crop? I'm writing a C++/SDL2 game engine in Visual Studio but I think the IDE is really slow and error prone even for a small project. Everything just runs so slow. Maybe I need a better machine though.
- winrid 2y agoCLion has a free trial you can try. I find it works really well. I use it on a 6yo laptop quite often for C++.
- markus_zhang 2y agoThanks! Just to confirm, are you using Windows?
- winrid 2y agoI use it on Windows and Linux for game development, mostly, with Meson or Cmake.
- Quothling 2y agoI'm not one to defend VSC as such, but I do think it's fair to mention that a lot of the Zig issues have been directly with the Zig LSP (zls) and not necessarily with any specific editor extension. Though I suppose some of it may be worse with VSC as it's often been rather important to keep both your Zig and zls versions up-to-date and synchronized. I'm not sure how that happens with the VSC extension, but if it auto-updates your zls version (which it probably does) then it may race ahead of your Zig version which might cause problems.
- bobajeff 2y agoNote for people wanting to use vscode for c or c++ development. The clangd extension* is provides much better code completion and jump to definition compared to the default c/c++ extension. * https://marketplace.visualstudio.com/items?itemName=llvm-vs-code-extensions.vscode-clangd https://marketplace.visualstudio.com/items?itemName=llvm-vs-...