Link to home
Start Free TrialLog in
Avatar of psenn
psenn

asked on

Selecting with double click in Eclipse

When I double click on a variable that has an underscore in it's name, I would like Eclipse to select the entire variable name.  Example: User_count: if I double click on count, count gets selected, if I double click on User, User gets selected.
I wish User_count were selected.
I know, I know...
Name my variable UserCount.  Funny.  Haha.
Avatar of yaxh
yaxh
Flag of India image

Well, I am using 'Version: 3.1.0' of Eclipse SDK and it's working as per your requirement. I guess you need to upgrade your eclipse installation or if you already have the latest one then we will figure out something else(perhaps).
Avatar of psenn
psenn

ASKER

Europa 3.3.0

Hi,

In Eclipse 3.2 the behaviour is the same as yaxh described.
It selects the entire variable. This happens in the Java Editor.
What editor are you using? Java? C++?
Every editor can redefine the double-click behaviour, so
please let us know what editor are you using.

Cheers,
za-k/




Hi again,

I just installed Eclipse 3.3.0 (Europa) and the functionality is the same in the Java Editor.
Double click selects the entire User_count variable.

So it seems you are talking here about a different editor, so let us know which.
Or at least, tell us the extension of the file: *.java? *,c? *.txt? as the editors are
activated on a specific extension.

Cheers,
za-k/
Avatar of psenn

ASKER

> Every editor can redefine the double-click behaviour
I didn't realize.
It's cfeclipse.  Should I post a message to the author?
ASKER CERTIFIED SOLUTION
Avatar of Adrian Pop
Adrian Pop
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial