From af3d6f0506dc56629095cf23f21c807e249f9fda Mon Sep 17 00:00:00 2001 From: "Kirill.Karnaukhov" Date: Thu, 24 Oct 2024 12:30:37 +0200 Subject: [PATCH] [inline-completion] IJPL-161906: document `BackendInlineCompletionHandler` (cherry picked from commit 2fcd5ab743686e31141b99f10c42c141e4c7b8fb) IJ-MR-147762 GitOrigin-RevId: 869bea5cd7d5b8f793c58e746281d12138777ca0 --- .../codeInsight/inline/completion/InlineCompletionHandler.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/codeInsight/inline/completion/InlineCompletionHandler.kt b/platform/platform-impl/src/com/intellij/codeInsight/inline/completion/InlineCompletionHandler.kt index 3e5a3095be3b..b12ca7c2896f 100644 --- a/platform/platform-impl/src/com/intellij/codeInsight/inline/completion/InlineCompletionHandler.kt +++ b/platform/platform-impl/src/com/intellij/codeInsight/inline/completion/InlineCompletionHandler.kt @@ -86,7 +86,9 @@ abstract class InlineCompletionHandler @ApiStatus.Internal constructor( invalidationListeners.addListener(logsListener) } - // TODO docs + /** + * Frontend always starts a session. Backend never starts a session. Instead, the backend will send a notification to the frontend. + */ @ApiStatus.Internal @ApiStatus.NonExtendable protected abstract fun startSessionOrNull(