eclipse-tm4e / tm4e

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

Registering local grammar injection in plugin.xml no longer works. #733

Closed andrewL-avlq closed 8 months ago

andrewL-avlq commented 8 months ago

Injection bindings in plugin.xml of the form

  <injection
        scopeName="source.foo"
        injectTo="source.bar">
  </injection>

no longer seem to work, but require the plugin id to be present, like

  <injection
        scopeName="source.foo"
        injectTo="source.bar@plugin.id">
  </injection>

even when both grammars are defined in the current plugin. Is this an intentional feature change? Or a regression?

sebthom commented 8 months ago

this is a regression, plugin developers should not have to deal with the internal scope names. please try the latest snapshot from https://download.eclipse.org/tm4e/snapshots/

andrewL-avlq commented 8 months ago

That fixes it, thanks.

Any idea on what timescale the fix will be available in a release?

sebthom commented 8 months ago

I just released 0.11.0