-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
rewrap document on save #165
Comments
If this isn't implemented it'd be great to see |
This is now fixed pre-release version 17.7. It's enabled with this setting (or through the UI): {
"rewrap.onSave": true
} Naturally this can be configured per file-type or workspace (recommended). If you don't like the result after saving a document you can just undo, but you'lll have to turn it off before saving again. (I wasn't sure whether to call it |
Based on my settings I found those usages of
So maybe something like |
Thanks for this extension and also the @stkb would you consider releasing the Prerelease version from 2022 as the main release version? |
Thanks so much for this awesome tool. I've been wanting something like this for a long time. Prettier has it in the backlog but you've actually done it. Kudos!
One thing that I could not figure out though (in VSCode) was how to make the rewrap run over the whole document on every file save. I'm probably just missing something obvious, but wasn't sure.
The text was updated successfully, but these errors were encountered: