rename: include search states into statistics counter

GitOrigin-RevId: 77bac6ee66d0e86cfd7df1d8156191d90bce217a
This commit is contained in:
Anna.Kozlova
2020-02-17 11:08:47 +00:00
committed by intellij-monorepo-bot
parent 161e997ad1
commit 66d60b426c
2 changed files with 3 additions and 1 deletions
@@ -498,6 +498,8 @@ public class RenameProcessor extends BaseRefactoringProcessor {
eventId,
new FeatureUsageData()
.addData("scope_type", getStatisticsCompatibleScopeName())
.addData("search_in_comments", isSearchInComments())
.addData("search_in_text_occurrences", isSearchTextOccurrences())
.addData("rename_processor", PluginInfoDetectorKt.getPluginInfo(renameProcessor).isSafeToReport()
? renameProcessor.getName()
: "third.party")
@@ -935,7 +935,7 @@
<copyPastePostProcessor implementation="com.intellij.codeInsight.editorActions.CopyPasteFoldingProcessor"/>
<statistics.counterUsagesCollector groupId="tooltip.action.events" version="1"/>
<statistics.counterUsagesCollector groupId="rename.refactoring" version="1"/>
<statistics.counterUsagesCollector groupId="rename.refactoring" version="2"/>
<statistics.counterUsagesCollector groupId="package.management.ui" version="1"/>
<statistics.projectUsagesCollector implementation="com.intellij.internal.statistic.collectors.fus.fileTypes.FileTypeUsagesCollector"/>