Are there any html
and css
bundle in textmate
for autocompletion. Keeping track of every div
becomes painful at some point. Thanks
Asked
Active
Viewed 1,535 times
0

Bhushan Lodha
- 6,824
- 7
- 62
- 100
-
What do you mean by "keeping track of every `div`"? What kind of autocompletion do you expect? – romainl Jul 20 '12 at 21:55
-
if i doit should writefor me. – Bhushan Lodha Jul 21 '12 at 02:29
1 Answers
2
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.

romainl
- 186,200
- 21
- 280
- 313