mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[Parameter Name Hints] set visible "Show parameter name hints" checkbox if there is any registered extension
This commit is contained in:
+2
@@ -17,6 +17,7 @@
|
||||
package com.intellij.application.options.editor;
|
||||
|
||||
import com.intellij.codeInsight.daemon.DaemonCodeAnalyzerSettings;
|
||||
import com.intellij.codeInsight.hints.InlayParameterHintsExtension;
|
||||
import com.intellij.ide.ui.LafManager;
|
||||
import com.intellij.ide.ui.UISettings;
|
||||
import com.intellij.openapi.application.ApplicationBundle;
|
||||
@@ -76,6 +77,7 @@ public class EditorAppearanceConfigurable extends CompositeConfigurable<UnnamedC
|
||||
|
||||
myCbBlinkCaret.addActionListener((e) -> myBlinkIntervalField.setEnabled(myCbBlinkCaret.isSelected()));
|
||||
myCbShowWhitespaces.addActionListener((e) -> updateWhitespaceCheckboxesState());
|
||||
myShowParameterNameHints.setVisible(InlayParameterHintsExtension.INSTANCE.hasAnyExtensions());
|
||||
}
|
||||
|
||||
private void applyNameHintsSettings() {
|
||||
|
||||
Reference in New Issue
Block a user