Sublime Text 2 – Open Chrome Tab on Build

Simple to create automatically open a Chrome tab when editing HTML and wanting to see your changes.

  1. Select New Build System from the menus – see below:

menu1

2.  Get rid of the default text and replace with where you have installed the Google Chrome executable – it should look something like this (be sure to put in double backslashes for the filepath and put in “$file” after the filepath too:

defaulttext

3.  Save it as something sensible like “Chrome”.

4.  Then in the Build System menu (see first screenshot), you should see “Chrome” appear, select this.  Now press Ctrl+B or select Build from the Tools menu and it should open a new tab in Chrome.

Pretty easy.

Advertisements
Sublime Text 2 – Open Chrome Tab on Build

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s