Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / July 2005

Tip: Looking for answers? Try searching our database.

Where Am I

Thread view: 
Roedy Green - 21 Jul 2005 10:58 GMT
I would really like it if as I moved about he source say using find,
or just scrolling, that I always knew here I was, project, package,
class, method, line number in method, or I would like it if I could
with a click find out where I am.

I am often working with very repetitive code that all looks quite
similar.  You can't tell just by looking at the code where you are.

I expected "show in navigator" would do this for me, but it does not.
It is available some way. Several times I caught myself modifying code
in the wrong method.

Signature

Bush crime family lost/embezzled $3 trillion from Pentagon.
Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
http://www.infowars.com/articles/us/mckinney_grills_rumsfeld.htm

Canadian Mind Products, Roedy Green.
See http://mindprod.com/iraq.html photos of Bush's war crimes

IchBin - 21 Jul 2005 12:39 GMT
> I would really like it if as I moved about he source say using find,
> or just scrolling, that I always knew here I was, project, package,
[quoted text clipped - 7 lines]
> It is available some way. Several times I caught myself modifying code
> in the wrong method.

I think the 'Java Browsing' perspective is the closest you will get.

This perspective looks like the one from IBM's VisualAge for Java from 4
or 5 years ago when I work with that IDE..

Signature

Thanks in Advance...
IchBin, Pocono Lake, Pa, USA  http://weconsultants.servebeer.com
__________________________________________________________________________

' If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor,  Regular Guy (1952-)

Roland - 21 Jul 2005 13:45 GMT
> I would really like it if as I moved about he source say using find,
> or just scrolling, that I always knew here I was, project, package,
[quoted text clipped - 3 lines]
> I am often working with very repetitive code that all looks quite
> similar.  You can't tell just by looking at the code where you are.
Too much repetitive code might indicate that there's something wrong
with your implementation.

> I expected "show in navigator" would do this for me, but it does not.
> It is available some way. Several times I caught myself modifying code
> in the wrong method.

Assuming that you are still referring to Eclipse, then "Link with
editor"  in both the 'Package Explorer' and the 'Outline' views might help.

If you have opened several (unrelated) projects, you can reduce there
number by creating/selecting a Working Set in the Package Explorer.

A third option might be to create a seperate workspace for each set of
(tightly related) projects.
Signature

Regards,

Roland de Ruiter
` ___      ___
`/__/ w_/ /__/
/  \ /_/ /  \

Roedy Green - 21 Jul 2005 20:39 GMT
>Too much repetitive code might indicate that there's something wrong
>with your implementation.

I don't think so in this case. I don't mean duplicated code, just
similar-looking code, implementations of the same abstract classes in
each enumeration constant.

Signature

Bush crime family lost/embezzled $3 trillion from Pentagon.
Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
http://www.infowars.com/articles/us/mckinney_grills_rumsfeld.htm

Canadian Mind Products, Roedy Green.
See http://mindprod.com/iraq.html photos of Bush's war crimes



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.