Sublime Forum

Tab autocomplete inserting whitespace after commit

#1

I have Sublime 3 installed on 3 computers, and all are build 3143 with identical settings. However, on one of them, the tab autocomplete inserts a tab inside or after whatever it autocompletes. So say I was to open an h1 tag, I type “h1” then hit Tab.

On my other two computers this results in: <h1>|</h1>

But on my third computer it does this: <h1> |</h1>

I found a “fix” by changing “auto_complete_commit_on_tab” to false from true. This makes it behave like on my other computers, but that doesn’t seem right, as tab shouldn’t commit autocomplete anymore, right? I have no other custom settings regarding autocomplete or tab other than “tab_size”. It works as desired now, but I don’t now if this is an issue with my install or sublime itself.

0 Likes

#2

Apparently this was only a temporary fix. The issue returns after some time and I have to close and re-open sublime to get it back to normal.

0 Likes

#3

sounds similar to

0 Likes

#4

That seems to have been the cause. Thanks for your help!

0 Likes