问题
In Sublime I can double click whitespace in-between two characters in order to select just the white space, e.g. in:
$foo = 'bar';
Would result in the selection of:
$foo████████= 'bar';
However in PhpStorm it selects the entire line.
Is there a setting I can toggle so that whitespace can be selected with a double click in the same way I can double click a variable to select it.
回答1:
This is currently not possible. There is an open issue requesting the functionality you describe on the bug tracker, you could vote for this and leave a comment that you would like to see this functionality added as well.
Apparently, according to the comments triple clicking used to work to get this done. Although that was posted in 2013 and I cannot reproduce this on the latest version anymore, so I figure they removed that somewhere along the way.
来源:https://stackoverflow.com/questions/38222947/double-click-to-select-white-space-in-phpstorm