Skip to content

Instantly share code, notes, and snippets.

@SharkyRawr
Last active June 11, 2024 19:13
Show Gist options
  • Save SharkyRawr/e7822d9f37fd24f48bbea3dc53330cef to your computer and use it in GitHub Desktop.
Save SharkyRawr/e7822d9f37fd24f48bbea3dc53330cef to your computer and use it in GitHub Desktop.
KDE 5 Plasma Service Menu action: VSCode here (open visual studio code in current directory for KDE Plasma)
# Install in to ~/.local/share/kservices5/vscodehere.desktop
[Desktop Entry]
Type=Service
X-KDE-ServiceTypes=KonqPopupMenu/Plugin
MimeType=inode/directory;
Actions=openVSCodeHere;
X-KDE-AuthorizeAction=shell_access
[Desktop Action openVSCodeHere]
TryExec=code
Exec=code %f
Icon=utilities-terminal
Name=Open VS Code Here
Comment=Opens a VS Code Instance in the current folder
@mastercactapus
Copy link

This is awesome, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment