You can do this with a custom template, for example, if you want to create this template for java, you can do:
Preferences ---> Java ---> Templates
Create a new template and name it a quote, then enter it as a template:
"${word_selection}"${cursor}
Save and apply.
After that, you can use this template by selecting the text you want to quote, then press CTRL + SPACE , and then select a quote.
Same thing for parentheses:
(${word_selection})${cursor}
source share