nushell / vscode-nushell-lang

A Nushell grammar for Visual Studio Code with IDE support
https://www.nushell.sh/
MIT License
122 stars 27 forks source link

Add formatting #131

Open gaetschwartz opened 1 year ago

gaetschwartz commented 1 year ago

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 commented 1 year ago

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 commented 4 months ago

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