Fix on save does not respect finderSee original GitHub issue
Looks like fix on save does not respect the finder object.
I’ve created a finder with
in('/foo/bar'), created a file
/baz.php and it gets auto fixed on save, but it should not. This can make the plugin unusable, can someone confirm this?
- Created a year ago
- Comments:8 (2 by maintainers)
Top GitHub Comments
because use tmp file, so the config in can’t match the tmp file path generally.
why i use tmp file? this extension not only provide to format a whole file, but also format partial codes, such as selected range formatting… and if you want to format an unsaved file, and not change the behavior to save first, need a temp file to do that.
Why the temp file?