你如何在 IntelliJ Registry 中设置一个值? [英] How do you set a value in the IntelliJ Registry?
问题描述
如何覆盖 IntelliJ 内部使用的值,例如这个表达式:
How can I override a value that is used internally in IntelliJ, for example this expression:
Registry.intValue("a.b.c")
我可以访问注册表 Registry.getInstance()
但它不允许更新任何键/值对.
I can access the registry Registry.getInstance()
but it doesn't allow updating any key/value pairs.
有什么建议吗?
推荐答案
Press Ctrl-Alt-Shift-/ 并选择注册表";从出现的菜单中.
Press Ctrl-Alt-Shift-/ and select "Registry" from the menu that appears.
(如果该键盘快捷键不适合您,请使用您为 Find Action
配置的键盘快捷键.在 Mac 上默认为 Shift+⌘+A,在 Windows 上是 Shift+Ctrl+A (docs.然后输入Registry"并点击或按回车.)
(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.)
这篇关于你如何在 IntelliJ Registry 中设置一个值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!