When I close a file in PhpStorm, it saves the file automatically.
How can I change it to ask me “Do you want do save the file before closing?”
When I close a file in PhpStorm, it saves the file automatically. How can
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is no way to disable automatic save completely, but you can partially control this behavior:
The answer below from @Owen is not correct, since there is no way to completely turn off automatic save in the IDE.
Automatic save is the core design feature, we believe that it’s much more efficient and productive than manual save. There is no way to disable this behavior or enable any confirmations, quoting the FAQ (WebStorm is based on IntelliJ IDEA platform, so the same applies):
This feature has been in IntelliJ IDEA for a decade, and now even Apple has recognized that it’s better than manual saving and implemented it in Mac OS Lion.