Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 362093
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T13:12:43+00:00 2026-05-12T13:12:43+00:00

In Eclipse’s Package Explorer, let’s say I have a list of packages like this:

  • 0

In Eclipse’s “Package Explorer”, let’s say I have a list of packages like this:

  • com.dog
  • com.cat
  • com.frog

If I want to rename the “com” part of the package structure to be “animal”, then I could select each package (above) and perform a refactor > rename.

If I have many packages that start with “com”, that process may take a while. Is there an easy way to rename the “com” package name without having to individually rename each package in the Package Explorer? or removing those packages from the build path before renaming?

I tried going to the “Navigator” pane where it displays the folders in a tree structure but I am not given the rename capability.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T13:12:43+00:00Added an answer on May 12, 2026 at 1:12 pm

    By default empty parent packages are hidden in the package explorer, if you modify the Filters… in the Package Explorer to uncheck Empty Parent Packages (third from top in second screenshot) you’ll be able to see the empty packages.

    package explorer filters

    filters view
    (source: eclipse.org)

    You can then rename the com package and check the Rename subpackages option to force all child packages to be renamed.

    rename package
    (source: eclipse.org)

    Then when you’re done reapply the filter to hide all those empty packages again.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Eclipse is really bugging me with this. I have an Android project that is
Eclipse, by default, hides files that begin with . in the Package Explorer, Navigator,
Eclipse refuses to build my Android project. In the package explorer, the project root
Eclipse has something like this showing you the outlines of method declarations, imports, variables...
Eclipse project, I have Subversion set to ignore the bin directory, and also within
Eclipse Helios periodically starts running a job which displays Computing additional info. During this
Eclipse was running fine last night, but this morning I tried starting it up
Eclipse 3.4[.x] - also known as Ganymede - comes with this new mechanism of
Eclipse STS is reporting I have problem with my spring project. It's a fresh
Eclipse (at least the JDT package) comes with a pretty decent XML editor. Flash

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.