Switching between windows make IDE rebuilds the project automatically.

已回答

When i switch between windows either with keyboard or mouse makes the IDE rebuilds the project. Also IDE shows me error messages when i make changes on the code if the project is running. I think this happened after last update but not sure. Is there a way to disable that feature or fix if it is a bug?

1

Hello Efecdml.

When i switch between windows either with keyboard or mouse makes the IDE rebuilds the project. 


Could you please describe this case in more detail? Should I run the project or build it manually to reproduce it? On my side, the issue isn't reproducible in IntelliJIDEA 2023.2; nothing happened when switching between project windows. 


Also IDE shows me error messages when i make changes on the code if the project is running.

 

Could you please specify which exact errors you observe? Also, please, share the IDE logs ( Help | Collect Logs and Diagnostic Data ) via the JetBrains Uploads service and write here the ID you receive - I want to take a look if there are any related entries in the log.

0

Of course, here it is: Upload id: 2023_08_04_TwuD8NuPdmoTZPLXLbyYmi (file: idea-logs-20230804-19534915490601842244177619.zip)

My version is also 2023.2. I removed the config files but the issues still exists. Here is the video link i recorded that may explain better.

0
Avatar
Margarita Tyumenkova

Hello Efecdml,
 
Your issue can be related to configuration settings:

 
Kind Regards,
Margarita
JetBrains Support

3

Thank you Margarita,

The "On frame deactivation" method has solved my issue.

2

Thank you so much, Margarita! 

I struggled for days not being able to use IDEA because of a problem with Sync external changes (Settings | Appearance & Behavior | System Settings). I had “When switching to the IDE window or opening an editor tab” and “Periodically when the IDE is inactive (experimental)”. That made the IDE make the project files disappear when I switched to another application, build the project when I came back to IDEA, and build the project in a loop sometimes (while the IDE was active), as well. That being said, I really don't think these features should be enabled by default (at least not with this behavior, given that they made my project files disappear and my editor tabs close!). Hopefully you guys at Jetbrains will take this into account! 

1
> given that they made my project files disappear and my editor tabs close

The IDE should not behave like mentioned above. Could you please attach the screenshot to https://uploads.services.jetbrains.com ?
0

I got this issue when working on a Jhipster project. Why does the setting "On frame deactivation = Update classes and resources" make the IDE rebuild the project?

0

1991itachi This option is designed to account for all the changes made to the Project, so you have a latest version of the application deployed on the server, users often switch from IDEA to a browser to see the changes they've made to the application.

Do you experience the issue, where Project files disappear from the Project Tool Window and/or Editor tabs get closed?

If so, could you please share more details about your Project and, if possible, the Project itself?

0

请先登录再写评论。