Double click to select white space in PhpStorm

心不动则不痛 提交于 2021-01-27 11:51:14

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!