简体   繁体   English

Eclipse:通过快捷方式移动到新行?

[英]Eclipse: Move to a new line via shortcut?

I have recently moved to Eclipse. 我最近搬到了Eclipse。 In Visual Studio there is a shortcut Crtl + Shift + Enter where I go to a new line no matter where I am in the code (in the middle of a line, close to the beginning/end of a line,...). 在Visual Studio中有一个快捷键Crtl + Shift + Enter ,无论我在代码中的哪个位置(在行的中间,靠近行的开头/结尾,......),我都会转到新行。

Is there such a shortcut in Eclipse? Eclipse中有这样的捷径吗? I can't find it in the list of shortcuts. 我在快捷键列表中找不到它。

PS. PS。 I am not sure if the mentioned shortcut is Visual Studio native shortcut or it's ReSharper's shortcut. 我不确定提到的快捷方式是Visual Studio本机快捷方式还是ReSharper的快捷方式。

Shift + Enter enter line below current line Shift + Enter在当前行下方输入行

Ctrl + Shift + Enter enter line above current line Ctrl + Shift + Enter在当前行上方输入行

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

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