/vscode-fish

Fish syntax highlighting and formatting

Primary LanguageTypeScriptMIT LicenseMIT

VSCode Fish

version number install count

Add syntax highlighting, linting, code formatting and snippets for the fish shell!

Syntax Highlighting

syntax highlighting

Completion

Non-context aware completion for keywords, builtins and functions. Custom user functions are not shown in completion results.

Code Linting

Code linting uses fish -n.

linting

Code Formatting

Code formatting uses fish's fish_indent command.

formatting demo

Snippets

Tab-complete common language constructs.

snippet demo

This started out as a combination of two excellent but inactive extension: fish-vscode and fish-ide.

Keybindings

Ctrl+Shift+I / Cmd+Option+F: Fix indentation in fish file

Related Projects