Sublime Forum

HTML attributes auto completion

#1

in HTML 5, for example in this below code

<input type="" name="">

in type attribute i want to get suggestions like:
button
checkbox
email
text

which in my case i don’t see any suggestions.
I’m using ST3.
any idea appreciated.

0 Likes

#2

ST3’s default html completion plugin doesn’t provide attribute values.

You may want to try LSP and LSP-html packages which use Microsoft’s Language-Server-Protocol and an external HTML language server for code intelligence features.

0 Likes

#3

thanks for your recommendation, I tried both plugins but nothing happened.

0 Likes

#4

You need to have node.js installed for LSP-html to work. Do you have node installed?

0 Likes