Get a list of projects currently opened in IDEA

Hi,

I want to get a list of all the projects that are currently open in my IDEA
?
Till now I was able to see just one project in one IDEA frame, is it
possible to have mulitple projects in one IDEA frame?

~Priya


2 comments

Hello Priya,

P> I want to get a list of all the projects that are currently open in
P> my IDEA?

ProjectManager.getInstance().getOpenProjects()

This isn't too hard to find without asking in the forum, is it?

P> Till now I was able to see just one project in one IDEA frame, is it
P> possible to have mulitple projects in one IDEA frame?

A single IDEA instance can have multiple frames, and each frame can have
only one project.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

Yeah, it was pretty simple one. I did get the answer after posting it, but
justed wanted to confirm if we can have multiple projects open in an IDEA
frame.
I am using IDEA for the first time as an IDE as well as for plugin
development, so I might be asking such simple questions.
Will take care from next time

~Priya

"Dmitry Jemerov (JetBrains)" <yole@jetbrains.com> wrote in message
news:83ca25fd262fb68c800565e904990@news.intellij.net...

Hello Priya,

>

P> I want to get a list of all the projects that are currently open in
P> my IDEA?

>

ProjectManager.getInstance().getOpenProjects()

>

This isn't too hard to find without asking in the forum, is it?

>

P> Till now I was able to see just one project in one IDEA frame, is it
P> possible to have mulitple projects in one IDEA frame?

>

A single IDEA instance can have multiple frames, and each frame can have
only one project.

>

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"

>
>


0

Please sign in to leave a comment.