welaika / Sublime-Text-2-Compass-Mixins

Compass Mixins autocompletion for Sublime Text 2
1 stars 1 forks source link

Not working within Sublime Text 2 #1

Open bluehiveinteractive opened 10 years ago

bluehiveinteractive commented 10 years ago

I've tried cloning this into my Sublime Text 2 install a few times. I've go to Package Control >> Add Package and copied and pasted in the clone URL https://github.com/welaika/Sublime-Text-2-Compass-Mixins.git

I've also downloaded the zip and manually copied the folder into /Users/[MY USER NAME]/Library/Application Support/Sublime Text 2

Restarted Sublime, opened a .scss file and attempted to type in a compass shortcode snippet such as apply-transform but nothing auto completes.

Any ideas?

alessandro-fazzi commented 10 years ago

Sorry for the silence @bluehiveinteractive ...

I've checked your ticket right now and I noticed that the package is activated by the .sass scope. This is because we don't use .scss. I think the problem is there; try to change line 2 in Auto-generated.sublime-completions from

"scope": "source.sass - meta.property-value",

to

"scope": "source.scss - meta.property-value",

I know that is just a dirty workaround, but is just to test. We should at least explicate the issue in the readme.

udoschmitz commented 10 years ago

Same issue here. And: Nope. That edit doesn't help.

boregcz commented 9 years ago

U have to change it in both Auto-generated.sublime-completions and script.awk files. Then it works, tested on 2.0.2

alessandro-fazzi commented 9 years ago

The trick from @boregcz did the work? :)