mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[ai-completion] ML-3369 Improve deprecation annotation of isCurrentlyDisplaying
GitOrigin-RevId: 379729d9dbe94dc32b62b7fc649a84a09f09be70
This commit is contained in:
committed by
intellij-monorepo-bot
parent
fcc7f7ba51
commit
196334d66b
+5
-1
@@ -57,7 +57,11 @@ sealed class InlineCompletionEventType {
|
||||
*/
|
||||
class Hide @ApiStatus.Internal constructor(
|
||||
val finishType: FinishType,
|
||||
@Deprecated("This value is incorrect sometimes. Use Show event to determine if completion was shown")
|
||||
@Deprecated("""
|
||||
This value delegates to InlineCompletionContext.isCurrentlyDisplaying().
|
||||
In cases of invalidation (e.g., mismatched typing), the context is already cleared, causing the method to return false,
|
||||
which can be misleading.
|
||||
Please use other methods of the listener to determine whether completion is or was being shown.""")
|
||||
val isCurrentlyDisplaying: Boolean
|
||||
) : InlineCompletionEventType()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user