Bug 96217

Summary: [typing] smart insert enhancements
Product: [Eclipse Project] JDT Reporter: Genady Beryozkin <eclipse>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: david_williams
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Genady Beryozkin CLA 2005-05-21 06:27:01 EDT
It would be really nice to have the smart insert behave like MS-Word does in the
"paste" scenario.

That is - split the insert action in two. First, insert the text, as is.
Then replace the inserted text with the "smart" replacement. This way,
if the user does not like the "smart" replacement, s/he can simply "undo" the 
smart insert and remain with the "dumb" alternative.

(For me it is really annoying when I have to paste regular expression strings.
Whenever I paste a regular expression, JDT always escapes the backslashes, even
if they are already escaped.)
Comment 1 Tom Hofmann CLA 2005-05-23 03:21:07 EDT
I like the idea. Candidates are all smart typing helpers: 
- auto-indent
- smart semicolon, opening brace
- smart paste

quite certainly not for 3.1