Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(708)

Unified Diff: pkg/analysis_server/doc/api.html

Issue 607813003: Use a separate request for 'Sort members' feature, not a refactoring. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analysis_server/doc/api.html
diff --git a/pkg/analysis_server/doc/api.html b/pkg/analysis_server/doc/api.html
index 2406df07c12b7a1c1906b5800a78a1232ea9a398..dd3426b9a30ef12f11657e70bf27dae6c471a607 100644
--- a/pkg/analysis_server/doc/api.html
+++ b/pkg/analysis_server/doc/api.html
@@ -1255,6 +1255,7 @@ dt.typeDefinition {
+
<h3>Requests</h3><dl><dt class="request">edit.getAssists</dt><dd><div class="box"><pre>request: {
"id": String
"method": "edit.getAssists"
@@ -1502,6 +1503,36 @@ dt.typeDefinition {
will be omitted if the change field is omitted or if there are no
potential edits for the refactoring.
</p>
+ </dd></dl></dd><dt class="request">edit.sortMembers</dt><dd><div class="box"><pre>request: {
+ "id": String
+ "method": "edit.sortMembers"
+ "params": {
+ "<b>file</b>": <a href="#type_FilePath">FilePath</a>
+ }
+}</pre><br><pre>response: {
+ "id": String
+ "error": <span style="color:#999999">optional</span> <a href="#type_RequestError">RequestError</a>
+ "result": {
+ "<b>edit</b>": <a href="#type_SourceFileEdit">SourceFileEdit</a>
+ }
+}</pre></div>
+ <p>
+ Sort all of the directives, unit and class members
+ of the given Dart file.
+ </p>
+
+
+ <h4>Parameters</h4><dl><dt class="field"><b><i>file ( <a href="#type_FilePath">FilePath</a> )</i></b></dt><dd>
+
+ <p>
+ The Dart file to sort.
+ </p>
+ </dd></dl><h4>Returns</h4><dl><dt class="field"><b><i>edit ( <a href="#type_SourceFileEdit">SourceFileEdit</a> )</i></b></dt><dd>
+
+ <p>
+ The file edit that is to be applied to the given file to effect
+ the sorting.
+ </p>
</dd></dl></dd></dl>
<h2 class="domain"><a name="domain_execution">Domain: execution</a></h2>
<p>
@@ -2934,7 +2965,6 @@ dt.typeDefinition {
-
<dl><dt class="refactoring">CONVERT_GETTER_TO_METHOD</dt><dd>
<p>
Convert a getter into a method by removing the keyword get
@@ -3228,16 +3258,7 @@ dt.typeDefinition {
The name that the element should have after the
refactoring.
</p>
- </dd></dl></dd><dt class="refactoring">SORT_MEMBERS</dt><dd>
- <p>
- Sort all of the directives, unit and class members
- of the given Dart file.
- </p>
- <p>
- The "offset" and "length" fields from the request are ignored, but the
- file specified in the request specifies the file to be sorted.
- </p>
- <h4>Feedback</h4><p>none</p><h4>Options</h4><p>none</p></dd></dl>
+ </dd></dl></dd></dl>
<h2>Errors</h2>
<p>
This section contains a list of all of the errors that are

Powered by Google App Engine
This is Rietveld 408576698