Skip to content

Instantly share code, notes, and snippets.

@tabacitu
Last active May 28, 2021 14:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tabacitu/806aae6fd277239309589e34b617cc3c to your computer and use it in GitHub Desktop.
Save tabacitu/806aae6fd277239309589e34b617cc3c to your computer and use it in GitHub Desktop.
Awesome Protocol Handlers - Open your Code Editor when Clicking Specific Links

How do you make sublime:// or vscode:// links actually open files in that editor?

Rephrased: you'd expect an URL like subl://open/?url=file:///etc/passwd&line=10&column=2 to open in... Sublime Text. Right? Well that doesn't happen by default, because that protocol doesn't exist, you need a new protocol handler. This article is here to help you do just that.

Unfortunately... there's never been a single source, where you can learn how to do that no matter what OS or editor you use. Until now. Please help us make this the source of information on this topic, we're all tired of searching for this 😀

Windows Mac OS Linux
Visual Studio Code ??? ??? ???
Sublime Text ??? ??? ???
PHP Storm ??? ??? ???
Atom ??? ??? ???

Windows

Visual Studio Code

???

Sublime Text

???

PHP Storm

???

Atom

???


Mac OS

Visual Studio Code

???

Sublime Text

???

PHP Storm

???

Atom

???


Linux

Visual Studio Code

???

Sublime Text

???

PHP Storm

???

Atom

???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment