I find on sublime 3 that if I autocomplete code I sometimes get an extra angular bracket.
for example, If I start writing "<ht"
, I get an option to autocomplete the html tag, but the code produced looks like this:
<<!DOCTYPE html> <!-- Extra angle bracket here -->
<html>
<head>
<title></title>
</head>
<body>
</body>
</html>
Which is quite annoying. How do I fix this? I'm not sure on what other autocompletion it does this. I'd like to start using the feature more once I know how it works and if I can adjust it to my style
Don't start off the tag with <
. Just type ht
and then press Tab, and you'll have your desired result. The same goes for any other tag.
p
+ Tab will create <p></p>
, etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With