Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Code completion & Emmet #17

Closed
ahmedelgabri opened this issue Jul 10, 2013 · 10 comments
Closed

Code completion & Emmet #17

ahmedelgabri opened this issue Jul 10, 2013 · 10 comments

Comments

@ahmedelgabri
Copy link

I'm using Emmet ex Zen Coding & the code completion was working with SCSS & Sass files without a problem when I was a different Sass package. after I installed this package Code completion is not working in SCSS as it used to be.

@P233
Copy link
Owner

P233 commented Jul 13, 2013

I'm sorry for the inconvenience. This is a weird problem, it works fine on my home computer and work computer. I have no idea why this is happening and I cannot define the problem yet. I will do some test.

Does anybody have the same problem?

@ahmedelgabri
Copy link
Author

I think the problem might be in these files, example I guess the last scope should be meta.property-list.css.scss instead of meta.property-list.css.sass right?

maybe other files too?

@P233
Copy link
Owner

P233 commented Jul 15, 2013

That should be fine. Both SCSS and Sass syntax use *.sass as their scope selector.

Does emmet work in .sass file but not in .scss? Have you changed any settings for emmet?

@P233
Copy link
Owner

P233 commented Jul 15, 2013

Please give the Emmet CSS snippets for Sublime Text a try before this problem solved :)

@ahmedelgabri
Copy link
Author

I only added some snippets to emmet, that's the only customization I did. Thanks I'll check them.

@jCrip
Copy link

jCrip commented Jul 26, 2014

The same problem here, I disabled emmet plugin and the completions start working fine, enabled again and the completions fails to work.

@P233
Copy link
Owner

P233 commented Jul 28, 2014

@ahmedelgabri @jCrip, I think I finally found the problem. The show_css_completions feature of Emmet will disable all Sublime Text native snippets and completions and it is enabled when you install Emmet. I guess that's why we need to add custom snippets into the Emmet config file.

Please try to disable the show_css_completions and install Emmet CSS snippets and let me know if this helps.

To disable show_css_completions feature you can create an Emmet.sublime-settings file into the User folder, and add the following content:

{
  "show_css_completions": false
}

@toliklunev
Copy link
Contributor

I still have this problem. I just remove Completions folder from Syntax Highlighting for Sass. That shit way, but its work fine for me.

@olafgleba
Copy link

@P233 Can confirm that setting show_css_completions to false within user Emmet.sublime-settings plus installing Emmet CSS snippets get the autocompletion back to work again.

@P233
Copy link
Owner

P233 commented Nov 26, 2017

This package is no longer to astrict the working scope of snippets or completions, and all built-in completions were removed. I rewrite this package in order to focus on highlighting syntax only.

@P233 P233 closed this as completed Nov 26, 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

5 participants