News for hackers. Stuff that matters.
Re:Greppability is an underrated code metric by einpoklum on Thursday September 05, 2024 @06:31AM (#41455291)
> You need a better IDE.

No IDE will resolve this if the same code is preprocessed more than once to produce different files; or if you often build with different and conflicting preprocessing values; or if your build uses a tool your IDE doesn't know about; or if some of the preprocessing and compilation occurs at runtime.

> Go grab a coffee

So, you're saying "wait".

> Jetbrains all products pack, baby.

JetBrains CLion won't even try to properly index C/C++ files which aren't officially part of the project.

Plus, if you have errors in some places - which occurs while you're editing your code - then that breaks very badly with JetBrains IDEs. e.g. missing closing paren or #endif

There are no comments on this comment yet.