A
A
asmler2014-10-22 18:31:40
User interface
asmler, 2014-10-22 18:31:40

How to send file to browser in sublime?

How to send file to browser in sublime?
to view the same html.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Surin, 2014-10-23
@BedwaRe

It is possible to make a new Build System to open files in the browser as suggested by Akarin, but this is inconvenient and wrong. I advise you to install the package "SideBarEnhancements" for Sublime Text. After installing it, any file can be launched in the browser through the sidebar -> RMB on the file -> Open in Browser. Plus, you can achieve the same result through the Command Palette (Ctrl+Shift+P) or the F12 hotkey. And you will surely enjoy the new sidebar functionality after installing this package.
PS There was a problem when, when a file was launched in a browser, a command line window appeared, then disappeared and nothing happened. All this happened because the package could not determine the current browser. To help him, you need to change the default browser line in \AppData\Roaming\Sublime Text 3\Installed Packages\SideBarEnhancements.sublime-package\Side Bar.sublime-settings to this one (depending on your browser).

//if installed in a default location maybe this works.
"default_browser": "chrome", //one of this list: firefox, aurora, chrome, canary, chromium, opera, safari

But in most cases, the package picks up everything itself.

S
SergeyKisliy, 2014-10-22
@SergeyKisliy

When an html document is open in ST , rcm-open in browser

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question