Closed deathaxe closed 4 months ago
I wonder how annoying this would be, to get property suggestions in every single selector you're trying to write? I'll play with it a bit.
You do get more useful suggestions this way. You can now just type bb
hit tab, and have it expand to border-bottom
automagically. So this is very neat.
On the other hand does feel a bit weird in situations where you're obviously not trying to type a property:
As there's no way to distinguish incomplete property assignments from selectors, there's no other way. With this change behaviour would at least be equal to LSP-css and VSCode.
I agree, it’s a clear overall improvement. And it’s not like it’s masking any useful suggestions for selectors, because we don’t actually have any of those.
Resolves #107
Suggest properties also within
meta.selector
as this is the most likely scope in front of a nested selector, if a property is not yet terminated by semi-colon.