A way to stop code analysis on commit?
Hi,
Whenever I commit code it takes a long time because RM is analyzing it. I click the guy-icon on the status bar and reduce the level from "inspections" to "syntax" which causes him to face to the right instead of face forward. But this setting doesn't seem to "take", i.e. he consistently faces forward causing the level to go back up to "inspections".
When the inspection is done I get an error something like the following, to which I always click "Commit".
"Some files contain problems. No errors and nnn warnings found. Would you like to review them?" with Review/Commit/Cancel buttons.
Is there a way to stop this inspection from happening every time I commit code? I'm not even sure I did the right thing, but that's one of the downsides to have hundreds, if not thousands of options.
Thanks,
Larry
Using: RM 4.5.4 and git
Please sign in to leave a comment.
"Commit Changes" dialog has "Perform code analysis" check box, you just need to uncheck it.
Regards, Oleg.
aarrgghh!! I just checked the "Settings" dialog box; it never occurred to me to look at the dialog box right in front of my face while doing the commit. :(
Thanks a lot, Oleg! (And keep up the good work!)
-- Larry
This issue occured to me on 2022.3.3 RC release as well. I just unchecked the 'anlyze code' in settings --> version control --> commit
This issue occured to me on 2022.3.3 RC release as well. I just unchecked the 'anlyze code' in settings --> version control --> commit
@IntelliJ-Team
I do not like to prevent all warnings.
It is not reasonable for me to get bulk warnings on files ending with …
- .md
- *.drawio.svg
- *Test.java
Is there something like a “warning ignore” alike the .gitignore?
That would be great :D
Hi Dominik Braun
These inspections are taken from your profile configured on: Settings | Editor | Inspections, you may edit these inspections further there.
If you forget to uncheck the box, the entire application gets stuck until the analysis is completed, you can’t cancel it, you have to wait, but we don’t pay for a subscription to wait, do we?
Hi Albert,
It should not be stuck. Can you provide more info and the logs?
Also, unchecking the box should persist.
If many files have been changed, the analysis starts and if it takes a long time, the application gets stuck, nothing can be done.
I would like to be able to skip this process in real time.
The checkbox is checked, it is needed.
How many files are in question?
20-30
It should not take this long.
Can you please provide logs and more details?
Why you type “should not” it sounds very funny. I'm just curious why this reaction is so (not professional).
I worked on small commits, everything was ok. The analysis went unnoticed. I have a Mac Pro 3 Pro.
But when I had 3 tabs of projects open, and in 1 I committed 20-30 files, just refactoring, changed the name of the function, so many files were affected.
At that moment, everything got stuck. And I have a Mac Pro 3 Pro.
You have a cool product, but there is a problem - Java, rewrite everything to a modern stack so that there are no problems with memory.
Yes, it should not. It should work fine with such a number of files.
Please provide logs to the support and we will help you.
It was long time ago, maybe I need to update ide? How to update? I can't find update button anymore.
Maybe your should not mean the super latest version, I will try, I'll be back
And I will be waiting, my friend. See you soon.
Please try https://www.jetbrains.com/toolbox-app/ for easier management.