Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361402

Summary: Make CamelCase-aware selection a default for all editors and file dialogs
Product: [Tools] CDT Reporter: Johannes Wienke <languitar>
Component: cdt-otherAssignee: Project Inbox <cdt-core-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: enhancement    
Priority: P3 CC: daniel_megert, remy.suen, yevshif
Version: 8.0.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Johannes Wienke CLA 2011-10-19 09:56:37 EDT
Build Identifier: 20110615-0604

Please make all editors aware of the very common style of CamelCasing names for text selection. E.g. if I have the text ATestClass and the cursor is placed at the end of this text and I press ctrl+shift+left I want "Class" to be selected and not the whole text. This selection behavior is already the default for e.g. the CDT editor, however it is handy in many more situations, e.g. the rename dialog for files in CDT (e.g. header files in C++ often also use CamelCasing) or further editors. For instance the 3rd party CMake editor I use does not offer this behavior on its own but editing listed files with CamelCase names there would be much easier with such a behavior.

Right now I cannot imagine a case where this behavior would be really annoying to have. On the other hand, many new tools could benefit from this behavior without having to reimplement it.

Reproducible: Always
Comment 1 Dani Megert CLA 2011-11-23 02:18:16 EST
Camel case matching is common for e.g. computer languages but it's not something we will introduce in general (e.g. for RCPs).

Since there is currently no LTK UI layer, the fix would have to be made in CDT. JDT already supports this.