Sublime Forum

Custom CSS syntax files don't get indexed -no symbols either

#1

My CSS files are not getting indexed and the symbols are not being extracted.

I’m presume that this problem is due to the CSS files I’m writing failing some parsing process. Can anyone confirm?

Basically I am writing an ‘extended’ CSS syntax in my files. It includes nested rules and the like. Similar to Sass (*.scss) but it still has a CSS file extension. These CSS files are later processed to ‘normal’ CSS (via PostCSS).

The CSS files contain this kind of rule:

.thing { .nested-rule & { width: 50%; } }

Will this kind of syntax ‘break’ Sublime from actually indexing the file? I can understand it having difficulty with the symbols but I am surprised it fails to index the files themselves.

Would love to know for sure, and if there is any solution?

0 Likes