mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[LSP widget] follow-up on IJPL-15710: remove unneeded registry flag "language.service.status.bar.widget"
GitOrigin-RevId: f053c57032d4c345a6fbdac73b17906a0cc37c71
This commit is contained in:
committed by
intellij-monorepo-bot
parent
aea75c3da5
commit
3106b673da
-3
@@ -9,7 +9,6 @@ import com.intellij.openapi.project.DumbAware
|
||||
import com.intellij.openapi.project.Project
|
||||
import com.intellij.openapi.ui.popup.JBPopupFactory
|
||||
import com.intellij.openapi.ui.popup.ListPopup
|
||||
import com.intellij.openapi.util.registry.Registry
|
||||
import com.intellij.openapi.vfs.VirtualFile
|
||||
import com.intellij.openapi.wm.StatusBarWidget
|
||||
import com.intellij.openapi.wm.impl.status.EditorBasedStatusBarPopup
|
||||
@@ -46,8 +45,6 @@ internal class LanguageServiceWidget(project: Project, scope: CoroutineScope) :
|
||||
}
|
||||
|
||||
override fun getWidgetState(file: VirtualFile?): WidgetState {
|
||||
if (!Registry.`is`("language.service.status.bar.widget")) return WidgetState.HIDDEN
|
||||
|
||||
// If there are more than maxIconsInStatusBar services, then not all icons show up in the status bar.
|
||||
// Sorting helps to make sure that icons with an error marker go first.
|
||||
val allItems = LanguageServiceWidgetItemsProvider.EP_NAME.extensionList
|
||||
|
||||
@@ -1393,9 +1393,6 @@
|
||||
<statusBarWidgetFactory id="LanguageServiceStatusBarWidget"
|
||||
implementation="com.intellij.platform.lang.lsWidget.impl.LanguageServiceWidgetFactory"
|
||||
order="after Position, after AIAssistant, before LineSeparator"/>
|
||||
<registryKey key="language.service.status.bar.widget"
|
||||
description="Show Language Services status bar widget"
|
||||
defaultValue="true"/>
|
||||
<statistics.counterUsagesCollector implementationClass="com.intellij.platform.lang.lsWidget.impl.fus.LanguageServiceWidgetUsagesCollector"/>
|
||||
<applicationService serviceInterface="com.intellij.platform.lang.lsWidget.internal.LanguageServiceWidgetActionsService"
|
||||
serviceImplementation="com.intellij.platform.lang.lsWidget.impl.LanguageServiceWidgetActionsServiceImpl"/>
|
||||
|
||||
Reference in New Issue
Block a user