You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Jeroen (Jira)" <ji...@apache.org> on 2021/03/14 02:21:00 UTC

[jira] [Created] (NETBEANS-5449) Failed parsing of SCSS files with namespaced variables through @use "import"

Jeroen created NETBEANS-5449:
--------------------------------

             Summary: 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.2, 12.1, 12.0, 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
         Attachments: Capture.PNG

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.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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