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

Autocomplete in Visual Studio Code not working correctly (SASS,CSS,LESS) #25092

Closed
htar opened this issue Apr 20, 2017 · 9 comments
Closed

Autocomplete in Visual Studio Code not working correctly (SASS,CSS,LESS) #25092

htar opened this issue Apr 20, 2017 · 9 comments
Assignees

Comments

@htar
Copy link

htar commented Apr 20, 2017

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

@htar htar changed the title Autocomplete in Visual Studio Code not working correctly (Sass) Autocomplete in Visual Studio Code not working correctly (SASS,CSS,LESS) Apr 20, 2017
@aeschli
Copy link
Contributor

aeschli commented Apr 25, 2017

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

@aeschli aeschli closed this as completed Apr 25, 2017
@htar
Copy link
Author

htar commented Apr 26, 2017

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

@aeschli
Copy link
Contributor

aeschli commented Apr 26, 2017

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.

@htar
Copy link
Author

htar commented Apr 26, 2017

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

@minipai
Copy link

minipai commented May 4, 2017

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

@aeschli
Copy link
Contributor

aeschli commented May 8, 2017

@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

@aeschli aeschli reopened this May 8, 2017
@aeschli aeschli closed this as completed May 8, 2017
@minipai
Copy link

minipai commented May 8, 2017

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

@techsin
Copy link

techsin commented Jun 30, 2017

@minipai How?

@minipai
Copy link

minipai commented Jul 1, 2017

in setting

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

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants