IntelliJ IDEA

IntelliJ IDEA Remove Project Example

1. Introduction

In this post, we feature a comprehensive Example on IntelliJ IDEA Remove Project. IntelliJ IDEA is a Java integrated development environment (IDE) developed by JetBrains (formerly known as IntelliJ). It is one of the leading IDE softwares that provides comprehensive facilities to the programmer fraternity for software development. It has number of features e.g. code completion, refactoring, code compilation and execution, navigation among project files, integration with version control systems like Git, Mercurial, Perforce, and SVN etc. These features go a long way in boosting the productivity of developers by saving a lot of their time and minimizing the manual errors while refactoring the code.

But, sometimes, a common feature like removing an unwanted project forces the users to check all the menu options and search Internet for the way out. In this article, I am going to help you in figuring out exactly the same.

2. Technologies used

  • IntelliJ IDEA 14.0.3

3. Create a simple project

Let’s first see how can we create a new project. There are mainly 2 ways.  Firstly, we can create it from the Welcome screen. Secondly, this can be done from File menu by choosing New Project. Here, I’ll follow the Welcome screen option and click on Create New Project.

IntelliJ IDEA Remove Project - sample project in IntelliJ IDEA
Create sample project in IntelliJ IDEA

IntelliJ IDEA is quite a versatile IDE and it provides plethora of options for creating various types of projects. As these options deserve to be covered separately, I’ll simply choose the Maven quickstart archetype for creating our sample project. If you are wandering about what archetype means here, it is a Maven project templating toolkit that creates a standard structure of a project for ease of development. 

IntelliJ IDEA Remove Project - new project from Maven quickstart archetype
Creating new project from Maven quickstart archetype

Click Next button and enter Maven GAV coordinate i.e. GroupId, ArtifactId and Version of your project as shown below.

IntelliJ IDEA Remove Project - Enter Maven GAV Coordinates
Enter Maven GAV Coordinates

Now, enter the project name and specify the location where you want the project files to reside.

IntelliJ IDEA Remove Project - Finish creating a new project
Finish creating a new project

Press Finish button.

4. Removing a project from IDE

As we have created a new project, it’s time to see how this can now be removed. The below image shows the project Sample_1 that we created in the previous step.

IntelliJ IDEA Remove Project - Sample project
Sample project in IntelliJ IDEA

To remove this project, first of all, you need to close this project by going to the File menu. Choose Close Project.

IntelliJ IDEA Remove Project - Closing a project using the File menu
Closing a project using the File menu

You will see the Welcome screen of IntelliJ IDEA after closing the project. Here, you need to highlight the project that you want to remove. You can do this by using the Up/Down arrow keys or by simply using your mouse.

IntelliJ IDEA Remove Project - Highlighted project
Highlighted project in IntelliJ IDEA

Now, press DEL button (In previous versions, there was an “X” icon for doing the same action). A confirmation dialog will appear and you will need to choose either OK or Cancel.

IntelliJ IDEA Remove Project - Confirmation dialog for removing the project
Confirmation dialog for removing the project

On pressing OK, the desired project gets removed from the list of recent projects.

IntelliJ IDEA Remove Project - Project is removed from list of recent projects
Project is removed from list of recent projects

5. Removing a project from the disk

The above steps won’t remove the physical project files from your computer. You can delete these from disk using your favorite file manager (e.g. Explorer on Windows).

6. Summary

In the above example, I have demonstrated an IntelliJ IDEA Remove Project Example. Unlike many other powerful features of this IDE, it is not intuitive but by using the above steps, you will be able to achieve it quite easily.

Vishwas Gupta

Vishwas has 14 years of experience in requirement gathering and analysis, architectural, component and interface design and development of web-based applications in multiple domains. With vast exposure to variety of technologies including Angular, Java, JEE, Spring, Hibernate, Web Services etc., he is currently working as Technical Architect in Location Intelligence domain. He holds a Master degree in Electronics and Communication Engineering from Malaviya National Institute of Technology, Jaipur (India). He is TOGAF 9.1 Certified Enterprise Architect, BEA 8.1 Certified System Administrator and Sun Certified Java Programmer.
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Back to top button