JetBrains / intellij-platform-plugin-template

Template repository for creating plugins for IntelliJ Platform
Apache License 2.0
3.05k stars 618 forks source link

Is there an API that can open a new project #323

Closed 75ACOL closed 1 year ago

75ACOL commented 1 year ago

I'm working on a plug-in, trying to open a new project in some way. Does idea provide such an API

fredysierra commented 1 year ago

Here you might find an example https://github.com/Backbase/backbase-services-toolkit/blob/main/src/main/kotlin/com/backbase/bst/wizard/BackbaseMavenModuleBuilder.kt#L39

hsz commented 1 year ago

For non-template related questions, please see Getting Help page.

75ACOL commented 1 year ago

Thank you for your answer. I'm bothering you, right. here is answer ProjectManager.getInstance().loadAndOpenProject(projectPath);