Tab-complete HTML in Sublime Text 2
Here's a small, built-in, hidden feature in Sublime Text 2.
You can tab-complete simple HTML tags with a single Class or ID attribute.
Class
div.col<tab>
Results In
<div class="col">|</div>
ID
div#obj<tab>
Results In
<div id="obj">|</div>
Unfortunately, this built-in feature is limited to just a single Class or ID attribute. For something more powerful try the ZenCoding plugin: http://www.youtube.com/watch?v=Q_D7X1Y8uOA
Written by Danny Garcia
Related protips
2 Responses
Any ideas on how someone adds two classes while using this technique?
over 1 year ago
·
Thanks it help me,
I find it useful
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Sublime text 2
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#