Sublime Forum

Does Sublime have a built-in 'open-file-in-browser' feature?

#1

Hi all. Does Sublime have a built-in feature to open my current file in a browser? Or would I need a separate package to do so (e.g. SideBarEnhancements)?

Thanks in advance.

0 Likes

#2

No, I don’t think Sublime Text built-in feature Open In Browser.

If you’d like a better version of SideBarEnhancements, I’ve done a package called FileManager. Have a quick look here. The difference is that it’s much more optimised (for example, you don’t have New File, and New Folder, you only have Create. It chooses to create a file or a folder the path you type in ends with a /)

2 Likes

#3

actually, it does but it is quite limited

provided in Packages/Default/open_in_browser.py:

right click the view in a HTML file (a file with a .htm or .html extension etc. - it’s not related to syntax) and ST will offer Open in Browser

1 Like

#4

OK thanks for the info.

0 Likes

#5

OK thanks for that. I may check it out.

0 Likes