mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ide settings statistics
This commit is contained in:
+3
-1
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2009 JetBrains s.r.o.
|
||||
* Copyright 2000-2014 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -19,6 +19,7 @@ import com.intellij.ide.ui.search.ConfigurableHit;
|
||||
import com.intellij.ide.ui.search.SearchUtil;
|
||||
import com.intellij.ide.ui.search.SearchableOptionsRegistrar;
|
||||
import com.intellij.ide.util.PropertiesComponent;
|
||||
import com.intellij.internal.statistic.UsageTrigger;
|
||||
import com.intellij.openapi.Disposable;
|
||||
import com.intellij.openapi.actionSystem.*;
|
||||
import com.intellij.openapi.actionSystem.ex.AnActionListener;
|
||||
@@ -775,6 +776,7 @@ public class OptionsEditor extends JPanel implements DataProvider, Place.Navigat
|
||||
for (Configurable each : modified) {
|
||||
try {
|
||||
each.apply();
|
||||
UsageTrigger.trigger("ide.settings." + each.getDisplayName().replace(" ", "_"));
|
||||
if (!each.isModified()) {
|
||||
getContext().fireModifiedRemoved(each, null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user