Bug 330157 - [typing] Add command to quote selected text
Summary: [typing] Add command to quote selected text
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.6.1   Edit
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2010-11-12 18:08 EST by Lee Campbell CLA
Modified: 2019-09-06 16:04 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lee Campbell CLA 2010-11-12 18:08:51 EST
Build Identifier: M20100909-0800

This is a feature request.  It's not clear if you make  a distinction between bug and feature requests. (pardon if I'm in the wrong place)

I am a new user from NetBeans where if you select text and press a left parens, or a quote, the selected text is quoted.  Eclipse replaces the selected text with the new quotes.  It would be nice to have a preference for this feature.

Reproducible: Always

Steps to Reproduce:
1.Select text
2.Press the ' key.
3.
Comment 1 Dani Megert CLA 2010-11-15 10:18:57 EST
Note that in the Java editor, it can insert the closing quotes automatically, e.g. type
"foo
to get
"foo".

For the Java editor you can also add a template, e.g. "${word_selection}" which can be used to quote the selection.


Is this request for all editors or just the Java editor?
Comment 2 Ankur Sharma CLA 2010-11-18 02:08:56 EST
I like the idea. The behavior should be available only in Java and XML editors though.
Comment 3 Eclipse Webmaster CLA 2019-09-06 16:04:25 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.