Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fix on save does not respect finder

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

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

junstylecommented, Jul 6, 2022

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.

cartokcommented, Jul 6, 2022

Why the temp file?

Read more comments on GitHub >

github_iconTop Results From Across the Web

ESLint in VSCode not fixing on save - Stack Overflow
When I save I would like my ESLint to run automatically and fix all the warnings for me automatically. This is my settings.json...
Read more >
How to Fix Mac Finder Not Responding - MacKeeper
Open Spotlight by pressing Control + Space · Type in Terminal and press Enter to open the app · Copy and paste the...
Read more >
How to Format Code on Save in VS Code with ESlint
Open a JavaScript or TypeScript file (it doesn't matter which). Open your VS Code command palette. Search for the command TypeScript: Restart TS...
Read more >
Prettier + Format On Save = Never worry about ... - Scott Sauber
I find when using Prettier, along with the Format On Save option in VS Code, I don't think about how to format my...
Read more >
Excel formatting and features that are not transferred to other ...
If you save a workbook in another file format, such as a text file format, some of the formatting and data might be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found