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

Unified Diff: pkg/analysis_server/tool/spec/spec_input.html

Issue 2972833002: Initial implementation of copy/paste support (Closed)
Patch Set: Created 3 years, 5 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/tool/spec/spec_input.html
diff --git a/pkg/analysis_server/tool/spec/spec_input.html b/pkg/analysis_server/tool/spec/spec_input.html
index 78f5f4eadccba0ddb64b415ac21fe8cc640f9c31..405b7533ee8db4bcd49b9e57b7aad578f87af598 100644
--- a/pkg/analysis_server/tool/spec/spec_input.html
+++ b/pkg/analysis_server/tool/spec/spec_input.html
@@ -475,15 +475,6 @@
libraries.
</p>
</field>
- <field name="complete">
- <ref>bool</ref>
- <p>
- True if all of the elements that are referenced in the specified
- region are included in the list of elements. The list of elements will
- be incomplete if there is an error in the specified region that
- prevents an identifier from being resolved to a single element.
- </p>
- </field>
</result>
</request>
<request method="getLibraryDependencies">
@@ -2083,6 +2074,12 @@
that all of the elements in the specified list of imported elements are
accessible within the library.
</p>
+ <p>
+ If a request is made for a file that does not exist, or that is not
+ currently subject to analysis (e.g. because it is not associated with any
+ analysis root specified via analysis.setAnalysisRoots), an error of type
+ <tt>IMPORT_ELEMENTS_INVALID_FILE</tt> will be generated.
+ </p>
<params>
<field name="file">
<ref>FilePath</ref>
@@ -2109,16 +2106,6 @@
accessible.
</p>
</field>
- <field name="complete">
- <ref>bool</ref>
- <p>
- True if all of the elements that are to be made accessible would be
- accessible if the edits were applied. The edits will not be complete,
- for example, if one of the libraries cannot be referenced in the
- target library or if one of the element names is already imported from
- a different library.
- </p>
- </field>
</result>
</request>
<request method="sortMembers">
@@ -3149,6 +3136,13 @@
</p>
</value>
<value>
+ <code>IMPORT_ELEMENTS_INVALID_FILE</code>
+ <p>
+ An "edit.importElements" request specified a FilePath that does not
+ match a file currently subject to analysis.
+ </p>
+ </value>
+ <value>
<code>INVALID_ANALYSIS_ROOT</code>
<p>
A path passed as an argument to a request (such as

Powered by Google App Engine
This is Rietveld 408576698