Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6572355
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:59:41+00:00 2026-05-25T14:59:41+00:00

When I close a file in PhpStorm, it saves the file automatically. How can

  • 0

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?”

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T14:59:41+00:00Added an answer on May 25, 2026 at 2:59 pm

    There is no way to disable automatic save completely, but you can partially control this behavior:

    Note that those are optional autosave triggers, and you cannot turn off autosave completely.

    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):

    Because IntelliJ IDEA has the ability to change so many files
    simultaneously in large refactoring actions, and change them without
    ever opening them, single file saves don’t make very much sense. In
    recognition of this, IntelliJ IDEA reserves the right to save any
    of your files literally whenever it wishes. It’s actually quite nice
    to never have to worry about your file’s save statuses, once you get
    used to it.

    "What if I don’t like some changes I made, and want to
    roll them back?", I hear you say. Well, for that IntelliJ IDEA
    includes this amazing feature called the Local History.
    Every time it saves your files, IntelliJ IDEA actually saves a diff of
    your file from it’s previous state, and saves that as well. You can
    see the entire edit history of your files (going back some
    configurable number of days), see the changes you’ve made, and roll
    back any change. It rules triumphantly, and more than makes up for the
    temporary disorientation caused by lack of single-file save.

    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.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having a problem closing my database before an attempt to delete the file.
In Unix C programming, is it considered good practice to explicitly close file handles
Should log classes open/close a log file stream on each write to the log
using (var file_stream = File.Create(users.xml)) { var serializer = new XmlSerializer(typeof(PasswordManager)); serializer.Serialize(file_stream, this); file_stream.Close();
With python inotifyx, do I have to remove watch and close opened system file
I have a CSV file that has only 1 column, but has close to
This is the file I'm using $.load() to load into DOM: <script type=text/javascript> $('.close').click(function()
I use fdopen to associate a stream with an open file. When I close()
In Python, and in general - does a close() operation on a file object
When using file:read_file(x) is it necessary to close the returned file? {ok, File} =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.