Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>vscode-nufmtNew to Visual Studio Code? Get it now.
vscode-nufmt

vscode-nufmt

Andrew Collins

|
1 install
| (0) | Free
Formats Nushell documents with nufmt.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-nufmt

AI disclaimer

This extension was developed mainly with AI assistance, including its code and documentation. Review the source before depending on it, and note that it comes with no warranty, as stated in LICENSE.txt.

Formats Nushell documents with nufmt, which must be on PATH; the extension never downloads or bundles it. Requires the nushell language from vscode-nushell-lang.

This is a stopgap for the missing formatter in nushell/vscode-nushell-lang#131, meant to be retired once upstream provides one.

Configuration

  • nufmt.path (default nufmt): formatter executable; a bare name resolves through PATH, so use an absolute path when nufmt is installed elsewhere.
  • nufmt runs at the project root, so nufmt.nuon resolves as on the command line; configurations in subdirectories are ignored.

Limitations

Only whole-document formatting is provided, and .nuon files are not handled.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft