java 你如何在 IntelliJ Registry 中设置一个值?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/28415695/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-11-02 13:34:12  来源:igfitidea点击:

How do you set a value in the IntelliJ Registry?

javaintellij-ideaintellij-plugin

提问by vikingsteve

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

如何覆盖 IntelliJ 内部使用的值,例如以下表达式:

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

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

我可以访问注册表,Registry.getInstance()但它不允许更新任何键/值对。

Any tips?

有小费吗?

回答by yole

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

Ctrl- Alt- Shift-/并从出现的菜单中选择“注册表”。

回答by Saulo Aguiar

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 sourceyou can see an example.

如果您使用的是 OS X,则可以通过键入“cmd + shift + A”来打开注册表。输入“registry”并更改您要查找的选项的值。在此来源中,您可以看到一个示例。