I love keyboard shortcuts and hot-keys. I learn and use as many of them as I can.
Sometimes, however, the same short-cut can get defined by multiple parts of a system and can create surprising results.
For example: when working in Eclipse IDE, a very useful one is CTRL-ALT-UP (or DOWN) arrow. It takes whatever line the cursor is currently on and duplicates it above or below the current line. It also works on highlighted blocks of lines.
I use it all the time to preserve the original form of a line or block. For example, when I am writing unit-tests that are all related, I take the one I just wrote and CTRL-ALT-DOWN to copy it, then I modify the duplicated code for my next test. Saves retying the boiler-plate.
I may also use it when modifying some code. I duplicate it with CTRL-ALT-DOWN keyboard short cut and then while the line(s) are highlighted still, I do a CTRL-ForwardSlash which in Eclipse comments out the line. This preserves the original line while I tinker and experiment.
Unfortunately, on my new Windows 10 laptop, the Graphics driver also defines CTRL-ALT-DOWN (or UP) - it rotates the screen display 180 degrees. And it takes precedence over the Eclipse short-cut.
To disable the graphics one, whose usefulness to me is very low (why on earth would I rotate it 180 degrees? Possibly when sending output to a projector?)
To disable the Graphics short-cuts, right-click on the desktop. Then select Graphics Options and the Hotkeys sub-menu. And select Disable.
This is the way it looks on my machine, running Windows 10 with an Intel processor and Intel graphics driver:
Sometimes, however, the same short-cut can get defined by multiple parts of a system and can create surprising results.
For example: when working in Eclipse IDE, a very useful one is CTRL-ALT-UP (or DOWN) arrow. It takes whatever line the cursor is currently on and duplicates it above or below the current line. It also works on highlighted blocks of lines.
I use it all the time to preserve the original form of a line or block. For example, when I am writing unit-tests that are all related, I take the one I just wrote and CTRL-ALT-DOWN to copy it, then I modify the duplicated code for my next test. Saves retying the boiler-plate.
I may also use it when modifying some code. I duplicate it with CTRL-ALT-DOWN keyboard short cut and then while the line(s) are highlighted still, I do a CTRL-ForwardSlash which in Eclipse comments out the line. This preserves the original line while I tinker and experiment.
Unfortunately, on my new Windows 10 laptop, the Graphics driver also defines CTRL-ALT-DOWN (or UP) - it rotates the screen display 180 degrees. And it takes precedence over the Eclipse short-cut.
To disable the graphics one, whose usefulness to me is very low (why on earth would I rotate it 180 degrees? Possibly when sending output to a projector?)
To disable the Graphics short-cuts, right-click on the desktop. Then select Graphics Options and the Hotkeys sub-menu. And select Disable.
This is the way it looks on my machine, running Windows 10 with an Intel processor and Intel graphics driver: