how to open a project?
Answered
ProjectManager.getInstance ().open("/someDir/aProject.ipr");
doesn't exist. Is there another way?
Alain
Please sign in to leave a comment.
Alain Ravet wrote:
You can use
ProjectManagerEx pm = ProjectManagerEx.getInstanceEx();
Project p = pm.loadProject("/someDir/aProject.ipr");
pm.openProject(p);
HTH,
Sascha
Sascha
Where does
ProjectManagerEx
come from?
Alain
Alain Ravet wrote:
The almighty idea.jar ;)
Sascha
>>Where does ProjectManagerEx come from?
>>
>>
>The almighty idea.jar ;)
>
>
Thanks.
Posted:
move ProjectManagerEx to the openAPI
http://www.jetbrains.net/jira/browse/IDEA-3523
Alain
>>Where does
>>
>> ProjectManagerEx
>>
>>come from?
So it's not OPEN API but CLOSED API :).
Maybe there should be a jetbrains.intellij.closedapi newsgroup :), since
without closed api it's not possible to do much (see also thread about
'Javascript language plugin sources').
Ahmed.
>
, with funny hats and secret handshakes ?
:)
Alain
Ahmed Mohombe wrote:
IMHO any API that isn't obfuscated can be considered "open". Personally I don't care if
something is inside openapi.jar or not if it's useful ;-). The only problem is that
sometimes guessing parameter meanings can be hard, but usually you'll get an answer in here.
Sascha
https://github.com/liang0-0/custom-editor/tree/master/src/com/lang/project