Vscode: Autocomplete in Visual Studio Code not working correctly (SASS,CSS,LESS)

Created on 20 Apr 2017  路  9Comments  路  Source: microsoft/vscode

When using VSC the autocomplete function does not seem to work correctly. I can use things like bgc for background-color: but when i want the options for a property it just gives a list with all the options. I have made two screenshots to show the behaviour. I use Sass Indented as a plugin.

Edit: Autocompletion does work with a normal css file.
wc4wj

kof7w

Most helpful comment

in setting

    "[scss]": {
        "editor.quickSuggestions": false
    },

All 9 comments

This looks like SASS, which we don't support out of the box (only SCSS).

in .scss we have this problem to
screenshot from 2017-04-26 15-10-09
screenshot from 2017-04-26 15-09-27

The proposals in the screenshot look correct. Note that in SCSS you can nest rules so you will also get selector proposals inside a rule.

Please add a small code sample and list what you see and what you are expecting.

Hello

I have problems with auto complete, when I write for Emmet autocomplete displays options that are not acceptable in css 'box-decoration-break' 'stroke-dashoffset' and another. You can view this in screenshots.
so I can't using quickly Emmet or another snippet

Will be very good that I can disable default 'auto complete - snippet' in the settings or you turn off all bad autocomplete snippet in css scss less
scss3
scss2
scss

css

I have same issue.

syntax: scss
screen shot 2017-05-04 at 11 41 32 am

force set syntax to css:
screen shot 2017-05-04 at 11 42 09 am

@htar If you want me to help, please help me understand the issue
Keep is simple, attach a sample code, write the reproducible steps and write what you expect.
Closing this issue.

@minipai That is #17578

Thanks @aeschli,
For those googled to here, I solved the problem by disabled autocomplete in Sass and let Emmet take care of it.

@minipai How?

in setting

    "[scss]": {
        "editor.quickSuggestions": false
    },
Was this page helpful?
0 / 5 - 0 ratings

Related issues

vsccarl picture vsccarl  路  3Comments

sirius1024 picture sirius1024  路  3Comments

v-pavanp picture v-pavanp  路  3Comments

lukehoban picture lukehoban  路  3Comments

chrisdias picture chrisdias  路  3Comments