Skip to content

BeyondKhlaleb/open-in-vscode

 
 

Repository files navigation

Open in VSCode

Open links to source code in VSCode.

Screenshot

Installation

Just install from the Chrome Web Store. Once you have installed, make sure to configure the extension in the options page. You can do this by right clicking on the "Open in VSCode" icon in the extensions bar on chrome, and then selecting "Options".

Usage

Just right click on any link to a file and select "Open in VSCode". The extension expects the repository you are browsing to already be cloned into the folder in the options page. You can also click on line links to open the file to the specific file.

Tested with the following websites:

  • Github (no line support)
  • Gitlab

It might work on some other websites as well (no guarantee), if you do discover that it works on other websites please let me know so I can add it to the list!

All I see is a blank page!

This could be happening for numerous reasons. Make sure you have set the options correctly in the options page. If you want, you can check what URL the extension is trying to open by enabling the debug mode in the options. You might want to check out how VSCode handles links.

Feedback

If you are having any issues, or would like to request a new feature, don't hesitate to open an issue on github!

License

Licensed under the MIT License.

About

Open Github and Gitlab links in VSCode

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 68.9%
  • HTML 31.1%