Community
Participate
Working Groups
Build ID: M20070212-1330 Steps To Reproduce: 1.Create a Ruby Project 2.Edit the .project file to include a nature before the Ruby nature 3.Inspect "Interpreter Libraries" node in "Script Explorer". Note that it is marked "[unbound]", and doesn't have any children. More information: I tracked this down to "InterpreterContainerInitializer.getNatureFromProject()" looking for the first enabled nature. I believe that method should also check if the nature is a script nature. I fixed the issue by changing line InterpreterContainerInitializer:123 to <pre> if (proj.isNatureEnabled(natures[i]) && DLTKLanguageManager.isScriptNature(natures[i])) </pre> and adding the following to DLTKLanguageManager <pre> public static boolean isScriptNature(String natureId) { return toolkits.containsKey(natureId); } </pre>
Mike, please apply (Andrey is overbooked with builders)
In fact, there should be only one line: return DLTKLanguageManager.getLanguageToolkit(project).getNatureID(); :) I've fixed it, thanks.
bulk change: this bug was fixed in DLTK 0.9