Skip to content

Don't save non dirty files#7

Open
AndreasArvidsson wants to merge 1 commit intolacroixdavid1:masterfrom
AndreasArvidsson:master
Open

Don't save non dirty files#7
AndreasArvidsson wants to merge 1 commit intolacroixdavid1:masterfrom
AndreasArvidsson:master

Conversation

@AndreasArvidsson
Copy link

First great extension!

I have a accessibility tools that rely on file watchers. When I ran format on my entire workspace those tools went haywire when every single file updated. This pr makes a small tweak so that we only save a file if it's actually dirty(have unsaved changes).

@bogu-liberatii
Copy link

Vote for this! This also speeds up formatting by avoiding IO for unmodified files when the big folder is selected

@jonathanp12
Copy link

I vote for this too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants