IntelliJ - Delete list of previously opened projects? - intellij-idea

Is there a way in IntelliJ IDEA to delete previously used projects? I am referring to a list on the main page when the application starts. Please look at the image.

File -> Open Recent -> Clear List
Edit: For versions of 2016+ this is no longer available. Use This solution: File -> Open Recent -> Manage Recent Projects / Startup Dialog, ctrl+a (select multiple with ctrl+click) -> del

File -> Open Recent -> Manage Projects .... CTRL-A then Delete to remove all, or hit the X to remove individual.
IntelliJ IDEA 2016.2.5

Locate config\options\other.xml file and manually edit the list of recent projects inside the XML under <component name="RecentProjectsManager"> node.
There is no way to remove individual projects from the UI. See Dan's reply otherwise.

In IntelliJ15, you can remove them from welcome screen, works ctrl+a and then remove all of them.

In MAC, ~/Library/Preferences/IdeaIC14/options/recentProjects.xml is the file to easily edit the list when you do not want to lose everything. (It is for IdeaIC14).

In idea 2022 for MAC it is located under ~/Library/Application Support/JetBrains/IntelliJIdea2022.3/options

In Idea 2019 it is located in Idea Colder\config\options\recentProjects.xml

Just figured, I am using Idea Community edition 13.1.1 and the cleanest and easiest way is to go to File > Reopen project > Clear List. I just stumbled upon this menu today. I always thought that is just to clear the latest projects from the view inside the IDE and just realized it is clearing the projects from the main Dialog too.
-VRS

Close all projects till you reach the welcome screen. Right click on the project and choose Remove Selected from Welcome Screen. Or click on the cross arrow on the upper right corner of the selected project.

idea22 on windows10 system, recent projects on the path C:\Users\****\AppData\Roaming\JetBrains\IntelliJIdea2022.3\options\recentProjects.xml, I delete all the <entry><\entry> labels

Related

How to exit from "Edit as Table" mode in PhpStorm?

When editing a CSV file in PhpStorm, I enabled "Edit as Table" and can not find how to close this mode. I do not know how to close the "Data" tab.
Help me please!
Linux Mint, Phpstorm v.2018.1.6
The "Edit as Table" creates a split pane. Assuming you dont have any other panes open, you can close them all by:
ctrl+shift+a
Search for Unsplit all
Ta-da
While still destructive (if you use multiple panes), it doesnt go full scorched earth policy like #jocull recommends.
I had a similar issue in WebStorm and reached this thread. After painful searching I found these buttons to toggle between views in the bottom left:
I looked all over but couldn't find a way to do this. In the end it was bugging me so much that I just dropped the Jetbrains/IntelliJ project files and recreated them. This is a very heavy hammer for this problem.
If you have a Git repository this is usually as simple as...
Close your project if it is open
git clean -idx and select the project files to remove (carefully, if you have stuff you don't want to clean out! this deletes things!)
Reopen the project and let it regenerate the project files from scratch
Tada! No more table editor mode. You may lose debugging profiles or other project specific settings, and YYMV :)

Save Current View in intelliJ IDEA

I have several files open in a split view in the intelliJ IDEA. Is there a way to save this setup (ie: which files are open and witch side of the split view they are on)?
I am hoping to work on some other aspects of the program for now, but will need to return to this view/setup periodically.
I have looked under Window | Editor Tabs but could not find anything there.
As pointed out by CrazyCoder in the comments, this feature does not yet exist in intelliJ. There is a related feature request here:
https://youtrack.jetbrains.com/issue/IDEA-12130

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.

How to force IntelliJ IDEA to show welcome screen again?

