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

Write without formatting #4853

Closed
lukepighetti opened this issue Nov 22, 2022 · 3 comments
Closed

Write without formatting #4853

lukepighetti opened this issue Nov 22, 2022 · 3 comments
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements E-easy Call for participation: Experience needed to fix: Easy / not much E-good-first-issue Call for participation: Issues suitable for new contributors

Comments

@lukepighetti
Copy link

lukepighetti commented Nov 22, 2022

Would be nice to have a command palette item to write a file without auto formatting first.

Sometimes you need to edit a "hand crafted" file and need to skip formatting, but want auto-formatting to be the behavior 99.999% of the time.

@lukepighetti lukepighetti added the C-enhancement Category: Improvements label Nov 22, 2022
@kirawi kirawi added E-easy Call for participation: Experience needed to fix: Easy / not much A-helix-term Area: Helix term improvements E-good-first-issue Call for participation: Issues suitable for new contributors labels Nov 22, 2022
@QiBaobin
Copy link
Contributor

Before the change, you can use :set-language text before :w to disable auto formatting.

@pascalkuthe
Copy link
Member

This doesn't require a separate command as mentioned in #4909 (comment) and by @QiBaobin. You can even bind this to a hotkey (and in the future to a typable command).

Therefore I am closing this issue

@pascalkuthe pascalkuthe closed this as not planned Won't fix, can't repro, duplicate, stale Jan 18, 2023
@janos-r
Copy link
Contributor

janos-r commented May 27, 2023

I agree it would be useful. Just from a UX perspective. Something like wnf Write no format. Currently you have to set auto-format false, and than reenable. It's not so bad, but would be nice to have a dedicated command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements E-easy Call for participation: Experience needed to fix: Easy / not much E-good-first-issue Call for participation: Issues suitable for new contributors
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants