Community
Participate
Working Groups
Build ID: CVS Head Steps To Reproduce: 1. Contribute to org.eclipse.wst.jsdt.core.inferrenceSupport 2. Notice that it's never loaded More information: The InferrenceManager.TAG_INFERENGINE still points to the old element name "inferenceManager", but should be "inferenceProvider" I'm also attaching an updated extension point schema that tells users more detailled what the extension point expects.
Created attachment 88798 [details] Updated extension point schema this makes the inferenceProvider's class attribute a required element that says that contributions must implement the org.eclipse.wst.jsdt.internal.infer.InferrenceProvider
I have fixed the name, but havent updated the schema yet. We are still actively working on this extension point, and hope to have it relatively stable in the next week for the M5 milestone. We will be doing refactoring so that the extension does not use internal classes.
Not depending on internal classes would be a great thing. Right now I'm suffering from the method InferrenceProvider.applysTo(CompilationUnitDeclaration scriptFile); which I have to implement as InferrenceProvider, but that forces me to use CompilationUnitDeclaration that is exported to plug-in org.eclipse.wst.jsdt.compiler.tool only.
Applied patch to schema.