Sublime Forum

Autocomplete question

#1

Hi :smile:
Noob question.

When I autocomplete something in HTML, for example a div tag, what I have is:

(the cursor)

Then, I make some space, usually I hit the ā€œenterā€ button twice and what I have is:

I position the cursor between the two div tags and, when I hit the tab button to indent the line, what I have is:

(the cursor goes here)

This is a bit annoying, so thereā€™s a way to prevent this and simply indent when I hit the tab button?
Thank you.

0 Likes

#2

The Zen Coding package will do what you want, but that might add new features that annoy you as well.

I would love to have ST2 do what you describe without having to add Zen Coding. Anyone have any suggestions?

0 Likes

#3

@dfk: try emmet

Keyboard shortcuts can be enabled via latest update.

0 Likes