This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 271126 - SASS preprocessor does not support libsass/sassc - reappear after being fixed.
Summary: SASS preprocessor does not support libsass/sassc - reappear after being fixed.
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: CSS Preprocessors (SASS, LESS, ...) (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-19 14:24 UTC by Trzmiel
Modified: 2017-07-19 15:52 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Trzmiel 2017-07-19 14:24:56 UTC
Product Version: NetBeans IDE 8.2 (Build 201610071157)
System: Linux version 4.4.0-53 [Linux Mint]
------------------------------------------------------

To reproduce this bug we need sassc (https://github.com/sass/sassc) and use sassc for compiling .scss or .sass file.

Tools > Options > HTML/JS > CSS Preprocessors
Sass Path: /usr/local/bin/sassc

---
Sass (compile):

"/usr/local/bin/sassc" "--cache-location" "/home/user/.cache/netbeans/8.2/sass-compiler" "--debug-info" "/home/user/www/project-01/scss/style.scss" "/home/user/www/project-01/css/style.css"
/usr/local/bin/sassc: unrecognized option '--cache-location'
See '/usr/local/bin/sassc -h'
Done.

---
The option '--cache-location' not exist in sassc and should be removed.
---

$ sassc -h
Usage: sassc [options] [INPUT] [OUTPUT]

Options:
   -s, --stdin             Read input from standard input instead of an input file.
   -t, --style NAME        Output style. Can be: nested, expanded, compact, compressed.
   -l, --line-numbers      Emit comments showing original line numbers.
       --line-comments
   -I, --load-path PATH    Set Sass import path.
   -P, --plugin-path PATH  Set path to autoload plugins.
   -m, --sourcemap         Emit source map.
   -M, --omit-map-comment  Omits the source map url comment.
   -p, --precision         Set the precision for numbers.
   -a, --sass              Treat input as indented syntax.
   -v, --version           Display compiled versions.
   -h, --help              Display this help message.


$ sassc -v
sassc: 3.4.5
libsass: 3.5.0.beta.3-75-ga617
sass2scss: 1.1.0
sass: 3.5

---
This is the same bug as before:
https://netbeans.org/bugzilla/show_bug.cgi?id=247890

Maybe after fixing, it would be a good idea to add a comment to the source code to not add more these options.