dlmanning / gulp-sass

SASS plugin for gulp
MIT License
1.56k stars 381 forks source link

Wrong autocomplete for outputStyle in vscode #864

Open feikname opened 1 year ago

feikname commented 1 year ago

Hello

Not sure if this is the right place or this is easily fixable, but here's my report

vscode takes the documentation for outputStyle from node-sass, which doesn't quite match dart sass in this case.

Instead of displaying only compressed and expanded it shows the definitions for compact and nested also.

If it's not easy to change what autocompletes based on which SASS you're using please dis consider 👍🏼

Example code:

const gulp = require('gulp')
const dartSass = require('sass')
const gulpSass = require('gulp-sass')(dartSass)

function compilaSASS() {
    return gulp.src('./main.scss')
    .pipe(gulpSass({
        outputStyle: 'compact' // try pressing control space here to change
    }))
    .pipe(gulp.dest('./build/'))  
}

exports.sass = compilaSASS