wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse Project View Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse Project View" Watch "Eclipse Project View" New topic
Author

Eclipse Project View

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

This may be a pointless question since it doesn't effect the way eclipse performs or anything. I'm just tired of looking at them all.
Is there a way to see only the project you are working on in the Package Explorer? I can close projects I am not working on, but I still see the long list of them in the window. I would rather just see the one I am working on.
Thanks.


GenRocket - Experts at Building Test Data
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
The simplest way is to simply delete them.
You can later add them again as needed. Eclipse should pick up your settings from the existing project files I think.
If you want more you'll have to find a plugin that creates a new view with only the currently active project (if such a thing exists).


42
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Originally posted by Jeroen Wenting:
The simplest way is to simply delete them.
You can later add them again as needed. Eclipse should pick up your settings from the existing project files I think.
If you want more you'll have to find a plugin that creates a new view with only the currently active project (if such a thing exists).

Thanks. I forgot I could delete the project without deleting the actual content and directories.
Graham VMead
Ranch Hand

Joined: Sep 22, 2003
Posts: 154
Greg,
Another way of doing it is to select the drop down arrow in the package explorer title bar - select working set - set up a new working set with just the projects you are interested in - select this set.
Haven't found a way of defaulting to this set at start up of the perspective(even if you save it as a custom one) but there may be a way.
Every time you go to the Package explorer select your working set and all the others are hidden.
Seems a bit less of an overkill than deleting and reinserting projects you don't want.
HTH Graham Mead
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Originally posted by Graham VMead:
Greg,
Another way of doing it is to select the drop down arrow in the package explorer title bar - select working set - set up a new working set with just the projects you are interested in - select this set.
Haven't found a way of defaulting to this set at start up of the perspective(even if you save it as a custom one) but there may be a way.
Every time you go to the Package explorer select your working set and all the others are hidden.
Seems a bit less of an overkill than deleting and reinserting projects you don't want.
HTH Graham Mead

Even better! Thanks Graham.
H�ctor Quartino
Greenhorn

Joined: Jan 19, 2004
Posts: 4
Originally posted by Gregg Bolinger:
Is there a way to see only the project you are working on in the Package Explorer? I can close projects I am not working on, but I still see the long list of them in the window. I would rather just see the one I am working on.

Right-click on project, then select "Go into".
Greetings,
H�ctor
[ January 19, 2004: Message edited by: H�ctor Quartino ]
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Originally posted by H�ctor Quartino:

Right-click on project, then select "Go into".
Greetings,
H�ctor
[ January 19, 2004: Message edited by: H�ctor Quartino ]

It just keeps getting easier and easier.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
In 3.0 (not sure about 2.x) you can also filter the view, for example not showing closed projects.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Originally posted by Ilja Preuss:
In 3.0 (not sure about 2.x) you can also filter the view, for example not showing closed projects.

How do you do this? I can check to see if you can in 2.x.
Graham VMead
Ranch Hand

Joined: Sep 22, 2003
Posts: 154
Gregg,
So many ways to do it
Got the following from the Eclipse site for version 2.0 this link is to the Package explorer bit, click on Filtering Elements (I've put the section at the bottom too). HTH Graham

Package]http://download2.eclipse.org/downloads/documentation/2.0/html/plugins/org.eclipse.jdt.doc.user/tasks/tasks-45.htm]Package Explorer/Filtering Elements[/URL]

Filtering elements
To filter elements:
On the Package Explorer toolbar, click the Menu button and choose Filters.
Select or clear the filters that you want to apply to the view (read Filter Description to learn about the selected filter�s functionality).
Optionally, you can select patterns for filtering the view:
Select the Name filter patterns checkbox at the top of the dialog.
In the text field below, specify the desired patterns (names matching one of the patterns will be hidden).
Graham VMead
Ranch Hand

Joined: Sep 22, 2003
Posts: 154
Eclipse
It might help if I got the link right too!!!
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Thanks Graham. That will come in real handy.
Graham VMead
Ranch Hand

Joined: Sep 22, 2003
Posts: 154
My turn now
In the same vein as Greggs question tho!
I use CTRL- SHIFT - R to Open an "Open Resource" dialogue. Is there any way of ignoring certain resources when this looks for a resource. I'm working on a project where the source files are sometimes duplicated in a build folder and I keep accidentally selecting the wrong one!!
BTW The dialogue picks up anything whether or not its on the build path. Maybe its what it was designed to do but I can but ask!
TIA Graham
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
I never used "Open Resource" - I guess I have to try it some day...
Krishna Mohan
Ranch Hand

Joined: May 30, 2003
Posts: 44
How do i set eclipse to show my package structure upto four levels in mypackage explorer.
I mean ..i want to see something like this rather than displaying all the packages and classes
com.acme.proj.struts
com.acme.proj.dao
com.acme.proj.services

thanks in advance.


Programming is Fun.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse Project View
 
Similar Threads
Why a book on IntelliJ ?
Starting a new web project
When is a session object serializable?
New to Mac
Cannot find GWT plugin in eclipse