IntelliJ has a very good welcome screen, but after first use, when I open IntelliJ the next time, it will open my last opened project directly. But what if I want to revisit the welcome screen? Is there a way to do it without restarting IntelliJ?
I am using IntelliJ IDEA 14.
https://www.jetbrains.com/idea/help/welcome-screen.html
I'm using not IntelliJ but WebStorm however, maybe same settings.
how about this?
[File] - [Settings] - [Appearance & Behavior] - [System Settings]
uncheck "Reopen last project on startup"
Close all open project windows (File | Close Project).
Sometimes I want to come back to the Welcome screen only to see the list of recent projects with a little more details than a simple list. However, I don't want to close the open project.
If that's your case you can to this in the version 2016.3:
File -> Open Recent -> Manage Projects...
UPDATE 1
#Gagan made a comment (below) asking about how to import a project this with this solution.
If I've understood the question correctly, you can do this either by directly opening a project (Open...) or by creating a new one from Existing Sources or from Version Control, as is show below:
In both cases, IntelliJ will ask you to open in the same window (which will close you current project) or in a new window (the current and the new one stay open), as show below:
Please, let us know if it works for you!
For IntelliJ 2020.3 use:
`File -> Settings -> Appearance & Behavior -> System Settings and uncheck Reopen projects on startup.
Select File -> Close project. This will cause the welcome screen to appear.
I saw it in the learning course
To return to the welcome screen, just close the project window. Alternatively, you can select File | Close Project from the main menu. Also, you can use the File menu to open or create new projects. By default, the Learn tool window is hidden. You can open it by selecting Help | Learn IDE Features from the main menu.

How to delete projects in IntelliJ 12?

I created some dummy projects. Now I don't see any way to delete the projects that I don't want. Per this suggestion I can delete files, the project is going away but there is traces of it still available. For example, on the Recent Projects you can still see the name of the project you just deleted. So I am thinking there should be another (and really easy way) to delete a project.
Press the Del (or fn and delete) key to delete a project from the Recent Projects list.
Vote for this issue to make it more obvious and user friendly.
close project first, or until this dialog appear, then hover your mouse on project you want to delete from history, then press Del
you'll be asked for confirmation
On occasion, even with deletion of the project, some tidbits are left behind in the following Windows paths:
C:\Users\username.domain\.IntelliJIdea2017.1\system\compiler
C:\Users\username.domain\.IntelliJIdea2017.1\system\compile-server
C:\Users\username.domain\.IntelliJIdea2017.1\system\frameworks\detection
C:\Users\username.domain\.IntelliJIdea2017.1\system\conversion
C:\Users\username.domain\.IntelliJIdea2017.1\config\componentVersions
C:\Users\username.domain\.IntelliJIdea2017.1\config\tasks
This has been proven to be problematic - for example, if a new project is created using a previously deleted project name, it will create the project with data stored in the above paths, at least, this has been my experience.
The only way to TRULY delete the project is to get rid of all the garbage left behind in the aforementioned folders. I would suggest using Search Everything to find more tidbits left in the users temp folders.
In case your project is imported as a module, you can also go to File --> Project Structure and click 'Modules' in the left section. Now you can hit the minus button to remote the module from the project.
You can also click File -> Open project ...
When a file menu appears, you can right click the unwanted project folder and select Delete.
Just figured, I am using Idea Community edition 13.1.1 and the cleanest and easiest way is to go to File > Reopen project > Clear List. I just stumbled upon this menu today. I always thought that is just to clear the latest projects from the view inside the IDE and just realized it is clearing the projects from the main Dialog too.
-VRS
Also, in IDEA 13.x.x you can go File-> Close Project and you'll land in the window with Recent Projects tab. There pressing Del of Fn + Del on selected project helps .
On OSX Mountain Lion and IDEA 14, with the project open and focused, you can go to file -> close project, then delete the project from your filesystem. This removed all references to the project.
Note that if the project you are deleting is the only project open, closing it will show the welcome dialog, which will still show the project. Deleting the project manually from within your operating system is the next step, and the project will still appear in the welcome dialog until it is closed and shown again, usually by opening another project from the list, or quitting and restarting IDEA.
In my case, I had to delete home/.IntelliJIdea2017.2/config/options/recentProjects.xml
. In my file system (Ubuntu) this file appeared for some weird reason not writable and hold a list of projects I couldn't get rid of. Deleting this file and restarting will force Intellij IDEA to create a new one with an empty list of projects.
All you have to do is go to file - close project - to avoid seeing them again in the menu list and then you delete them from the projects directory.