Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
andrewL-avlq opened this issue Mar 13, 2024 · 3 comments
Closed
Labels

Comments

@andrewL-avlq
Copy link
Contributor

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
Copy link
Member

sebthom commented Mar 13, 2024

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
Copy link
Contributor Author

That fixes it, thanks.

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

@sebthom
Copy link
Member

sebthom commented Mar 14, 2024

I just released 0.11.0

@sebthom sebthom closed this as completed Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants