Free Tools for Editing HTML in Real Time
Eric Terpstra
Memphis Web Workers
January 14, 2014
What do you mean by real-time?
Code change => Immediate browser update
Like WYSIWYG in reverse.
Faster than Auto-Reload (but with trade-offs)
Traditional Workflow
-
Edit code in editor.
-
Switch to browser.
-
Click refresh (or Ctrl/Cmd+R).
-
Open Firebug/DevTools.
-
Fiddle around with CSS.
-
Copy changes from Firebug/DevTools back to editor.
-
Save file in editor.
-
Switch back to browser, refresh.
-
Hope that all the right changes are there.
-
Repeat.
Tincr Workflow
-
Install Tincr as Chrome Extension (http://tin.cr)
-
Open Chrome Dev Tools
-
Fiddle with CSS
Tincr Demo!
What about HTML?
Tincr only saves styles from the Elements panel.
(Has the ability to save JS from Sources panel, too.)
Also:
-
Can be finicky in 'HTTP Web Server' mode.
-
No undo(!)
{Brackets}
-
Free (as in beer and freedom)
-
Built for HTML, CSS & JS with HTML, CSS & JS
-
Supported by Adobe
- Get it at http://brackets.io
Demo Time
{Brackets} is Great For:
-
Prototyping
-
Learning/Experimenting
-
Static Sites
- Single Page Websites
- Landing Pages
- Documentation
{Brackets} Drawbacks:
- No live editing apps, templates (dynamically generated HTML)
- Performance issues with huge CSS files (ie Bootstrap)
- Quick Edit CSS not as easy as DevTools for finding styles
- Still in Alpha/Preview
- Reliant on extensions for non HTML/CSS/JS (SCSS, Coffescript, etc...)
Recap
Brackets - Awesome editor for creating & editing static pages.
Tincr - Awesome for quickly editing styles on existing apps, sites.
Other tools?
JetBrains WebStorm - live edit like Brackets, not free.
Codepen.io, JSBin, jsFiddle, etc... Real-time, but online only.
Auto Reload (CodeKit, grunt, etc...) - Topic for another time...
Thanks!
Questions?
Live Edit HTML
By eterps
Live Edit HTML
Presentation for january 2014 meeting of the Memphis Web Workers
- 1,728