pixelcook
pixelcook

Reputation: 47

How to Use Autocomplete in Sublime Text

I'm switching from Dreamweaver to Sublime Text, but the way ST handles autocomplete is different from DW. In DW, the tag autocompletes when you start typing the ending tag. But with ST, it autocompletes when you type the opening tag.

My problem is that in ST, you get trapped inside the tag you're typing, and the only way to move on to the next line is to hit the right arrow key a bunch of times. That seems totally ridiculous. Is there some shortcut I'm missing?

Upvotes: 1

Views: 3585

Answers (2)

Miks
Miks

Reputation: 21

Ctrl Enter will bring you to the next line and keep the auto complete that shows up. I'm on a mac.

Upvotes: 2

Mike Johnston
Mike Johnston

Reputation: 348

This might be what you're looking for:

https://github.com/SublimeText/Tag

In my copy of ST with this plugin installed, beginning to type the end-tag completes the tag and moves the cursor to the character immediately following the end of line.

Upvotes: 2

Related Questions