Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does the Sublime Text 2 editor support real time HTML & CSS preview? [closed]

Does the Sublime Text 2 editor support real time HTML & CSS preview?

like image 264
user1528138 Avatar asked Oct 10 '12 16:10

user1528138


People also ask

Does Sublime Text support HTML?

Sublime Text contains a custom HTML and CSS engine, named minihtml, for displaying stylized content in editor panes. HTML content can be displayed in both popup windows and phantoms. minihtml provides a limited subset of HTML and CSS features found in most web browsers.

What is the difference between Sublime Text 2 and 3?

Here's why – Sublime Text 3 brings some major benefits compared to version 2: Most plugins have caught up and are built on top of ST3 now. If you check in Package Control, there are more ST3 packages today than there are ST2 packages. Sublime Text 2 development has stopped while Sublime Text 3 is in active development.


1 Answers

There's a package for this: Browser Refresh by Giovanni Collazo. It supports OS X and Windows 7, and all major browsers.
You can install it via Package Control (or manually) and trigger it with super+shift+r in Sublime Text 2.

I haven't tested it personally since I use CodeKit for this functionality, but it seems popular.


Update:

Windows XP-compatible software

  • LiveReload (Windows version is pre-alpha) - there is also a supporting Sublime Text 2 package
  • XRefresh - deprecated version of LiveReload (worth mentioning for stable XP compatibility)
  • AutoHotKey - example
  • VBS script - triggered by a keyboard shortcut

Chrome extensions

  • Refresh Monkey
  • Easy Auto Refresh
  • ChromeReload
  • Auto-Reload
  • Auto Refresh Plus

Firefox addons

  • Tab Auto Reload
  • ReloadEvery

IE addons

  • AutoRefresher


Note: Browser extensions will refresh at regular intervals, not when you save a file.

like image 135
Sara Avatar answered Oct 30 '22 05:10

Sara