Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

opening sublime in web browser

I can't figure out how to open my sublime file in the browser for windows it was only explained for mac and it was very brief.

I guess, you want to open .html file in a browser from Sublime Text for Windows.

There is a package called Sidebar Enhancement that lets you do that.

If you don't have Sublime Text Package Manager installed, go ahead and install it.

After having the package manager installed, install the 'Sidebar Enhancement' package

The default shortcut for opening a file in a browser for Windows is F12.

The .html file will open in your default browser as listed in the package configuration file.

2 Answers

Alex Hedley
Alex Hedley
16,381 Points

Do you want to open them directly from sublime? There is probably a shortcut or option in one of the menus.

Otherwise go to the folder the files are stored in and right click, open with and choose your web browser of choice.

You can also right click on the html and select "Open in browser"