'Eclipse keyboard shortcut for rename/refactor is unbinded in 2022-03

I updated Eclipse IDE from 2021-12 to 2022-03 recently and I found out that the shortcut for rename/refactor alt-shift-r was removed. Is this a bug and will be fixed later? Was this removed on purpose?

This was a very useful keyboard shortcut and I don't understand the 'why?' this was removed.


UPDATE:

This happened to me in Windows 10 and Ubuntu 20

Right click in a variable -> Refactor -> Rename... does not have a key binding anymore enter image description here

Preferences: General -> Keys -> search: rename enter image description here



Solution 1:[1]

The culprit was my lombok installation.

This bug happens when using Eclipse 2022-03 and lombok 1.18.22 or lower.

To fix this I needed to remove lombok. I did this by:

  • deleting the "lombok.jar" file in the eclipse installation folder
  • and by updated the "eclipse.ini" file in the same folder and deleting this line
    -javaagent:C:\Users\my-user\eclipse\latest\eclipse\lombok.jar

Then I installed lombok-1.18.23.
To this date this release is not available in the Download page of lombok as a stable-release.
You can get it from here https://projectlombok.org/download-edge

Thanks to Holger Voormann youtube channel for the answer.

This issue is followed here https://github.com/projectlombok/lombok/issues/3134

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 aee