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

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

Issue 825393005: Addition of the optional FileReadMode into the server spec. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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
« no previous file with comments | « pkg/analysis_server/test/integration/protocol_matchers.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 aa86cb65d86ab66cbc57565a40de3c10e8430bde..fc2caf861a2962db82142f8d178587ec26492371 100644
--- a/pkg/analysis_server/tool/spec/spec_input.html
+++ b/pkg/analysis_server/tool/spec/spec_input.html
@@ -1850,6 +1850,12 @@
errors and warnings.
</p>
</field>
+ <field name="fileReadMode" optional="true">
+ <ref>FileReadMode</ref>
+ <p>
+ The mode to read files from disk, by default this value is AS_IS.
+ </p>
+ </field>
</object>
</type>
<type name="AnalysisService">
@@ -2253,6 +2259,28 @@
The absolute path of a file.
</p>
</type>
+ <type name="FileReadMode">
+ <p>
+ An enumeration of the ways files can be read from disk. Some clients
+ normalize end of line characters which would make the file offset and
+ range information incorrect.
+ </p>
+ <enum>
+ <value>
+ <code>AS_IS</code>
+ <p>
+ File contents are read as-is, no file changes occur.
+ </p>
+ </value>
+ <value>
+ <code>NORMALIZE_EOL</code>
+ <p>
+ File contents normalize the end of line characters to the single
+ character new line '\n'.
+ </p>
+ </value>
+ </enum>
+ </type>
<type name="FoldingKind">
<p>
An enumeration of the kinds of folding regions.
« no previous file with comments | « pkg/analysis_server/test/integration/protocol_matchers.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698