Bug 96217 - [typing] smart insert enhancements
Summary: [typing] smart insert enhancements
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-21 06:27 EDT by Genady Beryozkin CLA
Modified: 2005-05-23 04:04 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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