Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wrap highlighted text in Pycharm

Tags:

pycharm

Is it possible to wrap highlighted text in quotes, brackets, etc. using Pycharm? This is a feature I have seen in many IDEs, but currently when I highlight text and type, e.g., an opening quote, the highlighted text gets replaced by the opening quote instead of wrapping the text in quotes. I can live without this feature, but it would be nice. Thanks!

like image 738
elethan Avatar asked Jul 27 '15 02:07

elethan


People also ask

Can you wrap text in Pycharm?

You can also enable or disable soft wraps right in the editor: Right-click the left gutter and from the context menu, either select or clear the Soft-Wrap Current Editor option.

How do you highlight in Pycharm?

Highlighting usages of a symbol in the current file From the main menu, choose Edit | Find Usages | Highlight Usages in File, or press Ctrl+Shift+F7 .


1 Answers

You can enable this in the settings: Editor | General | Smart Keys | [x] Surround selection on typing quote or brace.

like image 86
yole Avatar answered Sep 24 '22 01:09

yole