Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to wrap selection in quotes using PhpStorm?

I have two different machines both using PhpStorm. One has the feature enabled, that I can select a text and by pressing ' it will become 'text':

Example of the working feature

Yet the other one will just erase the text:

Example of the not working feature

I have forgotten how I set it up. Where can I enable this feature?

like image 387
k0pernikus Avatar asked Jul 14 '15 12:07

k0pernikus


1 Answers

The option is hiding under:

Editor > General > Smart Keys: Surround selection on typing quote or brace

Screenshot of the PhpStorm config to enable the feautre

like image 64
k0pernikus Avatar answered Oct 03 '22 07:10

k0pernikus