eclipse-tm4e / tm4e

TextMate support in Eclipse IDE
https://projects.eclipse.org/projects/technology.tm4e
Eclipse Public License 2.0
93 stars 56 forks source link

feat: Lookup grammars with "langpck." scope name prefix if not found #602

Closed sebthom closed 1 year ago

sebthom commented 1 year ago

The tm4e language pack plugin registers all languages with a langpck. scope name prefix. If a grammar references, for example, scope.python, the grammar registered by the language pack will not be found, resulting in WARNING: CANNOT find grammar for scopeName [source.python]. With this commit the language will automatically be looked up via langpck.source.python as a fallback.