Page 1 of 1

FIXED? [16.25b1] Code completion inside HTML style=""

Posted: 19 Jun 2024 18:25
by pjj
1) Code completion seems to be broken on multi line. On a new line, inside style quotes, I got autocomplete with entries like accesskey, class, contenteditable and probably Angular directives, starting with ng-. I mean a situation like this

Code: Select all

<p style="color: red; font-size: 2rem; font-variant: italic;     
(here be caret)
">foo</p>
2) And not bug per se, but rather feature request: could you make Tab key work as in <style> section? i.e. insert colon-space-semicolon sequence?

...3) And if so, how about (disclaimer: I think that inline styling should be avoided altogether! but since you've accepted this FR...) proper CSS highlighting? Maybe this is a low-hanging fruit?

Re: [16.25b1] Code completion inside HTML style=""

Posted: 25 Jun 2024 16:34
by Rickard Johansson
Fixed 1 and 2. I'll consider 3 in a later version.

Made several changes and fixed auto completion inside style sections and inside style="" attributes.

In beta 2:

Code: Select all

    align-self[TAB]
insert
    align-self: |  
and opens the auto completion list.