How to get context menu in IntelliJ with items such as "Update usages to reflect signature change" and "Bind constructor parameters to fields"?

0

At this point in a demo video on YouTube, a context menu is displayed. Items include:

  • Update usages to reflect signature changes…
  • Create filed for parameter 'statusRepository'
  • Safe delete 'statusRepository'
  • Bind constructor parameters to fields
  • Put parameters on one line
  • Generate overloaded constructor with default parameter values

Here is a screen shot.

enter image description here

➣ How do I display such a menu in IntelliJ 2021?

➣ Are these menu items available on the fixed pull-down menus or only on this context menu?

contextmenu intellij-idea refactoring
2021-11-22 21:26:44
1

0

Show Context Actions in your IDE Keymap settings. See the documentation for more details.

  • Alt+Enter on Windows/macOS
2021-11-23 15:56:25

It's Alt+Enter on MacOS as well. Alt+Space is just for previewing the result that some actions in the Alt+Enter menu have AFAIK.
Bas Leijdekkers

In other languages

This page is in other languages

Русский
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................