Sublime Forum

New package: Open DOI

#1

The package Open DOI provides a new command in the context menu and the Command Palette of Sublime Text to open the selected digital object identifiers (DOIs), that are formatted without https://doi.org/ and look like 10.1103/PhysRevLett.116.061102, as URLs in your browser.

Usage

If a DOI looks like https://doi.org/10.1103/PhysRevLett.116.061102, Sublime Text allows you to open it in a browser directly as an URL. In this case, you do not need to use this package.

But if a DOI looks like 10.1103/PhysRevLett.116.061102, this package should help you. Select such a DOI and click on Open DOI in the context menu or in the Command Palette. Then the selected DOI will be opened in your browser.

Multiple selection is supported: if you select multiple DOIs, they will be opened as separate URLs.

The leading and trailing whitespace characters in your selection are ignored.

If your selection does not match the basic DOI syntax (i.e., it does not start with 10. and does not contain /), it will be ignored.


The package is on Package Control:
https://packagecontrol.io/packages/Open%20DOI

It was released about 4 months ago. I apologize that I did not tell about that earlier.

0 Likes