Community
Participate
Working Groups
Created attachment 157934 [details] patch for DLTK 2.0 This method always calls: SourceParserManager.getInstance().getSourceParser(null, natureID); with 'null' instead of the project of the currently parsed module. This is needed further down the stack for a propper functionality of a selector: IDLTKContributionSelector selector = getSelector(natureId); return selector.select(contributions, project); Attached you have the patch for this bug for DLTK 2.0 HEAD. I will attach in a few minutes another patch for DLTK 1.0 maintenance.
Created attachment 157943 [details] patch for DLTK 1.0 Here you go with the patch for the R1_0_maintenance branch.
Of course, the existing method in DLTKLanguageManager can remain for backward compatibility: public static ISourceParser getSourceParser(String natureID) { return SourceParserManager.getInstance() .getSourceParser(null, natureID); } The patch eliminates it, but there might be other projects that need it. Gabriel
Hi Gabriel, I've committed the changes to HEAD. Do you think it makes sense to port the fix to 1.0-branch? Thank you, Alex
For us it does, since we (XQDT) will only later switch to DLTK 2.0. Thanks! Gabriel
1.0.2 RC3 is uploading to eclipse.org now.