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:
1 parent
364c38de0d
commit
85b7ec2b7f
1 file changed
+1
@@ -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)
|
||||
Reference in new issue
Block a user