Bug 465140

Summary: Quickfix support for intelligent macros with examples
Product: [Eclipse Project] JDT Reporter: Brad <bhlowe>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 4.5   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Brad CLA 2015-04-21 15:15:34 EDT
Would be great if I can use quickfix (or similar) to make typing shortcuts.

For example:
HashSet<Selector> set = new(); <ctrl-1) 

Result would change the new HashSet<Selector>(); (saving 17 keystrokes and the decision whether to copy and paste or just re-type the whole thing.

Another, might be
for (set) <Ctrl-1> would change to 
for (Selector selector:set) 
{

}

(Since we know the type is Selector, variable name can be lowercase version of it)

Other "intelligent" macros would be great for us old-timers with carpal tunnel. Maybe these could be defined and listed so people can know about them...

Thanks