GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - robyoder/vscode-handler: Maps vscode:// URL schemes to Visual Studio Code

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
VS Code Handler.app/Contents
VS Code Handler.app/Contents
 
 
VS Code Protocol
VS Code Protocol
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
install
install
 
 
vscode-handler
vscode-handler
 
 
vscode-handler.applescript
vscode-handler.applescript
 
 
vscode-handler.desktop
vscode-handler.desktop
 
 

Repository files navigation

Visual Studio Code URL Handler

A vs-code:// URL handler for Visual Studio Code on three main platform (Windows, Mac, Ubuntu).

Following string must be specified as an editor in your app:

vs-code://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.

Installing on Windows

Steps:

  1. clone this repository
  2. go to cloned folder
  3. copy folder VS Code Protocol to C:\Program Files\ folder
  4. double click on C:\Program Files\VS Code Protocol\run_editor.reg file
  5. agree to whatever Registry Editor asks you
  6. delete cloned folder

Reference:

  • https://github.com/aik099/PhpStormProtocol

TODO:

  • wrap only necessary files into installer

Notice:

  • only test on Windows 10

Installing on Mac

Steps:

  1. clone this repository
  2. go to cloned folder
  3. drag VS Code Handler.app to your /Applications directory
  4. Open once to register the handler
  5. delete cloned folder

Notice:

The app doesn’t open? Don’t panic!

Reference:

  • https://github.com/dhoulb/subl

Useful Links:

  • 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

Installing on Linux (Ubntu)

Steps:

  1. clone this repository
  2. run sudo bash install in console
  3. delete cloned folder

Reference:

  • https://github.com/algorich/sublime-url-handler

Useful Links:

  • 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

Notice:

  • only test on Ubuntu Linux 14.04 Desktop
  • only works with Firefox (Google Chrome doesn't works)

Using with Laravel Tracy

Steps:

  1. Install Laravel Tracy using composer command

    composer require recca0120/laravel-tracy
  2. Include the service provider within config/app.php

    'providers' => [
        //...
        Recca0120\LaravelTracy\ServiceProvider::class,
        //...
    ];
  3. Publish assets using artisan command

    php artisan vendor:publish --provider="Recca0120\LaravelTracy\ServiceProvider"
  4. Setup your config/tracy.php like this

    return [
    	//...
        'editor' => 'vs-code://open?url=file://%file&line=%line',
        //...
    ];

Reference:

  • https://github.com/recca0120/laravel-tracy
  • https://pla.nette.org/en/how-open-files-in-ide-from-debugger

About

Maps vscode:// URL schemes to Visual Studio Code

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.