有人知道在Eclipse中复制/粘贴一行到新行,而不需要突出显示整行的快捷键吗?
ctrl-alt-down使我的整个屏幕上下颠倒(我在windows上)。有趣的是,这就是windows->首选项中指定的内容。
有人知道在Eclipse中复制/粘贴一行到新行,而不需要突出显示整行的快捷键吗?
ctrl-alt-down使我的整个屏幕上下颠倒(我在windows上)。有趣的是,这就是windows->首选项中指定的内容。
当前回答
另一种快捷方式是按Ctrl+Shift+L并选择要执行的命令并按enter
这是初学者的最佳练习。
其他回答
我已经为Eclipse编写了linecopypaste插件,它模仿了Visual Studio的复制/剪切/粘贴行为。我还发现了copycutcurrentline,它似乎做了同样的事情。
我在Linux上使用Ctrl + Shift + Alt + Down组合。
对于mac, shift+alt+down_arrow在netbeans的编辑器中工作。
在MAC中试试这个。
alt+命令+下
它的工作原理。
You have to turn off the graphics hot keys that flip the screen. If you're on Windows, you need to right click on the Windows desktop and select "Graphics Properties..." (or something similar depending on your version of Windows). This will bring up a screen where you can manage graphics and display options, look for a place where you can disable hot keys, sometimes it's hidden under something like "Options and Support". Turn off the CTRL + ALT + ↑ and CTRL + ALT + ↓ hotkeys (alternatively you can just disable all graphics hot keys if you're not using them).