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

[scss] provide proposals for at-keywords #41929

Closed
Kcko opened this issue Jan 21, 2018 · 3 comments
Closed

[scss] provide proposals for at-keywords #41929

Kcko opened this issue Jan 21, 2018 · 3 comments
Assignees
Labels
css-less-scss Issues and items concerning CSS,Less,SCSS styling feature-request Request for new features or functionality verified Verification succeeded
Milestone

Comments

@Kcko
Copy link

Kcko commented Jan 21, 2018

Hi,
Im trying migrate from Sublime Text to VSCode.
Intelisense is really bad in SCSS language against SASS, why, its a same language (mix CSS & SASS).

For example:
in SASS a wrote if and i see hint "@if statement", in SCSS not. ( directives, loops, functions, nothing works). In SASS yep.

Native functions like (abs / ceil / nth / append ... etc, ) not works too.

Screenshot: SASS https://goo.gl/Y7dXPi ; https://goo.gl/okxSoF
Screenshot: SCSS https://goo.gl/KNn3hq ; https://goo.gl/ZriZaF

Is possible to solve it with some workaround or some settings? Its very important for me (Im SCSS coder).

Thx for ur answer.

@vscodebot vscodebot bot added the css-less-scss Issues and items concerning CSS,Less,SCSS styling label Jan 21, 2018
@aeschli
Copy link
Contributor

aeschli commented Jan 22, 2018

Please let me add some explainations here:

  • VSCode has only built-in support for SCSS, but not for SASS. You probably added some extensions for SASS that added some support such as snippets, such as a snippet for @each
  • To add the same snippet to SCSS, just use File > Preferences > User Snippets and add the @each snippet.
  • What you are looking for are built-in proposals for at-keywords, which we don't have. I changed the title
  • Code assist for the built-in SCSS functions are available when completing a value:
    image

@aeschli aeschli changed the title SCSS is not the same as SASS [scss] provide proposals for at-keywords Jan 22, 2018
@aeschli aeschli added this to the Backlog milestone Jan 22, 2018
@aeschli aeschli added the feature-request Request for new features or functionality label Jan 22, 2018
@Kcko
Copy link
Author

Kcko commented Jan 22, 2018

Hi, at first thank for your reply.
You are right, i added SASS extension from Robin Bentley from Market Place, i will contact author if is possible to create extension for SCSS or I will create own extension or set of SCSS snippets.

I will migrate this cool plugin from Sublime Text to VSC https://packagecontrol.io/packages/SCSS%20Snippets%20Complete#selector

Will be anyone interested in it?

Code assist for the built-in SCSS functions are available when completing a value:
Yes, I did not notice it, it's a little confusing, but I can understand it.

@Kcko
Copy link
Author

Kcko commented Jan 23, 2018

@aeschli can you explain me last thing = differefent behavior SASS against SCSS?

SASS: see https://goo.gl/SngxCN (suggestion for map functions)
SCSS: see https://goo.gl/isKSXc (no suggestion for map), works only when i wrote someValue and now i trigger suggestion (https://goo.gl/QSkTZ8)

Why so different behavior?

@octref octref modified the milestones: Backlog, May 2018 May 10, 2018
@octref octref self-assigned this May 10, 2018
@octref octref added the verification-needed Verification of issue is requested label May 29, 2018
@aeschli aeschli added verified Verification succeeded and removed verification-needed Verification of issue is requested labels May 30, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Jul 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
css-less-scss Issues and items concerning CSS,Less,SCSS styling feature-request Request for new features or functionality verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants