Intellij idea 在IntelliJ中调整扩展选择

Intellij idea 在IntelliJ中调整扩展选择,intellij-idea,selection,Intellij Idea,Selection,每个人都知道,当您在IntelliJ中选择一些文本并按Ctrl+w时,您的选择将展开 但是, 你有点被这个预设卡住了: 当您有以下代码时: <a4j:commandButton execute="@form" render="tableProperties" value="#{cjr_main.addExtractType}" action="#{ExtractTypesBean.addExtractType()}" styleClass="

每个人都知道,当您在IntelliJ中选择一些文本并按Ctrl+w时,您的选择将展开

但是,

你有点被这个预设卡住了:

当您有以下代码时:

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

并且选择了“Line”,但尚未定义方法setLineAdded()。您可能希望在按住ctrl+w键几次后选择“setLineAdded()”

然而

选择“setLineAdded”并按ctrl+w键后,将选择整个标记,而不是伴随的“()”

有没有办法让这种行为发生? (没有为此编写完整的IntelliJ插件?)

致以最良好的祝愿


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