Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline replacement #278

Closed
mrkaspa opened this issue Jul 18, 2018 · 1 comment
Closed

Inline replacement #278

mrkaspa opened this issue Jul 18, 2018 · 1 comment

Comments

@mrkaspa
Copy link

mrkaspa commented Jul 18, 2018

Is there a flag to make inline replacement, when I use the tool via the global tool all the file content is deleted and put again formatted, this is a bad experience for formatting on save and editor integration

@nojaf
Copy link
Contributor

nojaf commented Nov 27, 2018

Hi @mrkaspa , sorry for not replying sooner.
Fantomas will "delete" the file first and then write the formatted code instead.

Is this issue about not deleting the file and merely overwrite when formatting succeeded?
I'm somewhat confused by the issue title here.

@nojaf nojaf closed this as completed Aug 30, 2019
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

No branches or pull requests

2 participants