Skip to content

Add formatting #131

New issue

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

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

Already on GitHub? # to your account

Open
gaetschwartz opened this issue Jun 4, 2023 · 6 comments
Open

Add formatting #131

gaetschwartz opened this issue Jun 4, 2023 · 6 comments

Comments

@gaetschwartz
Copy link
Contributor

It would be amazing if the extension could also be a formatter for nu files. Is it something planned ? If it is already the case I couldn't find any documentation for it ?

@fdncred
Copy link
Contributor

fdncred commented Jun 4, 2023

Agreed. Which is why we are working on https://github.com/fdncred/nufmt. If it matures enough we'll move it to the nushell org and use it from there perhaps.

@trymeouteh
Copy link

Would love to see Nushell come with a formatter with a formatting standard. Just like how Golang and Dartlang have a standard formatting style.

@AbdulSamadMalik
Copy link

+1

@fdncred
Copy link
Contributor

fdncred commented Feb 24, 2025

I've been using this recently and it seems to work great!
https://github.com/blindFS/topiary-nushell

@AlekSi
Copy link

AlekSi commented Mar 17, 2025

Is it better than nufmt?

@fdncred
Copy link
Contributor

fdncred commented Mar 17, 2025

yes

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants