Community
Participate
Working Groups
Build Identifier: I20110613-1736 There are a couple of common conventions when naming things in code: CamelCase word_delimited The behavior when double clicking on the above is identical, the entire word is selected. When I try select using the keyboard (CTRL-SHIFT->) CamelCase is selected as expected. The selection processor stops at _ when trying to select word_delimited. _'s are treated as word delimiters, requiring my to hit > 3 times to do what should be a single keystroke. It looks like _ is being treated as an operator. I'd request that either adding "_" to the character list that is used to define variable names, or allowing users access to access this list would be helpful. Reproducible: Always Steps to Reproduce: 1. Open any editor 2. Type this_is_a_strange_variable_name 3. Type Ctrl-Shift-< and you should see that just name is selected. Hitting < a second time, will select the _ and hitting < a total of 11 times selects the entire variable name It should be noted that simply double clicking the name selects the entire name, so therein lies the code difference.
*** This bug has been marked as a duplicate of bug 117888 ***
Didn't want to mark this as dup of 117888.
This works for me as expected in the Java editor. If you are using a different coding editor then please file the bug there. It's up to them to define semantics into things.