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.

0
3 comments

Settings/Preferences | Editor | General | Smart Keys > "Surround selection on typing quote or brace" checkbox

1

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?

0

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 Preferences in macOS, but Settings in both Windows and Linux.

1

Please sign in to leave a comment.