Could you please clarify what exactly you would like to accomplish? ChooseByNameContributor is not intended to be used by anything other than the Goto Class dialog.
If by "project" you actually mean "project" (something which is open in an IntelliJ IDEA frame) and not a Maven project or an Eclipse project, then IntelliJ IDEA is not going to help you. All of the indexes and PSI structures work in the context of a single project. You can probably try to write a contributor that will somehow find the elements in other projects and show them in the active project, but that's not the way the IntelliJ IDEA API or UI is designed to be used.
The intended usage is to add all of the dependent code as modules to a single project.
Could you please clarify what exactly you would like to accomplish? ChooseByNameContributor is not intended to be used by anything other than the Goto Class dialog.
Hi Dmitry,
well I am looking to include items from dep projects in goto shortlist.
let's say, current project uses symbols defined in other projects. Goto would open up a file in that other project where the symbol is defined.
Thank you..
If by "project" you actually mean "project" (something which is open in an IntelliJ IDEA frame) and not a Maven project or an Eclipse project, then IntelliJ IDEA is not going to help you. All of the indexes and PSI structures work in the context of a single project. You can probably try to write a contributor that will somehow find the elements in other projects and show them in the active project, but that's not the way the IntelliJ IDEA API or UI is designed to be used.
The intended usage is to add all of the dependent code as modules to a single project.
> The intended usage is to add all of the dependent code as modules to a single project.
This would be the ideal solution, yes.
This plugin is for a language for which module type & SDK do not appear in project settings dialog.
How can I add module type & SDK?
ok found this topic:
https://devnet.jetbrains.com/message/5481090#5481090
will study it then post questions there.
Thank you Dmitry!