-->

How do you set a value in the IntelliJ Registry?

2020-05-31 04:27发布

问题:

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?

回答1:

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



回答2:

If you are using OS X, you can open the registry by typing 'cmd + shift + A'. Type 'registry' and change the value of the option you're looking for. In this source you can see an example.