Bhushan Lodha
Bhushan Lodha

Reputation: 6862

HTML and CSS bundle for Textmate

Are there any html and css bundle in textmate for autocompletion. Keeping track of every div becomes painful at some point. Thanks

Upvotes: 0

Views: 1556

Answers (1)

romainl
romainl

Reputation: 196781

TextMate's killer feature is and has always been its snippet expansion mechanism. Even now that it has been copied by every editor/IDE under the sun.

If you don't know about it or don't use it there's almost no point in chosing TextMate over any free text editor.

Just type div then hit Tab to expand it to

<div id="">

</div>

There are snippets like this one for the most common HTML tags, check the Bundles menu.

You can also type div or any tag name and hit Ctrl+< to turn it in a proper tag.

You can also select some text and hit Ctrl+Shift+W to wrap it with tags.

Why don't you read the documentation? Or print out this cheatsheet? Or simply look around in TextMate's menus? TextMate costs money, if you don't put some efforts into it you have wasted your €45.63.

Upvotes: 2

Related Questions