add Search Everywhere to statistics

This commit is contained in:
Konstantin Bulenkov
2013-11-04 20:25:39 +01:00
parent fd00a8ea5c
commit a201080023
6 changed files with 28 additions and 1 deletions
@@ -2,6 +2,7 @@
<application>
<component name="FeatureUsageStatistics" first-run="1317813552917" have-been-shown="false" show-in-other="true" show-in-compilation="true">
<feature id="navigation.goto.inspection" count="0" last-shown="0" last-used="0" average-frequency="0" shown-count="0" />
<feature id="SearchEverywhere" count="0" last-shown="0" last-used="0" average-frequency="0" shown-count="0" />
<feature id="refactoring.move.moveInner" count="0" last-shown="0" last-used="0" average-frequency="0" shown-count="0" />
<feature id="navigation.popup.camelprefix" count="0" last-shown="0" last-used="0" average-frequency="0" shown-count="0" />
<feature id="editing.completion.variable.name" count="0" last-shown="0" last-used="0" average-frequency="0" shown-count="0" />
@@ -16,6 +16,7 @@
package com.intellij.ide.actions;
import com.intellij.codeInsight.navigation.NavigationUtil;
import com.intellij.featureStatistics.FeatureUsageTracker;
import com.intellij.icons.AllIcons;
import com.intellij.ide.DataManager;
import com.intellij.ide.IdeEventQueue;
@@ -607,7 +608,7 @@ public class SearchEverywhereAction extends AnAction implements CustomComponentA
initSearchActions(myBalloon, myPopupField);
IdeFocusManager focusManager = IdeFocusManager.getInstance(e.getProject());
focusManager.requestFocus(myPopupField.getTextEditor(), true);
// FeatureUsageTracker.getInstance().triggerFeatureUsed(IdeActions.ACTION_SEARCH_EVERYWHERE);
FeatureUsageTracker.getInstance().triggerFeatureUsed(IdeActions.ACTION_SEARCH_EVERYWHERE);
}
private void registerDataProvider(JPanel panel) {
@@ -30,6 +30,7 @@ feature.statistics.application.idle.time=idle time: {0}
navigation.popup.class=Go to class
navigation.popup.file=Go to file
navigation.popup.symbol=Go to symbol
SearchEverywhere=Search Everywhere
navigation.popup.camelprefix=Using camel words prefixes in navigation popups
navigation.popup.wildcards=Using wildcards in go to class, file or symbol
navigation.popup.file.structure=File structure popup
@@ -0,0 +1,10 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/tips.css">
</head>
<body>
<p>
Searches through classes, files, tool windows, actions, settings, and symbols by double pressing
the <span class="shortcut">Shift</span> key.</p>
</body>
</html>
@@ -17,6 +17,13 @@
tip-file="GoToSymbol.html"
first-show="5"
successive-show="8"/>
<feature
id="SearchEverywhere"
tip-file="SearchEverywhere.html"
first-show="1"
successive-show="1"
min-usage-count="1"
/>
<feature
id="navigation.popup.camelprefix"
tip-file="CamelPrefixesInNavigationPopups.html"
@@ -17,6 +17,13 @@
tip-file="GoToSymbol.html"
first-show="5"
successive-show="8"/>
<feature
id="SearchEverywhere"
tip-file="SearchEverywhere.html"
first-show="1"
successive-show="1"
min-usage-count="1"
/>
<feature
id="navigation.popup.camelprefix"
tip-file="CamelPrefixesInNavigationPopups.html"