Skip to content

Commit

Permalink
Deprecate completions from plugins api.
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
keertip authored and Commit Queue committed Dec 2, 2024
1 parent 2a29052 commit e01bbdf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/analyzer_plugin/doc/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,7 @@ <h4>parameters:</h4><dl><dt class="field"><b>file: <a href="#type_FilePath">File
</p>
</dd></dl></dd></dl>
<h2 class="domain"><a name="domain_completion">completion domain</a></h2>
<p>Deprecated - no longer supported.</p>
<p>
The code completion domain contains API's related to getting code completion
suggestions.
Expand All @@ -694,6 +695,7 @@ <h3>Requests</h3><dl><dt class="request"><a name="request_completion.getSuggesti
"<b>results</b>": List&lt;<a href="#type_CompletionSuggestion">CompletionSuggestion</a>&gt;
}
}</pre></div>
<p>Deprecated - no longer supported.</p>
<p>
Used to request that completion suggestions for the given offset in the
given file be returned.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,8 @@ abstract class IntegrationTestMixin {
/// Stream controller for [onAnalysisOutline].
late StreamController<AnalysisOutlineParams> _onAnalysisOutline;

/// Deprecated - no longer supported.
///
/// Used to request that completion suggestions for the given offset in the
/// given file be returned.
///
Expand Down
2 changes: 2 additions & 0 deletions pkg/analyzer_plugin/tool/spec/plugin_spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -542,11 +542,13 @@ <h2>Overview</h2>
</notification>
</domain>
<domain name="completion">
<p>Deprecated - no longer supported.</p>
<p>
The code completion domain contains API's related to getting code completion
suggestions.
</p>
<request method="getSuggestions">
<p>Deprecated - no longer supported.</p>
<p>
Used to request that completion suggestions for the given offset in the
given file be returned.
Expand Down

0 comments on commit e01bbdf

Please sign in to comment.