how to: insert single quote, bracket, etc.. around selected text

This is a feature I had with Netbeans which I totally loved. And looked into the editors settings, google search and can't find an answer.

When I select some text, and the text is highlighted, when I press single quote (or double quote, bracket, etc..) I want the selected text to be wrapped with the key I pressed. Is there a way to do this ?

3 comments
Comment actions Permalink

Hi Christian,

Absolutely!

File | Settings | Editor | Smart Keys --> Surround selection on typing quote or brace

Works for: " ' [ { (

3
Comment actions Permalink

many thanks :D

0
Comment actions Permalink

Thank you so much

0

Please sign in to leave a comment.