Search code examples
javaintellij-ideaintellij-plugin

How do you set a value in the IntelliJ Registry?


How can I override a value that is used internally in IntelliJ, for example this expression:

Registry.intValue("a.b.c")

I can access the registry Registry.getInstance() but it doesn't allow updating any key/value pairs.

Any tips?


Solution

  • Press Ctrl-Alt-Shift-/ and select "Registry" from the menu that appears.

    (If that keyboard shortcut is not working for you, use your configured keyboard shortcut for Find Action. On Mac by default it is Shift++A, on Windows it is Shift+Ctrl+A (docs). Then type "Registry" and click or hit enter.)