Created
August 11, 2020 18:03
-
-
Save KennFatt/97f63b66aaf16acb49ea25dce557cfd4 to your computer and use it in GitHub Desktop.
kservices5 context allows Dolphin to open specific file or folder directly to VSCode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Original Author: https://store.kde.org/p/1202294/ | |
# | |
# I made some modification due my filesystems and my code launch options kinda different. | |
# The code binary usually at /usr/bin/code | |
# | |
# Copy it into: ~/.local/share/kservices5/ServiceMenus | |
[Desktop Entry] | |
Name = Open in Code | |
Type=Service | |
ServiceTypes=KonqPopupMenu/Plugin | |
MimeType=all/all; | |
X-KDE-Priority=TopLevel | |
Actions = openvscode | |
[Desktop Action openvscode] | |
Name = Open in Code | |
# Exec=/usr/bin/code %f | |
Exec=/opt/visual-studio-code/code --no-sandbox --unity-launch --disable-gpu --log off --extensions-dir /media/seagate/vscode_extensions %F | |
Icon=visual-studio-code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment