ML in SE: Add comment explaining properties (IJPL-196633 / IJ-CR-169097)

GitOrigin-RevId: 8afb7e94386de26db9c3789845a28ccbeb6869fe
This commit is contained in:
Adam Malek
2025-07-21 11:40:23 +00:00
committed by intellij-monorepo-bot
parent 95d2f345c1
commit 1cffa7bc3b
@@ -52,6 +52,11 @@ class SearchEverywhereMlSettingsService : SerializablePersistentStateComponent<S
setRegistryListeners()
}
// region Service Properties
// Each property and corresponding method is used by the AdvancedSettingsBean.
// Property name is specified in the plugin.xml, the corresponding methods that
// control visibility and the enabled/disabled state are accessed by reflection.
@Suppress("unused")
var enableActionsTabMlRanking: Boolean
set(value) {
@@ -103,6 +108,7 @@ class SearchEverywhereMlSettingsService : SerializablePersistentStateComponent<S
@Suppress("unused")
fun isEnableAllTabMlRankingVisible(): Boolean = isSettingVisibleForTab(SearchEverywhereTab.All)
// endregion
/**
* Updates the ranking state for the specified tab based on user input.