Hacker News new | ask | show | jobs
by fivea 1670 days ago
Even though I wouldn't classify it as "awful", I do agree with the sentiment. Whenever I use Clion, I feel I need to have vscode also on the same project to mitigate the shortcomings of it's code completion and even search.

Clion's support for CMake is particularly enfuriating, with it's propensity to actively replate a target's name with filenames, even if they do not match in caps, which makes absolutely no sense at all and feels it is doing it's best to get in the way and sabotage your productivity.

3 comments

Counter argument, I tried c/cpp/cmake development in vscode, but got so fed up with breaking plugins. Configuring… fixing new config options for plugins… Or spell checkersuggesting to rename functions i call… or duplicate shortcuts from plugins…

That I bought clion and got stuff up and running for the biggest part in minutes. I am a looong time pycharm user though. Cmake integration is great for my projects. Embedded mostly.

IDE’s are very personal tools. Im an ide guy, always have been. Do use vscode occasionally though, it is great to test new prpgramming languages, or open big files pycharm chokes on.

I have a bit of an off-topic question for you: I'm developing a single app for Windows in 3 languages: C#, C++, and Typescript using Visual Studio and I get excellent autocomplete/integration support. However I'm looking towards porting it to Linux, and I'm looking at some other IDE. Is there something that can handle building/debugging/autocomplete for these 3 that's not VS?
Try moving to VSCode on Windows, see if you can re-create your workflow there using plugins.

Then, if you are successful, port your workflow to VSCode running in Linux.

Perhaps also intellij with the language specific plugins? Separately, all these languages work fine. What’s the build tool?
Msbuild haha. I use it to build the C++ and C# parts, and to trigger npm build on the typescript part. For C#, I'm perfectly happy with it, however for C++ I'm looking for something cross-platform. CMake maybe? Is there something better?
Have you tried a C/C++ lsp server like https://github.com/MaskRay/ccls? Works with vscode/whatever you want, and just targets your Makefile (using bear to generate the dependency graph).
> Have you tried a C/C++ lsp server like https://github.com/MaskRay/ccls?

I never tried it and to me that's not acceptable or desirable. I want an IDE/text editor that works, and not adopt yet another tool that needs maintenance and configuration and attention.

It takes about 5 minutes to set up. It's easier than Clion to use imo and works with far more project types, even the Linux kernel. But if your barrier to using a tool is it can't require any setup or configuration... well I can't help you there.