Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong autocomplete for outputStyle in vscode #864

Open
feikname opened this issue Jan 25, 2023 · 0 comments
Open

Wrong autocomplete for outputStyle in vscode #864

feikname opened this issue Jan 25, 2023 · 0 comments

Comments

@feikname
Copy link

feikname commented Jan 25, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant