A vscode://
URL handler for Visual Studio Code on three main platform (Windows, Mac, Ubuntu).
Following string must be specified as an editor in your app:
vscode://open?url=file://%file&line=%line
Might not be stable right now. If something doesn't work, then feel free to submit an issue on GitHub.
- clone this repository
- go to cloned folder
- copy folder
VS Code Protocol
toC:\Program Files\
folder - double click on
C:\Program Files\VS Code Protocol\run_editor.reg
file - agree to whatever Registry Editor asks you
- delete cloned folder
- wrap only necessary files into installer
- only test on Windows 10
- clone this repository
- go to cloned folder
- drag
VS Code Handler.app
to your/Applications
directory - Open once to register the handler
- delete cloned folder
The app doesn’t open? Don’t panic!
- http://stackoverflow.com/questions/471581/how-to-map-a-custom-protocol-to-an-application-on-the-mac
- http://superuser.com/questions/548119/how-do-i-configure-custom-url-handlers-on-os-x
- clone this repository
- run
sudo bash install
in console - delete cloned folder
- http://askubuntu.com/questions/514125/url-protocol-handlers-in-basic-ubuntu-desktop
- http://unix.stackexchange.com/questions/55214/how-to-override-the-gnome-3-ssh-handler/100736#100736
- http://edoceo.com/howto/xfce-custom-uri-handler
- only test on Ubuntu Linux 14.04 Desktop
- only works with Firefox (Google Chrome doesn't works)
Using with Laravel Tracy
-
Install Laravel Tracy using composer command
composer require recca0120/laravel-tracy
-
Include the service provider within
config/app.php
'providers' => [ //... Recca0120\LaravelTracy\ServiceProvider::class, //... ];
-
Publish assets using artisan command
php artisan vendor:publish --provider="Recca0120\LaravelTracy\ServiceProvider"
-
Setup your
config/tracy.php
like thisreturn [ //... 'editor' => 'vscode://open?url=file://%file&line=%line', //... ];