{"id":13583182,"url":"https://github.com/shengyou/vscode-handler","last_synced_at":"2026-03-06T01:32:49.837Z","repository":{"id":68637377,"uuid":"65276332","full_name":"shengyou/vscode-handler","owner":"shengyou","description":"Maps vscode:// URL schemes to Visual Studio Code","archived":false,"fork":false,"pushed_at":"2020-03-23T05:47:04.000Z","size":136,"stargazers_count":87,"open_issues_count":1,"forks_count":17,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-05T23:41:33.002Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shengyou.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-08-09T08:14:56.000Z","updated_at":"2024-10-18T05:50:06.000Z","dependencies_parsed_at":"2023-02-27T21:30:10.168Z","dependency_job_id":null,"html_url":"https://github.com/shengyou/vscode-handler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shengyou%2Fvscode-handler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shengyou%2Fvscode-handler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shengyou%2Fvscode-handler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shengyou%2Fvscode-handler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shengyou","download_url":"https://codeload.github.com/shengyou/vscode-handler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236004430,"owners_count":19079685,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T15:03:18.816Z","updated_at":"2026-03-06T01:32:44.787Z","avatar_url":"https://github.com/shengyou.png","language":"JavaScript","readme":"# Visual Studio Code URL Handler\nA `vscode://` *URL handler* for **[Visual Studio Code](https://code.visualstudio.com/)** on three main platform (Windows, Mac, Ubuntu).\n\nFollowing string must be specified as an editor in your app:\n\n```bash\nvscode://open?url=file://%file\u0026line=%line\n```\n\nMight not be stable right now. If something doesn't work, then feel free to [submit an issue](https://github.com/shengyou/vscode-handler/issues/new) on GitHub.\n\n# Installing on Windows\n\n#### Steps:\n\n1. clone this repository\n2. go to cloned folder\n3. copy folder ```VS Code Protocol``` to ```C:\\Program Files\\``` folder\n4. double click on ```C:\\Program Files\\VS Code Protocol\\run_editor.reg``` file\n5. agree to whatever Registry Editor asks you\n6. delete cloned folder\n\n#### Reference:\n\n* [https://github.com/aik099/PhpStormProtocol](https://github.com/aik099/PhpStormProtocol)\n\n#### TODO:\n\n* wrap only necessary files into installer\n\n#### Notice:\n\n* only test on Windows 10\n\n\n\nInstalling on Mac\n=================\n\n#### Steps:\n\n1. clone this repository\n2. go to cloned folder\n3. drag ```VS Code Handler.app``` to your ```/Applications``` directory\n4. Open once to register the handler\n5. delete cloned folder\n\n\n#### Notice:\n\nThe app doesn’t open? [Don’t panic!](https://onflapp.wordpress.com/support/app-cannot-be-opened/)\n\n#### Reference:\n\n- [https://github.com/dhoulb/subl](https://github.com/dhoulb/subl)\n\n#### Useful Links:\n\n* [http://stackoverflow.com/questions/471581/how-to-map-a-custom-protocol-to-an-application-on-the-mac](http://stackoverflow.com/questions/471581/how-to-map-a-custom-protocol-to-an-application-on-the-mac)\n* [http://superuser.com/questions/548119/how-do-i-configure-custom-url-handlers-on-os-x](http://superuser.com/questions/548119/how-do-i-configure-custom-url-handlers-on-os-x)\n\n\n\n# Installing on Linux (Ubntu)\n\n#### Steps:\n\n1. clone this repository\n2. run ```sudo bash install``` in console\n3. delete cloned folder\n\n#### Reference:\n\n* [https://github.com/algorich/sublime-url-handler](https://github.com/algorich/sublime-url-handler)\n\n#### Useful Links:\n\n* [http://askubuntu.com/questions/514125/url-protocol-handlers-in-basic-ubuntu-desktop](http://askubuntu.com/questions/514125/url-protocol-handlers-in-basic-ubuntu-desktop)\n* [http://unix.stackexchange.com/questions/55214/how-to-override-the-gnome-3-ssh-handler/100736#100736](http://unix.stackexchange.com/questions/55214/how-to-override-the-gnome-3-ssh-handler/100736#100736)\n* [http://edoceo.com/howto/xfce-custom-uri-handler](http://edoceo.com/howto/xfce-custom-uri-handler)\n\n#### Notice:\n\n- only test on Ubuntu Linux 14.04 Desktop\n- only works with Firefox (Google Chrome doesn't works)\n\n\n\n# Using with [Laravel Tracy](https://github.com/recca0120/laravel-tracy) \n\n#### Steps:\n\n1. Install Laravel Tracy using composer command\n\n   ```bash\n   composer require recca0120/laravel-tracy\n   ```\n\n2. Include the service provider within `config/app.php`\n\n   ```bash\n   'providers' =\u003e [\n       //...\n       Recca0120\\LaravelTracy\\ServiceProvider::class,\n       //...\n   ];\n   ```\n\n3. Publish assets using artisan command\n\n   ```bash\n   php artisan vendor:publish --provider=\"Recca0120\\LaravelTracy\\ServiceProvider\"\n   ```\n\n4. Setup your `config/tracy.php` like this\n\n   ```bash\n   return [\n   \t//...\n       'editor' =\u003e 'vscode://open?url=file://%file\u0026line=%line',\n       //...\n   ];\n   ```\n\n#### Reference:\n\n* https://github.com/recca0120/laravel-tracy\n* [https://pla.nette.org/en/how-open-files-in-ide-from-debugger](https://pla.nette.org/en/how-open-files-in-ide-from-debugger)\n\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshengyou%2Fvscode-handler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshengyou%2Fvscode-handler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshengyou%2Fvscode-handler/lists"}