[ 
https://issues.apache.org/jira/browse/NETBEANS-5449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17457826#comment-17457826
 ] 

Jeroen commented on NETBEANS-5449:
----------------------------------

[~matthiasblaesing] Just tried with your test binary, and I can confirm that 
with this one points 2 and 3 from my initial post have been resolved. Something 
that does not seem to be a 100% yet, but might be outside of the scope of this 
issue, is that when I type 'vars' followed by a . (dot), I do get an 
autocomplete/autosuggest menu/popup, but the options listed contain pretty much 
every existing CSS property, as well as a few existing CSS selectors from the 
current file and the @ use'd file, whereas one would hope for an autocomplete 
list with variables/mixins from the file with the namespace entered before the 
dot (which could of course get more complex/layered if the @ used file in turn 
also "includes" other files).

> Failed parsing of SCSS files with namespaced variables through @use "import"
> ----------------------------------------------------------------------------
>
>                 Key: NETBEANS-5449
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5449
>             Project: NetBeans
>          Issue Type: Bug
>    Affects Versions: 12.0, 12.1, 12.2, 12.3
>         Environment: Windows 10 20H2 Build 19042.867 (same issue present with 
> previous versions)
> OpenJDK 15.0.2 (same issue with previous versions)
> Dart Sass 1.32.8 (same issue with previous versions)
>            Reporter: Jeroen
>            Assignee: Matthias Bläsing
>            Priority: Major
>             Fix For: 12.6
>
>         Attachments: Capture.PNG, NetBeans.PNG, _vars.scss, test.scss
>
>
> When parsing an .scss file, after the first line with a namespaced variable 
> has been encountered ("imported" through @use, see: 
> [https://sass-lang.com/documentation/at-rules/use)] syntax highlighting, code 
> completion, etc stop working after that.
> Regarding the attached screenshot.
>  # Tooltip when hovering red dotted line says: "Unexpected token SEMI found"
>  # Tooltip says: "Unexpected token DOT found"
>  # All text black, no green/blue, no more syntax highlighting, code 
> completion, etc
> When re-saving the main scss file, the file does get compiled by dart sass to 
> a valid CSS file without any issues/errors.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to