Sublime Forum

All CSS class names in Symbol navigation have text "CSS: "

#1

Eg press super+R, type the name of a css class .gallery, and I see something like “.galleryCSS: .slideshowCSS: a”

I was going to post asking how to fix it, but in the process figured it out:

For some reason the CSS symbol definition (Packages/CSS/Symbol List.tmPreferences) does this intentionally. I don’t know if I have old or buggy config that I should update, but I just manually removed the undesired text (leaving the space). (commented out text is original, following line is my update)

	<dict>
		<key>showInSymbolList</key>
		<integer>1</integer>
		<key>symbolTransformation</key>
		<!-- <string>s/^\s*/CSS: /; s/\s+/ /g</string> -->
		<string>s/^\s*/ /; s/\s+/ /g</string>
	</dict>
0 Likes