繁体   English   中英

Eclipse的快捷键是什么来选择变量名称/来扩展选择范围?

[英]What's the Eclipse keyboard shortcut to select the variable name / to expand the selection?

给定变量名称myVariableName并用[cursor]表示光标位置

String [cursor]myVariablenName = new String()

哪种键盘快捷键可以选择整个变量?

细化

Ctrl + Shift + 右键仅选择my

Ctrl + Shift + + + 选择整个变量名myVariableName ,但是它的myVariableName太多。

使用Alt + Shift + 向上 它调用“ Select Enclosing Element命令。

例如,它适用于所有可能的情况

[cursor]myVariablenName

要么

myVar[cursor]iablenName

要么

myVariablenName[cursor]

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM