diff --git a/platform/searchEverywhere/frontend/src/tabs/all/SeAllTab.kt b/platform/searchEverywhere/frontend/src/tabs/all/SeAllTab.kt index b0a10d7b3a16..77f8109bd85a 100644 --- a/platform/searchEverywhere/frontend/src/tabs/all/SeAllTab.kt +++ b/platform/searchEverywhere/frontend/src/tabs/all/SeAllTab.kt @@ -89,6 +89,7 @@ class SeAllTab(private val delegate: SeTabDelegate) : SeTab { companion object { @ApiStatus.Internal const val ID: String = SearchEverywhereManagerImpl.ALL_CONTRIBUTORS_GROUP_ID + @ApiStatus.Internal val NAME: String = IdeBundle.message("searcheverywhere.all.elements.tab.name") } diff --git a/platform/searchEverywhere/frontend/src/tabs/classes/SeClassesTab.kt b/platform/searchEverywhere/frontend/src/tabs/classes/SeClassesTab.kt index 44c950c24441..3da3498c5f37 100644 --- a/platform/searchEverywhere/frontend/src/tabs/classes/SeClassesTab.kt +++ b/platform/searchEverywhere/frontend/src/tabs/classes/SeClassesTab.kt @@ -78,6 +78,6 @@ class SeClassesTab(private val delegate: SeTabDelegate) : SeTab { const val ID: String = "ClassSearchEverywhereContributor" val NAME: String - @ApiStatus.Internal get() = GotoClassPresentationUpdater.getTabTitlePluralized() + @ApiStatus.Internal get() = GotoClassPresentationUpdater.getTabTitlePluralized() } } \ No newline at end of file diff --git a/platform/searchEverywhere/frontend/src/tabs/files/SeFilesTab.kt b/platform/searchEverywhere/frontend/src/tabs/files/SeFilesTab.kt index 0f8c78925a52..7da8de198c1e 100644 --- a/platform/searchEverywhere/frontend/src/tabs/files/SeFilesTab.kt +++ b/platform/searchEverywhere/frontend/src/tabs/files/SeFilesTab.kt @@ -77,6 +77,7 @@ class SeFilesTab(private val delegate: SeTabDelegate) : SeTab { companion object { @Internal const val ID: String = "FileSearchEverywhereContributor" + @Internal val NAME: String = IdeBundle.message("search.everywhere.group.name.files") } diff --git a/platform/searchEverywhere/frontend/src/tabs/symbols/SeSymbolsTab.kt b/platform/searchEverywhere/frontend/src/tabs/symbols/SeSymbolsTab.kt index 4fa52e869550..885a80d481b6 100644 --- a/platform/searchEverywhere/frontend/src/tabs/symbols/SeSymbolsTab.kt +++ b/platform/searchEverywhere/frontend/src/tabs/symbols/SeSymbolsTab.kt @@ -76,6 +76,7 @@ open class SeSymbolsTab(private val delegate: SeTabDelegate) : SeTab { companion object { @ApiStatus.Internal const val ID: String = "SymbolSearchEverywhereContributor" + @ApiStatus.Internal val NAME: String = IdeBundle.message("search.everywhere.group.name.symbols") } diff --git a/platform/searchEverywhere/frontend/src/ui/SePopupHeaderPane.kt b/platform/searchEverywhere/frontend/src/ui/SePopupHeaderPane.kt index f3101b65fd98..e09b46f5aed8 100644 --- a/platform/searchEverywhere/frontend/src/ui/SePopupHeaderPane.kt +++ b/platform/searchEverywhere/frontend/src/ui/SePopupHeaderPane.kt @@ -1,7 +1,6 @@ // Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.platform.searchEverywhere.frontend.ui -import com.intellij.ide.actions.searcheverywhere.PreviewAction import com.intellij.ide.actions.searcheverywhere.SearchEverywhereTabsShortcutsUtils import com.intellij.ide.actions.searcheverywhere.statistics.SearchEverywhereUsageTriggerCollector import com.intellij.openapi.Disposable @@ -205,11 +204,13 @@ class SePopupHeaderPane( val tabs: List, val deferredTabs: Flow, val selectedTab: MutableStateFlow, - val showInFindToolWindowAction: AnAction? + val showInFindToolWindowAction: AnAction?, ) { companion object { - fun createInitial(initialTabs: List, - selectedTabId: String): Configuration = + fun createInitial( + initialTabs: List, + selectedTabId: String, + ): Configuration = Configuration(initialTabs, emptyFlow(), MutableStateFlow(initialTabs.indexOfFirst { it.id == selectedTabId }), null) } }