Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nushell/vscode-nushell-lang

A Nushell grammar for Visual Studio Code with IDE support
https://github.com/nushell/vscode-nushell-lang

nushell syntax-highlighting visual-studio-code vscode vscode-extension

Last synced: 20 days ago
JSON representation

A Nushell grammar for Visual Studio Code with IDE support

Awesome Lists containing this project

README

        

# vscode-nushell-lang VSCode extension

[![vsm-version](https://img.shields.io/visual-studio-marketplace/v/TheNuProjectContributors.vscode-nushell-lang?style=flat-square&label=VS%20Marketplace&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=TheNuProjectContributors.vscode-nushell-lang)
[![vsm-downloads](https://img.shields.io/visual-studio-marketplace/d/TheNuProjectContributors.vscode-nushell-lang?style=flat-square&label=downloads&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=TheNuProjectContributors.vscode-nushell-lang)
[![vsm-installs](https://img.shields.io/visual-studio-marketplace/i/TheNuProjectContributors.vscode-nushell-lang?style=flat-square&label=installs&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=TheNuProjectContributors.vscode-nushell-lang)

This [extension for VSCode](https://marketplace.visualstudio.com/items?itemName=TheNuProjectContributors.vscode-nushell-lang) provides editing, syntax highlighting, and IDE support for [Nushell](http://nushell.sh), a data-driven document language.

## Features

- Syntax highlighting grammar for Nushell scripts (`.nu` files)
- Goto definition
- Hover support
- Validation (errors with red squiggly lines)
- Auto-complete built-in commands
- Inlays / Hints
- Configuration via vscode settings

## Screenshot (v1.5.0)

With Dark+ Color Theme

![Nushell script with Dark+ color theme](https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/assets/150-dark.png)

With Light+ Color Theme

![Nushell script with Light+ color theme](https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/assets/150-light.png)

Inlays / Hints

![Inlays](https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/assets/150-inlays.png)

Completions support

![Completions](https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/assets/150-completions.png)

Hover over built-ins for help

![Hover](https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/assets/150-hover-builtin.png)

Hover over custom commands for help

![HoverCustom](https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/assets/150-hover-custom.png)

Hover over variable

![HoverVar](https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/assets/150-hover-var.png)

Error & Validation support

![Error 1](https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/assets/150-error1.png)
![Error 2](https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/assets/150-error2.png)
![Error 3](https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/assets/150-error3.png)

Goto Definition support

![goto](https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/assets/150-goto-def.png)

Extension Settings

![settings](https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/assets/150-ext-settings.png)

## Known Issues

See [our Github repository](https://github.com/nushell/vscode-nushell-lang/issues) for active issues.

## Help

We are happily accepting pull requests to make this better. :)