Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Is automatic variable usage highlight possible ?
Is automatic variable usage highlight possible ? [message #148377] Fri, 12 March 2004 15:37 Go to next message
Eclipse UserFriend
Hello,
I was wondering if it was possible to automatically highlight all
occurrences of a variable in a file, without having to do a Ctrl+Shift+U
manually? Going on more in this direction, the Call Hierarchy view could
be 'active' in that it would show the call hierarchy when one selects
the method declaration name in the text.
Regards,
Sri.
Re: Is automatic variable usage highlight possible ? [message #148624 is a reply to message #148377] Mon, 15 March 2004 03:47 Go to previous message
Eclipse UserFriend
Originally posted by: markus_keller.ch.ibm.spam.protect.com

Sri Gunturi wrote:
> I was wondering if it was possible to automatically highlight all
> occurrences of a variable in a file, without having to do a Ctrl+Shift+U
> manually?

Preferences > Java > Editor > Appearance > Mark Occurrences In File
('Sticky' means that the marks persist when the cursor moves e.g. to a keyword)

> Going on more in this direction, the Call Hierarchy view could
> be 'active' in that it would show the call hierarchy when one selects
> the method declaration name in the text.

Since computing the call hierarchy is rather expensive, this is only done on
demand (default key binding: Ctrl+Alt+H).

Markus
Previous Topic:What's building secret of Eclipse
Next Topic:[Eclipse 3M7] Blocked cause of Periodic Workspace Save
Goto Forum:
  


Current Time: Tue Jun 24 09:23:43 EDT 2025

Powered by FUDForum. Page generated in 0.04310 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top