mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ML in SE: Report Text contributor state features in any tab (IDEA-324741)
GitOrigin-RevId: cc73af34bdfa1858d525d0362675398e38b22e3e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5eac8b29a1
commit
2650b3103b
+1
-2
@@ -1,7 +1,6 @@
|
||||
package com.intellij.searchEverywhereMl.ranking.features
|
||||
|
||||
import com.intellij.find.FindManager
|
||||
import com.intellij.find.impl.TextSearchContributor
|
||||
import com.intellij.ide.actions.searcheverywhere.FileSearchEverywhereContributor
|
||||
import com.intellij.ide.actions.searcheverywhere.SearchEverywhereManagerImpl
|
||||
import com.intellij.ide.util.scopeChooser.ScopeDescriptor
|
||||
@@ -69,7 +68,7 @@ class SearchEverywhereStateFeaturesProvider {
|
||||
features.add(SEARCH_SCOPE_DATA_KEY.with(scopeId))
|
||||
}
|
||||
|
||||
if (project != null && tabId == TextSearchContributor::class.java.simpleName) {
|
||||
if (project != null) {
|
||||
features.addAll(getTextContributorFeatures(project))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user