Skip to content

Wrong autocomplete for outputStyle in vscode #864

Description

@feikname

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions