Cliff Wallace created NETBEANS-6267:
---------------------------------------

             Summary: Dart-Sass 1.44, Apache-NetBeans 12.5, MacOS Monterey - 
does not recognise @use or @forward
                 Key: NETBEANS-6267
                 URL: https://issues.apache.org/jira/browse/NETBEANS-6267
             Project: NetBeans
          Issue Type: Bug
          Components: web - CSS Preprocessors (SASS, LESS, ...)
    Affects Versions: 12.5
         Environment: MacOS Monterey

Apache-NetBeans 12.5

Dart-Sass 1.44
            Reporter: Cliff Wallace
         Attachments: 144512285-c2d760fd-5b01-4ca5-b812-75d2d96cf2dc.png

I had NetBeans working fine and compiling on save with Dart-Sass using 
[@include|https://github.com/include]s.

However, @include is deprecated in favour of [@use|https://github.com/use] and 
[@forward|https://github.com/forward].

I installed Dart-Sass (per Dart site) by simply loading it down and adding to 
my MacOS Path then using terminal command "{*}which sass{*}" to get that path: 
*/Applications/dart-sass/sass*
and add it to NetBeans css preprocessor.


I get the issue (see attachment) every time I try [@use|https://github.com/use] 
or [@forward|https://github.com/forward].
I tried removing NetBeans to start over, and re-installed it (no difference).
To demonstrate the issue, I created the very simple project shown in the image.
Inside the _fonts.scss is the simplest definition ...

$font-size: 1.25rem;

So, even at this simplest of levels, NetBeans doesn't seem to like 
[@use|https://github.com/use] (or [@forward|https://github.com/forward] for 
that matter).

I raised an issue on GitHub (#1566) and Dart-Sass folks say it isn't a Sass 
issue.

Trouble is, as it stands, when using @use or @forward, the sass just won't 
compile.

It may be the case that the NetBeans syntax checking has not caught up yet in 
which case, I'll gladly raise an enhancement request.



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

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

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

Reply via email to