Project keeps automatically building in IntelliJ 2018.1

已回答

I just upgraded from the IntelliJ 2017.3 to IntelliJ 2018.1 and anytime I make a change in a Java file and do something that causes an automatic save (switch applications to look at a Word Doc for example), IntelliJ 2018.1 attempts to do a Rebuild.

I have gone into "Build, Execution, Deployment" -> Compiler and unchecked "Build Project Automatically".  However, it still builds automatically.

Is there any other configuration to disable automatic IDE builds?  

1
Avatar
Permanently deleted user

I figured it out.  

It is not an issue with IntelliJ 2018.1.

I installed the Veracode Greenlight plugin, and that enabled automatic scanning, which requires class compilation.  

I think it would be rare, but just wanted to post the cause of my issue in case it helps anyone else. 

6

Thanks so much for mentioning this. I was having the same problem and it was making me crazy to have the IDE jump focus to something every time I turned around. I didn't have that plugin, but I disabled a bunch of plugins I wasn't using and it finally stopped. What a relief!

0
Avatar
Permanently deleted user

Thanks for posting the solution. I thought it was one of the plugins and this was a quick search and issue solved. It was annoying!

0

it was driving me mad too - they need to add an option to the Veracode Greenlight to run by demand (as the default)

0

Shalom Deitch
Maybe you can disable the automatic scanning by disabling the Auto-Scan option in Tools > Veracode Greenlight menu. But yes, it seems to be enabled by default. You could also post a question in their community forum.

0

@... Pajic thanks you were right

(they have lots of ways to disable/enable autoscan, also when you try to check a class)

I have had a horrible time with this refresh - it is so refreshing to be able to work without the cursor moving to some other file etc.
anyway, thanks to you I re-enabled the plugin and disabled autoscan and now can work
shame it took so long to find the problem

thanks again

1

Can anyone suggest the solution. I am still not able to fix it. I am using Intellij Ultimate 2024

0

Please contact support at https://intellij-support.jetbrains.com/hc/requests/new with the logs (Help | Collect Logs and Diagnostic Data) and a sample project to reproduce the issue.

0

I've the same issue with Intellij IDEA Ultimate 2024.2.2 RC. All active plugins are default idea plugins. Build project automatically is turned off. It happens when I run the service but have some compilation problem in the tests, I expect tests to not bother me when I don't run them.

0

Hello Roman,

Could you please share screenshot with used run configuration. Probably you have “Build” action there.

0

2024.2.3. This annoying issue is still here

0

Anton Borisov If temporarily disabling all of the non-bundled plugins (File | Settings | Plugins | ⚙ | Disable all downloaded plugins) and restarting the IDE doesn't help, please submit a new ticket to YouTrack describing the problem in detail.

0

请先登录再写评论。