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?


Solution 1:

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