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.

Eclipse: browsing sourcecode using { as marks

Thread view: 
Oliver Madlener - 05 Jul 2005 20:19 GMT
Hello everyone,

I am using eclipse 3.0.2 on Linux. Is it possible to browse
Java-sourcecode using the brackets { as a jumping point?
example

public void foo(){ <- first entry

if(isFoo){ <- second entry

    doFoo();

}else{ <- third entry

    doAnotherFoo();

}

thanks alot for any help!

kind regards

Oliver
Roland - 06 Jul 2005 01:15 GMT
> I am using eclipse 3.0.2 on Linux. Is it possible to browse
> Java-sourcecode using the brackets { as a jumping point?
[quoted text clipped - 6 lines]
>     doAnotherFoo();
> }

Select the opening brace and then press Ctrl-K to find next occurrence,
Ctrl-Shift-K for previous.

This should work for other text selections too: for instance when you
select 'foo' and press Ctrl-K, it will find the next occurrence of 'foo'.

The options in the 'Find and Replace' dialog (Ctrl-F) affect the
behavior of Ctrl-K. When you have selected 'Case sensitive' for example,
'Foo' in isFoo, doFoo, etc. will /not/ be found when pressing Ctrl-K
after selecting 'foo'. Enabling the 'Wrap search' option in the 'Find
and Replace' dialog can be useful too, as it will not stop searching at
the end of the file.

A list of default keyboard shortcuts can be found at
<http://eclipse-tools.sourceforge.net/shortcuts.html>.
Signature

Regards,

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



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.