Question

I know that I can mark unsaved files with asterisk if I check the corresponding check box in settings. But when I close the tab IDEA is not asking me "Do you want to save changes?". Tab is just closed and nothing in the project structure is not indicating that I have unsaved file. When I run the application it just saves the file and run the app.

Can I make IntelliJ IDEA to ask me that there is unsaved files in my project that I should now about before launching ?

Was it helpful?

Solution

You can't, at least not until this request is addressed.

Use Local History feature, see also this answer.

OTHER TIPS

I've researched this and it appears that the designers of IntelliJ intentionally block this feature for the most bizarre of reasons, and have been doing so since at least 2012 on this ticket: https://youtrack.jetbrains.com/issue/IDEABKL-6460 . They refuse to even let you configure the editor to warn on closing unsaved files and give you the choice of saving it or discarding your edits.

Wow. I'm dumbfounded.

Sorry for the bad news...I had the same question and am thoroughly disappointed with their answer.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top