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

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

Issue 932883002: Addition of the --no-index flag to the analysis server spec. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 fe7de661a161c439648e83be405c20867c531913..78d4d3fb735ccb884950dd802401da299b847138 100644
--- a/pkg/analysis_server/doc/api.html
+++ b/pkg/analysis_server/doc/api.html
@@ -199,6 +199,17 @@ dt.typeDefinition {
</ul>
</dd>
</dl>
+ <dl>
+ <dt>--no-index</dt>
+ <dd>
+ An indication that no indexer calls will be made to the analysis server,
+ and thus, no index should be created. If this flag is passed and an API is
+ used that requires an index, then an <tt>NO_INDEX_GENERATED</tt> exception
+ will be thrown. The set of API calls that require an index include:
+ refactoring calls, code completions and searching.
+
+ </dd>
+ </dl>
</blockquote>
<h2 class="domain"><a name="domain_server">Domain: server</a></h2>
<p>
@@ -3102,7 +3113,7 @@ dt.typeDefinition {
</dd><dt class="value">INVALID_OVERLAY_CHANGE</dt><dd>
<p>
- An analysis.updateContent request contained a
+ An "analysis.updateContent" request contained a
ChangeContentOverlay object which can't be applied, due
to an edit having an offset or length that is out of
range.
@@ -3117,6 +3128,12 @@ dt.typeDefinition {
<p>
A malformed request was received.
</p>
+ </dd><dt class="value">NO_INDEX_GENERATED</dt><dd>
+
+ <p>
+ The "--no-index" flag was passed when the analysis server created,
+ but this API call requires an index to have been generated.
+ </p>
</dd><dt class="value">REFACTORING_REQUEST_CANCELLED</dt><dd>
<p>

Powered by Google App Engine
This is Rietveld 408576698