Bug 465140 - Quickfix support for intelligent macros with examples
Summary: Quickfix support for intelligent macros with examples
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-21 15:15 EDT by Brad CLA
Modified: 2015-04-21 15:15 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 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