调整 IntelliJ 中的扩展选择

Adapt the extend selection in IntelliJ

每个人都知道,当您 select IntelliJ 中的一些文本并按 Ctrl+w 时,您的 selection 会展开。

然而,

你有点卡在预设上了:

当您有以下代码时:

<a4j:commandButton execute="@form" render="tableProperties" 
       value="#{cjr_main.addExtractType}" 
       action="#{ExtractTypesBean.addExtractType()}" 
       styleClass="bigButton"                        
       oncomplete="setLineAdded();"/>

和 "Line" 被 selected 但方法 setLineAdded() 尚未定义你希望 "setLineAdded()" 在按下 ctrl+w a 后被 selected几次。

但是

一旦 "setLineAdded" 被 select 编辑,并且您按下 ctrl + w 整个标签被 select 编辑,而不是随附的“()”...

有没有办法获得这种行为? (不为此编写整个 IntelliJ 插件?)

此致,

S.

否,扩展选择的行为由代码控制,用户无法配置。你确实可以写一个插件来改变行为。