-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Linux URL handlers #48528
Comments
This may be useful as a hint: shengyou/vscode-handler#installing-on-linux |
shared-mime-info-spec - URI scheme handlers I think adding a NoDisplay desktop file with |
nice relevant gist: https://gist.github.com/peakhmr/9623e8f6da0acbec10d4ae1171bb7c70 |
VS Code has native support for opening it's own URL scheme via the hidden I'm going to submit a PR. |
I've not checked too far into it (Just subscribed to this to keep up to
date) but the wrapper script is probably there because `%u` in the standard
would include the "vscode://" prefix.
…On Fri, Aug 17, 2018 at 9:53 PM Segev Finer ***@***.***> wrote:
VS Code has native support for opening it's own URL scheme via the hidden
--open-url argument, I don't think there is a need for wrapper script
shenanigans.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#48528 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAG_znDfr84rUO_zmq88oY429Dc1hNK0ks5uR3OwgaJpZM4Thb11>
.
|
That's what should happen, that's what For OSS: [Desktop Entry]
Name=Code - OSS - URL Handler
Comment=Code Editing. Redefined.
GenericName=Text Editor
Exec=/usr/share/code-oss/code-oss --open-url %U
Icon=code-oss
Type=Application
NoDisplay=true
StartupNotify=true
StartupWMClass=Code - OSS
Categories=Utility;TextEditor;Development;IDE;
MimeType=x-scheme-handler/vscode
Keywords=vscode; For release version: [Desktop Entry]
Name=Visual Studio Code - URL Handler
Comment=Code Editing. Redefined.
GenericName=Text Editor
Exec=/usr/share/code/code --open-url %U
Icon=code
Type=Application
NoDisplay=true
StartupNotify=true
StartupWMClass=Code
Categories=Utility;TextEditor;Development;IDE;
MimeType=x-scheme-handler/vscode
Keywords=vscode; Drop it into |
No description provided.
The text was updated successfully, but these errors were encountered: