Bug 7928 - Toggle capitalization of identifiers [code manipulation]
Summary: Toggle capitalization of identifiers [code manipulation]
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2002-01-21 08:25 EST by Magnus Ihse Bursie CLA
Modified: 2009-08-30 02:19 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Ihse Bursie CLA 2002-01-21 08:25:12 EST
In Java, the conventional way of writing class names, method names, variable 
names and constants differ, like
MyClass
myVariable
myMethod
MY_CONSTANT

It would be nice to have a simple function to switch between these types of 
capitalization. Consider the following variable being converted to a constant:
private int myLittleValue; 
to
public final static int MY_LITTLE_VALUE = 17;

Instead of erasing "myLittleValue" and typing "MY_LITTLE_VALUE", one should 
just have to select the identifier, and choose "Toggle capitalization" from the 
Edit menu (or similar).
Comment 1 Erich Gamma CLA 2002-03-20 06:08:03 EST
cannot commit for 2.0
Comment 2 Dirk Baeumer CLA 2002-07-24 10:32:34 EDT
This should be some sort of code manipulation feature like convert to constant.

No plans to add this for 2.1. Tagged as help wanted
Comment 3 Dirk Baeumer CLA 2003-04-28 06:03:24 EDT
Chaning state from assigned later to resolved later. Assigned later got 
introduced by the last bug conversion and is not a supported Eclipse bug state.
Comment 4 Denis Roy CLA 2009-08-30 02:19:46 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.