MarioRicalde / SCSS.tmbundle

The TextMate SCSS Official Bundle. Now Compatible with SublimeText2.
834 stars 110 forks source link

Opening SCSS files raises "TextMate[1115] didn't find rule #option" #75

Closed elitalon closed 12 years ago

elitalon commented 12 years ago

I recently made a fresh install of TextMate Version 1.5.10 (1631) and install SCSS bundle. I got surprised that the bundle menu didn't show any options, and indentation rules had no effect in open SCSS files.

Taking a look at Console I found a bunch of TextMate[1115] didn't find rule #option errors everytime I open a SCSS file. The problem seems to be related to this section of Syntaxes/SCSS.tmLanguage:

<dict>
  <key>include</key>
  <string>#option</string>
</dict>

I would like to know if someone else is having this issue before digging deeper.

MarioRicalde commented 12 years ago

I get the same errors on Console. I just noticed them. I didn't note them because I haven't used TextMate in some time.

This happened in TextMate 2

If you want to dig deeper, please be my guest. I really appreciate any kind of help from the community when working with this Bundle.

Please let me know of your findings :)

elitalon commented 12 years ago

I just checked this issue in another computer and the error did not appear. The bundle in that TextMate installation is at commit df7f4c3, a few commits before current HEAD (1531754).

I'll git blame the files involved and try to find the culprit

elitalon commented 12 years ago

git bisect revealed that 835f503c75 introduced the error in Syntaxes/SCSS.tmLanguage. It's something involved with the new grammar, so I have to investigate further

Andrew565 commented 12 years ago

I just updated my bundle and found that I am experiencing this same problem. The bundle editor shows everything is in there, but the menu is empty.

stereoscott commented 12 years ago

I have this problem, too. I am using TextMate 1.5.10 (1623) and the current master bf4f3b26736db771a4b99e54c69d9ca1ee8f1fdd . I wonder if this has anything to do with disabling other bundles? I only mention this because a google search brought up an old thread about some syntaxes relying on others (http://lists.macromates.com/textmate/2006-June/010888.html)

Edit: I traced this back and 1a448704ec is the last working revision for me, whereas the following commit d50740ba37 breaks the bundle for me.