gulp-sass icon indicating copy to clipboard operation
gulp-sass copied to clipboard

Wrong autocomplete for outputStyle in vscode

Open feikname opened this issue 1 year ago • 0 comments

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

feikname avatar Jan 25 '23 00:01 feikname