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

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

Issue 857283003: Addition of the new flag "file-read-mode" into the analysis server to fix the offset bug with Intel… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Comments addressed 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
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..ec4e6085703eb7126b21cf99a363b03029217417 100644
--- a/pkg/analysis_server/tool/spec/spec_input.html
+++ b/pkg/analysis_server/tool/spec/spec_input.html
@@ -135,6 +135,22 @@
errors produced for all files in the actual analysis roots.
</dd>
</dl>
+ <dl>
+ <dt>--file-read-mode</dt>
+ <dd>
+ 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. The default option is <tt>as-is</tt>, but
+ can also be set to <tt>normalize-eol-always</tt>. The default option
+ (<tt>as-is</tt>) reads files as they are on disk. The
+ <tt>normalize-eol-always</tt> option does the following:
+ <ul>
+ <li>'\r\n' is converted to '\n';</li>
+ <li>'\r' by itself is converted to '\n';</li>
+ <li>this happens regardless of the OS editor is running on.</li>
+ </ul>
+ </dd>
+ </dl>
</blockquote>
<domain name="server">
<p>
« no previous file with comments | « pkg/analysis_server/lib/src/socket_server.dart ('k') | pkg/analyzer/lib/file_system/physical_file_system.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698