sublime text 2 html auto complete produces an odd result


If my cursor is placed after an html closing tag and I press enter, I get a popup auto-completion suggestion as follows:

p> (element)

If I press enter again p> is printed on the screen.

This is annoying and I want to prevent it but how? I have already tried setting auto_complete to false in user preferences but that did not work.

There is complete description for Auto Completion on there site as

Disabling Auto Complete

Auto complete can be disabled with the auto_complete setting. To disable it, add this line to Preferences/File Settings - User:

"auto_complete": false If auto complete is disabled, the completion popup can be shown manually, or tab can be used to insert the highest ranking completion without showing the popup.

Manually Showing Completions

Pressing Ctrl+Space will show the completion popup if it's not currently showing. If it is showing, it'll select the next item.

Commit on Tab

By default, the selected item in the completion popup will be committed when enter is pressed. This can create ambiguity between committing the completion, and inserting a newline. By setting the auto_complete_commit_on_tab setting to true, enter will insert a newline, and tab will commit the current completion. There are other benefits, too: because Sublime Text knows there is no ambiguity, it will show a more curated list of completions, with the one you want more likely to be in first place.

Enabling Commit on Tab is recommended, but it will take a short time to get used to.

Source :Sublime 2 Auto Complete

Hope this helps.