在 IntelliJ 中,可以按 Ctrl + Alt + Enter 在编辑器中的当前光标位置插入新行。
VS + ReSharper 是否存在这样的快捷方式?
此外,我希望使用 IntelliJ 快捷方式来完成当前语句,而无需跳到下一行。
在 IntelliJ 中
Ctrl + Shift + Enter = 完成当前语句而不跳到下一行。
Shift + Enter = 只跳到下一行。
Ctrl + Alt + Enter = 插入新行并将当前行向下移动。
很想把这个用于 VS + ReSharper
我真的很感谢你的帮助。
最佳答案
根据您的要求:
complete the current statement without jumping to the next line.
我知道的最短路径是 Ctrl+Shift+Enter , Ctrl+L (如果使用 VisualStudio 方案)。
关于visual-studio-2010 - VS 2010 + ReSharper 6.1 - 插入新行的快捷方式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10258372/