Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 983
vikingsteve Avatar asked Feb 09 '15 17:02

vikingsteve


People also ask

What is registry key and value?

The registry is a hierarchical database that contains data that is critical for the operation of Windows and the applications and services that run on Windows. The data is structured in a tree format. Each node in the tree is called a key. Each key can contain both subkeys and data entries called values.

Where is the registry value?

Registry values are name/data pairs stored within keys. Registry values are referenced separately from registry keys. Each registry value stored in a registry key has a unique name whose letter case is not significant.

Where is registry in IntelliJ?

intellij-community/platform/util/resources/misc/registry.

Where is settings in IntelliJ?

To configure project settings, select IntelliJ IDEA | Preferences on macOS or File | Settings on Windows and Linux from the main menu. Alternatively, you can press Ctrl+Alt+S to show the IDE settings. icon.


2 Answers

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

like image 108
yole Avatar answered Sep 21 '22 02:09

yole


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.

like image 35
Saulo Aguiar Avatar answered Sep 17 '22 02:09

Saulo Aguiar