Reputation: 51
When I type this:
<div>
</
Sublime automatically writes this:
<div>
</div>
It's annoying because I usually write like this:
<div>
<>
And then go inside the brackets and fill the tag out, but as soon as I type /
, Sublime does this:
<div>
</div>>
Very non-intuitive and specific to certain habits of certain coders (which could easily be resolved by checking to see if a >
is already present).
Anyway, how can I disable this automation? "auto_complete": false
didn't do it.
Upvotes: 0
Views: 75
Reputation: 2037
Tags are automatically being closed on you. To disable this, add the following User settings:
"auto_close_tags": false
The auto_complete
setting is specifically referring to the completion popup window that you see as you type. So you probably want this to remain enabled.
Upvotes: 2
Reputation: 1578
Auto complete can be disabled with the auto_complete setting. To disable it, add this line to Preferences/File Settings - User:
"auto_complete": false
Upvotes: 1