Eclipse has quite a few Quick Fixes or Quick Assists available. What are these?
Well if you want to rename all instances of a variable in a file you can use a quick assist to do it. Just place the cursor at the variable and press Ctrl + 1 to see a list of Quick Assists available. Quick Fixes are similar but help resolve common errors.
I use the ‘rename in file’ quick assist all the time. But pressing Ctrl + 1 and then selecting rename in file is not very intuitive. Since Eclipse 3.2 there is an easier way of doing this. You can assign keyboard shortcuts to these Quick Fixes. I have assigned Ctrl + Alt + R to rename in file. This is a lot easier.
Doesn’t the built in shortcut ALT-SHIFT-R do basically the same thing?
Hmmm… When I checked it was not linked to any shortcut. Anyway I keep messing with the settings so it could have been.