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

https://github.com/merrit/kde-dolphin-open-vscode

Add context menu to Dolphin to easily open VS Code at location on right click.
https://github.com/merrit/kde-dolphin-open-vscode

Last synced: about 1 month ago
JSON representation

Add context menu to Dolphin to easily open VS Code at location on right click.

Awesome Lists containing this project

README

          

# Dolphin: Open in VS Code

A context menu entry for Dolphin to open VS Code at the current location.

Works on the empty background or on a folder.

## Download

Download from the KDE Store
Download from GitHub

## Manual Install

If not downloading from the KDE Store, install manually:

### Using the install script

The install script automatically detects the correct icon name for your VS Code
installation and copies the service menu to the appropriate directory for your
Plasma version.

```bash
./install.sh
```

### Manual steps

Move the file `openVSCode.desktop` into the [Service Menus folder](https://develop.kde.org/docs/apps/dolphin/service-menus/):
- KDE Plasma 5: `~/.local/share/kservices5/ServiceMenus`
- KDE Plasma 6: `~/.local/share/kio/servicemenus`

Set as executable:
```bash
chmod +x ./openVSCode.desktop
```

## Customization

By default, the extension works on directories (i.e. `inode/directory`). If you prefer the extension to work on all file types, edit the file `openVSCode.desktop` by replacing the line `MimeType=inode/directory` with `MimeType=all/all`.

## Screenshots

![](screenshots/open_vscode_1.png)

![](screenshots/open_vscode_2.png)