Old project don't show current windows in Intellij IDEA - intellij-idea

When i open "test" project then "Loop" project gone from window. But I want see my all project in one windows.

From the docs:
The first thing you'll notice when launching IntelliJ IDEA is that it has no workspace concept. This means that you can work with only one project at a time.
It may well be the case that you don't need to switch projects in IntelliJ, since you could create an IntelliJ project which contains multiple modules. However, if you are dealing with distinct projects here then it is possible to switch between currently open projects in IntelliJ using keystrokes or a menu. From the docs:
To switch between the currently opened projects, do one of the following
On the main menu, choose Window | Next Project Window/Previous Project Window.
Press โŒ˜ or โ‡งโŒ˜.
On the main menu, point to Window, and then select the name of the desired project.

For what I know, you can't get multiple projects into one window with JetStorm IDEs.
You can make them in multiple windows with different projects. Or, you can just make a project and add the projects in it.

IntelliJ can indeed only open one project at a time - but you can easily open (and alt-tab) between projects.
If you have 2 projects that are dependent or closely related, you can look at a form of project modularisation.
A popular framework is maven, based on the project object model (pom.xml) specification.
https://maven.apache.org/guides/introduction/introduction-to-the-pom.html
When you have a multi-module maven project in intellij, you can view all modules in the project view (tree based configuration).

Related

Equivalent of having 2 projects open in my WebStorm workspace?

I open a project, but want to create a module to reference in WebStorm, (mostly so I can do work in 2 projects instead of having 2+ instance of WebStorm open).
In IntelliJ Ultimate or whatnot, it has a modules button. It Kinda looks like modules does not exist for me, or at least I have not see anything.
I have 2 folders which are siblings to each other representing the 2 separate projects I wanted to open in 1 instance of WebStorm.
Where can I find this information for WebStorm?
A lot of the googling was talking about modules but I didn't see that option, and I believe I noticed some posts mentioning this is not a thing in WebStorm.
Thoughts? Guidance?
WebStorm/PhpStorm project consists of a single module only (WEB_MODULE type).
WebStorm cannot open more than one project in single frame. https://youtrack.jetbrains.com/issue/WEB-7968 -- watch this ticket (star/vote/comment) to get notified on any progress.
At the same time it's possible in PhpStorm: https://www.jetbrains.com/help/phpstorm/opening-multiple-projects.html#d197136e31
But it's still will not be full "two separate projects with separate settings" AFAIK. It's more of a "attaching 2nd project so you can see and edit those files in the same frame".
Question is: why exactly you need this? To access files of a second project? If so -- just add such folder(s) as Additional Content Root -- it will be listed as another node in the Project View panel and files will be treated as part of the project itself.
https://www.jetbrains.com/help/phpstorm/configuring-content-roots.html
in Webstrom 2019.2 is it now avilable to open attached project to the current project.
Open multiple projects in one window
When you have a project opened in WebStorm and want to open another one, you can now attach this second project to the opened one, so that you can see both of them in the same IDE window. If you want to close the attached project, right-click its root in the Project view and select Remove from Project View.
https://www.jetbrains.com/webstorm/whatsnew/

Is possible open the same project on two instances of Intellij IDE

I have a distributed project and I need debug two nodes of my app on the same time. For this I wish open two instances of Intellij, it is possible ?
just open each one from different folder level.
For example: Project A has 2 folders (one inside another) and inside the 2nd folder there is code. Then open one instance from folder 1 and another instance from folder 2.
Open each instance by choosing open in new window..simple.
There is this topic about starting two instances of IntelliJ Start two instances of IntelliJ IDE
It is not possible with one instance from my experience
Just for new people who navigate here. You could just drag & drop the code you want outside android studio.
I found this really helpfull:
You can split the editor view vertically/horizontally, this will
display the same file in both splits, then you can drag one of the
tabs outside of the IDE to create a float editor window.
Another way to open multiple editors for the same file is to select
the file in the Project view and press Shift+Enter.
Source: Serge Baranov response in this thread
I don't think so. One easy thing you can do is open two different major versions at the same time (e.g. 2015 and 2016) or if you have Ultimate edition, you can also install community edition and have both of those open at the same time. Or if you're using community edition, you could install a trail of ultimate just this one time :)
Of course the downside to the second approach is that you may not have some plugins you need for your project.

Grouping modules in Intellij IDEA does not affect Project tab

I have a multi module Java project in Intellij IDEA 15.0.2
I just tried to group modules to organize them but in the Project tab I have flat view of my project and there in no change after all!!!
My modules just grouped inside the Project Structure panel.
Is there any way to show modules as group view inside the Project tab?
Finally I realized that this is not applicable using current versions of Intellij IDEA.

How do I set the active selected project in Eclipse plugin

I've developed an Eclipse plugin which allows users to add projects.
I'm looking for a way to automatically select (in the Navigator and Project Explorer) the project that was just created. As it is now, if users create a new project, the selection in Navigator and in Project Explorer are still set to the old project that was selected before we added this new project, while in Package Explorer behaviour is as expected - the new project is chosen.
The simplest way to do this is to call
BasicNewResourceWizard.selectAndReveal(resource, window);
where resource is any IResource derived object (such as an IProject)
and window is the workbench window.
This call is usually included at the end the creation wizard (but can be called anytime).
BasicNewResourceWizard is in the org.eclipse.ui.wizards.newresource package in the org.eclipse.ui.ide plugin.

How to display all projects in the Project View in PHPStorm?

In eclipse / Zend Studio the project manager displays per default all projects of the workspace (or of one of its Working Sets, if selected):
Now I'm looking for the according configuration in PHPStorm, that shows only one project per window:
How can I see all my projects in the project view of the same window?
PhpStorm does not support multiple independent projects in one window / frame:
https://youtrack.jetbrains.com/issue/WI-15187 -- star/vote/comment to get notified on progress.
But ... you can list files from another project there (in Project View panel). If that is good enough, then just go to Settings | Directories and add desired folder as an Additional Content Root. P.S. This also means that the setting from current project will be applied to all content roots.