
Right click on defaults.list and Open as Administrator 3. Open your home folder, browse to /etc/gnome 2.
If you want to set Chromium as your default web browser, replace each instance of sktop below with sktop 1.
Copy and paste follow command and save the file as “Chrome. This will open all webpages and html files with Chrome. Some text editors (BBEdit, for instance) have a feature that lets you open your page in a browser, but Sublime Text does not. Say you're coding HTML in Sublime Text & you want to check how it looks in a browser. It opens up a file with default command text such as Method 1: Install the View In Browser plugin. Goto Tools > Build System and click on “New Build System”. Sublime: Configure to Open HTML Page in a Web Browser. This is where I did some research and found the way out.įollowing are the steps (for Win platform) to configure your Sublime to open the HTML page in the web browser: Ideally, I wanted some shortcut keys right from within Sublime which would have helped me open the file in browser. In fact you may not even need to install View In Chrome, Open In Browser might use deault browser set as long as the path to the HTML page is not too long, I will do additional testing.
In both the case, it was quite a bit cumbersome. After I moved the ‘LandingPage’ folder to C:\Documents\LandingPage it will now Open in Browser to Chrome and View in Browser to Chrome. This article presents steps that is needed to configure Sublime to open the HTML pages you are working, in your preferred web browser.Īs I started developing AngularJS apps with Sublime, I got stuck at the point where I have to manually go to appropriate folder consisting of HTML file and double-click to open it in browser or, go to existing browser having that page and refresh it.