SublimeText / PackageDev

Tools to ease the creation of snippets, syntax definitions, etc. for Sublime Text.
MIT License
436 stars 83 forks source link

Themes and Color Schemes are missing color highlighting #345

Closed AmjadHD closed 3 years ago

AmjadHD commented 3 years ago

image

no such context CSS.sublime-syntax#color-adjuster-functions at line 481 column 20 of Packages/PackageDev/Package/Sublime Text Color Scheme/Sublime Text Color Scheme.sublime-syntax
no such context CSS.sublime-syntax#color-values at line 403 column 24 of Packages/PackageDev/Package/Sublime Text Color Scheme/Sublime Text Color Scheme.sublime-syntax
no such context CSS.sublime-syntax#numeric-constants at line 404 column 24 of Packages/PackageDev/Package/Sublime Text Color Scheme/Sublime Text Color Scheme.sublime-syntax
no such context CSS.sublime-syntax#color-values at line 369 column 24 of Packages/PackageDev/Package/Sublime Text Color Scheme/Sublime Text Color Scheme.sublime-syntax
no such context CSS.sublime-syntax#function-arguments-common at line 421 column 24 of Packages/PackageDev/Package/Sublime Text Color Scheme/Sublime Text Color Scheme.sublime-syntax
no such context CSS.sublime-syntax#color-values at line 422 column 24 of Packages/PackageDev/Package/Sublime Text Color Scheme/Sublime Text Color Scheme.sublime-syntax
no such context CSS.sublime-syntax#percentage-constants at line 423 column 24 of Packages/PackageDev/Package/Sublime Text Color Scheme/Sublime Text Color Scheme.sublime-syntax
no such context CSS.sublime-syntax#color-values at line 369 column 24 of Packages/PackageDev/Package/Sublime Text Color Scheme/Sublime Text Color Scheme.sublime-syntax

ST: 4107 PD: 3.3.1

FichteFoll commented 3 years ago

Do you have an override for CSS.sublime-syntax? PD relies on the version bundled with ST.

AmjadHD commented 3 years ago

No. I deleted the cache for the CSS and PackageDev packages. The contexts do exist in CSS.sublime-syntax.

AmjadHD commented 3 years ago

I think this is sublime's issue, the syntax highlighting was, for a moment, correct but then it failed.

FichteFoll commented 3 years ago

Can you show me the results of sublime.find_resources("CSS.sublime-syntax") in the console? Do you have the CSS3 package installed? Can you reproduce in safe mode (just install PC and PD there)?

AmjadHD commented 3 years ago

I reinstalled windows, I don't experience this anymore.

Do you have the CSS3 package installed?

No

Can you reproduce in safe mode (just install PC and PD there)?

I didn't try back then.