Is possible to reuse CSS auto-completion for values outside curly brackets? #3738
Unanswered
oceangravity
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys!
I'm working on a single monaco input for CSS values (
hsla(...), 10em, initial, calc(12px +1vh)
), but, using the current CSS language for monaco, I get auto-completion of CSS values only inside curly brackets, is there a way to reuse it outside brackets.Please, let me explain in detail. I have this input built with monaco-editor:
When I start typing on it, for example hs I don't get the completion/suggestion for the CSS expression of
hsla(hue, saturation, lightness, alpha)
, same forini
toinitial
, or any CSS value/expression. Instead of that, I just get auto-completion for HTML elements, pseudo elements or whatever, but not for CSS values:The only way to get autocompletion for CSS values/functions it's just when expression is inside a curly braces like this:
So, my question is: is possible to get completion/suggestion for CSS values/expressions/functions outside curly braces or properties names?
Thank you for your humble/kindly answer!
Beta Was this translation helpful? Give feedback.
All reactions