Autosave not always saving (recurrence of older problem?)

Happening now since a recent update in V2019.1, possibly a little earlier

If I type a random character on the end of a line to force a syntax error to check a script is being loaded and switch to the browser and refresh there's no error.

I seem to have to move the cursor away from the line I just typed on and THEN when I refresh I get the expected error.

This is definitely not how PHPStorm was working earlier in the year and is causing wasted time when I forget that the autosave behaviour seems to have been altered or an old bug (below) has resurfaced.

There is an older bug from 4 years ago discussed here which seems pretty much identical: https://intellij-support.jetbrains.com/hc/en-us/community/posts/206704405-autosave-not-always-working-

7 comments
Comment actions Permalink

I have similar problem :( 

0
Comment actions Permalink

I'll have to quote what I just wrote in another thread:

The file is supposed to be saved on frame/tab deactivation/activation, accordingly to Settings | Appearance & Behavior | System Settings | Synchronization.

Please enable Settings | Editor | General | Editor Tabs | Mark modified (*), so that unsaved files where marked.

After that, please monitor what action exactly doesn't lead to saving the file.

If you can catch that on a screencast while having this option on, that would really help us. Thank you!

0
Comment actions Permalink

A little update. I thought of looking for a similar issue on our tracker, and found this: https://youtrack.jetbrains.com/issue/WI-46747#focus=streamItem-27-3506262.0-0

Please check if the behavior you observe is similar to what Vasily described in this comment.

0
Comment actions Permalink

Yes, it's similar

0
Comment actions Permalink

So the only thing we can do is waiting the patch/fix that will restore it to work good, right?

0
Comment actions Permalink

You can upgrade to 2019.2, the issue is fixed there.

https://www.jetbrains.com/phpstorm/eap/

0

Please sign in to leave a comment.