DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
What's in store for DevOps in 2023? Hear from the experts in our "DZone 2023 Preview: DevOps Edition" on Fri, Jan 27!
Save your seat
  1. DZone
  2. Coding
  3. Tools
  4. Using Favorites in IntelliJ IDEA to Quickly Access Files

Using Favorites in IntelliJ IDEA to Quickly Access Files

Hubert Klein Ikkink user avatar by
Hubert Klein Ikkink
·
Mar. 04, 13 · Interview
Like (0)
Save
Tweet
Share
3.78K Views

Join the DZone community and get the full member experience.

Join For Free

 

Working with code in IntelliJ IDEA is a real joy. To quickly access files we change often we can add those files to Favorites tool window. Once a file is placed in Favorites we can use the shortcut key Cmd + 2 (Alt + 2 for Windows/Linux) to open the tool window and select a file.

To add a file in the Favorites tool window we have several options. We can right-click on the tab of the open file. IntelliJ IDEA shows a popup menu and we can select the option Add to Favorites. Then we can choose to add the file to an existing favorite list or create a new one. The default list has the same name as the project. In the following screenshot we see the name of the project is spring-config, so the default favorite list is also called spring-config:


We select the default list to add our file. If we open the Favorites tool window we can see the file is now added to the favorite list:


We can also use a shortcut key combination Option + Shift + F (Alt + Shift + F for Windows/Linux) if we have a file open. We see a dialog window where we can choose if we want to place the file in an existing favorite list, which by default is the name of the project, or we can choose to create a new list to store files:


Let's create a new favorite list and select the option Add to New Favorites List. IntelliJ IDEA show a new dialog window where we can fill in the name of our list:


If we now look at our Favorites tool window we can see the new list and we have a file in the default spring-config list and in the Configuration Files list:


Finally we can also use the mouse to move a file from the Project tool window to a favorite list. We can move the file to any favorite list and it will be part of that list:


IntelliJ IDEA 12.0.4 is used for this blog post.

intellij

Published at DZone with permission of Hubert Klein Ikkink, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Public Cloud-to-Cloud Repatriation Trend
  • Dockerizing an Ansible Playbook, Part 1
  • Architecture and Code Design, Pt. 2: Polyglot Persistence Insights To Use Today and in the Upcoming Years
  • Efficiently Computing Permissions at Scale: Our Engineering Approach

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: