Ctrl+' (double-quote) in highlighted area just wraps it in quotes instead of replaces it
I seem to remember in previous versions, doing this would replace the highlighted text, now it just wraps it.
This is really annoying and a lot of extra steps.
I'm not seeing a setting to change this.
Please sign in to leave a comment.
Settings/Preferences | Editor | General | Smart Keys > "Surround selection on typing quote or brace" checkbox
Thanks.
I suppose this option is useful when selecting text to be quoted, but I honestly can't think of when I would use it in coding. I think there may have been some instances where it would have been useful, but they happen so rarely that I don't know why it's a default.
Also, why does PHPStorm label its settings "Settings" in Windows but "Preferences" in Mac?
It appears to be some kind of a convention, although I wasn't able to find it documented anywhere.
For instance, it's
System Preferencesin macOS, butSettingsin both Windows and Linux.