Show settings from notification about detected indents goes into proper page. (Since there was not options declared in searchableOptions.xml settings filter was going into some random inspection page)

This commit is contained in:
Yaroslav Lepenkin
2015-09-23 16:31:11 +03:00
parent 50569c807d
commit 1ec58c693d
2 changed files with 3 additions and 2 deletions
@@ -129,8 +129,7 @@ public class DetectableIndentOptionsProvider extends FileIndentOptionsProvider i
new Runnable() {
@Override
public void run() {
ShowSettingsUtilImpl.showSettingsDialog(project, "preferences.sourceCode",
ApplicationBundle.message("settings.code.style.general.autodetect.indents"));
ShowSettingsUtilImpl.showSettingsDialog(project, "preferences.sourceCode", "detect indent");
}
}
);
@@ -3408,6 +3408,8 @@
<option name="synchronize" hit="Synchronize now" />
</configurable>
<configurable id="preferences.sourceCode" configurable_name="Code Style">
<option name="detect" hit="Detect and use existing file indents for editing" />
<option name="indent" hit="Detect and use existing file indents for editing" />
<option name="" hit="" />
<option name="code" hit="Code Style" />
<option name="style" hit="Code Style" />