双击选择 PhpStorm 中的空白区域 [英] Double click to select white space in PhpStorm

查看:62
本文介绍了双击选择 PhpStorm 中的空白区域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Sublime 中,我可以双击两个字符之间的空格以仅选择空格,例如在:

In Sublime I can double click whitespace in-between two characters in order to select just the white space, e.g. in:

$foo        = 'bar';

将导致选择:

$foo████████= 'bar';

但是在 PhpStorm 中它选择了整行.

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.

推荐答案

这目前是不可能的.一个未解决的问题要求您在错误跟踪器上描述的功能,您可以投票支持并留下您希望看到此功能也被添加的评论.

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.

显然,根据评论三次点击可以完成这项工作.虽然这是在 2013 年发布的,我无法再在最新版本上重现它,所以我认为他们在途中的某个地方删除了它.

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.

这篇关于双击选择 PhpStorm 中的空白区域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