HTML-CSS-Class-Completion icon indicating copy to clipboard operation
HTML-CSS-Class-Completion copied to clipboard

Doesn't trigger autocompletion after class selection

Open dzpt opened this issue 5 years ago • 3 comments

In the html file, if i enter <div The would be class selection in the list, if i choose it, the text would be: <div class="" Then it won't suggest any css class inside. It only works if i type class or trigger suggestion manually.

Any chance to auto trigger class completion?

dzpt avatar Feb 17 '20 08:02 dzpt

I have the same problem

riccardo-poli avatar Feb 27 '20 13:02 riccardo-poli

Same problem for me

VSCode version:

Version: 1.43.0
Commit: 78a4c91400152c0f27ba4d363eb56d2835f9903a
Date: 2020-03-09T19:34:44.548Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.0.0

It's the same whether or not I'm in a .vue or .html

To recreate:

Create a html element. Do not autocomplete the class attribute. The intellisense works like normal.

Now create a htm element and autocomplete the class attribute. The intellisense won't trigger unless you use a "." (period). Then it work as intended.

A video demonstrating this is here: https://imgur.com/a/so6W3p0

dtomlinson91 avatar Mar 11 '20 16:03 dtomlinson91

Oh yes, same. The class suggestions only pop up if I type a . or a space

Version: 1.44.0 Commit: 2aae1f26c72891c399f860409176fe435a154b13 Date: 2020-04-08T08:23:56.137Z (3 days ago) Electron: 7.1.11 Chrome: 78.0.3904.130 Node.js: 12.8.1 V8: 7.8.279.23-electron.0 OS: Darwin x64 19.4.0

rlndsgn avatar Apr 11 '20 09:04 rlndsgn