WebStorm: Uncheck Immediate file synchronization (#2112)

In WebStorm file watcher, it doesn't make sense to reformat with Immediate file synchronization since the code jumps around while you type and if you sneak in a character while reformatting WebStorm pops a conflict alert.

So it's much saner to reformat on Save only.
This commit is contained in:
Alex Ilyaev authored and Lucas Azzola committed 2017-06-12 22:45:35 +10:00
1 parent 364c38de0d
commit 85b7ec2b7f
1 file changed
+1
+1
View File
@@ -38,3 +38,4 @@ Go to *File | Settings | Tools | File Watchers* for Windows and Linux or *WebSto
* **Program** set the full path to a `prettier` executable, such as `/Users/developer/repo/jest/node_modules/.bin/prettier` (on OS X and Linux) or `C:/\Users\developer\repo\jest\node_modules\.bin\prettier.cmd` (on Windows).
* **Parameters** set `--write [other opts] $FilePath$`
* **Working directory** set `$ProjectFileDir$`
* **Immediate file synchronization**: Uncheck to reformat on Save only (otherwise code will jump around while you type)