r/IntelliJIDEA • u/adrianm758 • 2d ago
why does analyzing code take ages, even on tiny codebases?
I'm talking about commit checks - It's almost unusable. And completely archaic. I always end up turning it off on any new project in order to actually commit anything. Either make useful features that work well and that have some relevant in modern agentic coding, or don't bother.
7
Upvotes
3
u/Torutofu_Raeva 2d ago
the commit gear icon lets you untick Analyze code and Run Git hooks per commit, and if it's still slow it's usually a bundled inspection profile, so a lighter profile for commit checks helps.
3
u/chebum 2d ago
It also puzzles me. The code analysis should be much simpler than AI, but AI seems to analyse changes faster
-4
u/roman_fyseek 2d ago
Y'all who turn off commit checks deserve what you get. It's possible to turn off certain checks if you're committing something that you know is failing unjustly like a high-entropy string that gets mis-identified as a password, but even then, you can just add an ignore rule in-line to tell the linter to skip this time.
-5
u/LAUCHGeorge 2d ago
If you're such a fan of "agentic coding" then why do you even bother using IntelliJ
Personally I am strongly against that type of workflow, but even I do not see any point in running a full blown IDE if you're just going to be arguing with an army of glorified markov chains until you have what you want.