Skip to content

Commit e01bbdf

Browse files
keertipCommit Queue
authored andcommitted
Deprecate completions from plugins api.
Change-Id: I92737e2df4736672c93fc9a08eb7c90a41192afb Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/397882 Commit-Queue: Keerti Parthasarathy <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]> Reviewed-by: Samuel Rawlins <[email protected]>
1 parent 2a29052 commit e01bbdf

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

pkg/analyzer_plugin/doc/api.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,6 +673,7 @@ <h4>parameters:</h4><dl><dt class="field"><b>file: <a href="#type_FilePath">File
673673
</p>
674674
</dd></dl></dd></dl>
675675
<h2 class="domain"><a name="domain_completion">completion domain</a></h2>
676+
<p>Deprecated - no longer supported.</p>
676677
<p>
677678
The code completion domain contains API's related to getting code completion
678679
suggestions.
@@ -694,6 +695,7 @@ <h3>Requests</h3><dl><dt class="request"><a name="request_completion.getSuggesti
694695
"<b>results</b>": List&lt;<a href="#type_CompletionSuggestion">CompletionSuggestion</a>&gt;
695696
}
696697
}</pre></div>
698+
<p>Deprecated - no longer supported.</p>
697699
<p>
698700
Used to request that completion suggestions for the given offset in the
699701
given file be returned.

pkg/analyzer_plugin/test/integration/support/integration_test_methods.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,8 @@ abstract class IntegrationTestMixin {
433433
/// Stream controller for [onAnalysisOutline].
434434
late StreamController<AnalysisOutlineParams> _onAnalysisOutline;
435435

436+
/// Deprecated - no longer supported.
437+
///
436438
/// Used to request that completion suggestions for the given offset in the
437439
/// given file be returned.
438440
///

pkg/analyzer_plugin/tool/spec/plugin_spec.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,11 +542,13 @@ <h2>Overview</h2>
542542
</notification>
543543
</domain>
544544
<domain name="completion">
545+
<p>Deprecated - no longer supported.</p>
545546
<p>
546547
The code completion domain contains API's related to getting code completion
547548
suggestions.
548549
</p>
549550
<request method="getSuggestions">
551+
<p>Deprecated - no longer supported.</p>
550552
<p>
551553
Used to request that completion suggestions for the given offset in the
552554
given file be returned.

0 commit comments

Comments
 (0)