Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kidonng/vscode.fish

🆚🐟 Fish port of Visual Studio Code's Terminal Shell Integration
https://github.com/kidonng/vscode.fish

fish fish-plugin vscode

Last synced: 26 days ago
JSON representation

🆚🐟 Fish port of Visual Studio Code's Terminal Shell Integration

Awesome Lists containing this project

README

        

# 🆚🐟 vscode.fish

[Fish](https://fishshell.com/) plugin to add support for Visual Studio Code's [Terminal Shell Integration](https://code.visualstudio.com/docs/terminal/shell-integration).

![Screenshot](screenshot.png)

## Features

Differences from [experimental fish integration in latest VSCode Insiders](https://github.com/microsoft/vscode/issues/139400#issuecomment-1209929102):

- Automatic injection\*
- Ignore commands with leading spaces, [just like fish](https://fishshell.com/docs/current/interactive.html#searchable-command-history)
- Support [private mode](https://fishshell.com/docs/current/interactive.html#private-mode)

\* [Does not work with async prompts](https://github.com/kidonng/vscode.fish/issues/1) like [Tide](https://github.com/IlanCosman/tide) or [Hydro](https://github.com/jorgebucaran/hydro) yet

## Installation

- [plug.fish](https://github.com/kidonng/plug.fish)

```sh
plug install kidonng/vscode.fish
```

- [Fisher](https://github.com/jorgebucaran/fisher)

```sh
fisher install kidonng/vscode.fish
```

## Questions

**What's VSCode's native support status?**

Please refer to the [official issue tracker](https://github.com/microsoft/vscode/issues/139400).

**Do I still need to setup this if VSCode support it in the future?**

Quoting the awesome [kitty documentation](https://sw.kovidgoyal.net/kitty/shell-integration/#manual-shell-integration):

> The automatic shell integration is designed to be minimally intrusive, as such it wont work for sub-shells, terminal multiplexers, containers, etc. For such systems, you should setup manual shell integration by adding some code to your shells startup files to load the shell integration script.

## Credits

Thanks to [@zgracem](https://github.com/microsoft/vscode/issues/139400#issuecomment-1205915345) implementing a prototype and contributing to the VSCode's built-in support.