How do you set a value in the IntelliJ Registry?

vikingsteve picture vikingsteve · Feb 9, 2015 · Viewed 15.3k times · Source

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?

Answer

yole picture yole · Feb 9, 2015

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.)