Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
d454eb43
Commit
d454eb43
authored
6 years ago
by
Svetlana.Zemlyanskaya
Browse files
Options
Download
Email Patches
Plain Diff
FUS: disable main menu collector
parent
ca43968c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
platform/platform-impl/src/com/intellij/internal/statistic/collectors/fus/actions/persistence/MainMenuCollector.java
+0
-1
...collectors/fus/actions/persistence/MainMenuCollector.java
platform/platform-impl/src/com/intellij/internal/statistic/service/fus/collectors/FUCounterUsageLogger.java
+1
-1
...tatistic/service/fus/collectors/FUCounterUsageLogger.java
with
1 addition
and
2 deletions
+1
-2
platform/platform-impl/src/com/intellij/internal/statistic/collectors/fus/actions/persistence/MainMenuCollector.java
+
0
-
1
View file @
d454eb43
...
...
@@ -68,7 +68,6 @@ public class MainMenuCollector implements PersistentStateComponent<MainMenuColle
if
(!
StringUtil
.
isEmpty
(
path
))
{
final
FeatureUsageData
data
=
new
FeatureUsageData
().
addOS
().
addPluginInfo
(
info
);
FUCounterUsageLogger
.
getInstance
().
logEvent
(
"main.menu"
,
ConvertUsagesUtil
.
escapeDescriptorName
(
path
),
data
);
}
}
catch
(
Exception
ignore
)
{
...
...
This diff is collapsed.
Click to expand it.
platform/platform-impl/src/com/intellij/internal/statistic/service/fus/collectors/FUCounterUsageLogger.java
+
1
-
1
View file @
d454eb43
...
...
@@ -27,7 +27,7 @@ public class FUCounterUsageLogger {
*/
private
static
final
String
REGISTERED
=
"registered"
;
private
static
final
String
[]
GENERAL_GROUPS
=
new
String
[]{
"lifecycle"
,
"performance"
,
"actions"
,
"ui.dialogs"
,
"main.menu"
,
"toolwindow"
,
"intentions"
,
"toolbar"
,
"run.configuration.exec"
,
"lifecycle"
,
"performance"
,
"actions"
,
"ui.dialogs"
,
"toolwindow"
,
"intentions"
,
"toolbar"
,
"run.configuration.exec"
,
"file.types.usage"
,
"productivity"
,
"live.templates"
,
"completion.postfix"
};
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment