OLD | NEW |
1 <html><head> | 1 <html><head> |
2 <meta charset="UTF-8"> | 2 <meta charset="UTF-8"> |
3 <title>Analysis Server API Specification</title> | 3 <title>Analysis Server API Specification</title> |
4 <style>body { | 4 <style>body { |
5 font-family: sans-serif, serif; | 5 font-family: sans-serif, serif; |
6 padding-left: 5%; | 6 padding-left: 5%; |
7 padding-right: 5%; | 7 padding-right: 5%; |
8 } | 8 } |
9 h1 { | 9 h1 { |
10 text-align: center; | 10 text-align: center; |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 can also be set to <tt>normalize-eol-always</tt>. The default option | 192 can also be set to <tt>normalize-eol-always</tt>. The default option |
193 (<tt>as-is</tt>) reads files as they are on disk. The | 193 (<tt>as-is</tt>) reads files as they are on disk. The |
194 <tt>normalize-eol-always</tt> option does the following: | 194 <tt>normalize-eol-always</tt> option does the following: |
195 <ul> | 195 <ul> |
196 <li>'\r\n' is converted to '\n';</li> | 196 <li>'\r\n' is converted to '\n';</li> |
197 <li>'\r' by itself is converted to '\n';</li> | 197 <li>'\r' by itself is converted to '\n';</li> |
198 <li>this happens regardless of the OS editor is running on.</li> | 198 <li>this happens regardless of the OS editor is running on.</li> |
199 </ul> | 199 </ul> |
200 </dd> | 200 </dd> |
201 </dl> | 201 </dl> |
| 202 <dl> |
| 203 <dt>--no-index</dt> |
| 204 <dd> |
| 205 An indication that no indexer calls will be made to the analysis server, |
| 206 and thus, no index should be created. If this flag is passed and an API is |
| 207 used that requires an index, then an <tt>NO_INDEX_GENERATED</tt> exception |
| 208 will be thrown. The set of API calls that require an index include: |
| 209 refactoring calls, code completions and searching. |
| 210 |
| 211 </dd> |
| 212 </dl> |
202 </blockquote> | 213 </blockquote> |
203 <h2 class="domain"><a name="domain_server">Domain: server</a></h2> | 214 <h2 class="domain"><a name="domain_server">Domain: server</a></h2> |
204 <p> | 215 <p> |
205 The server domain contains API’s related to the execution of | 216 The server domain contains API’s related to the execution of |
206 the server. | 217 the server. |
207 </p> | 218 </p> |
208 | 219 |
209 | 220 |
210 | 221 |
211 | 222 |
(...skipping 2883 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3095 </p> | 3106 </p> |
3096 </dd><dt class="value">INVALID_EXECUTION_CONTEXT</dt><dd> | 3107 </dd><dt class="value">INVALID_EXECUTION_CONTEXT</dt><dd> |
3097 | 3108 |
3098 <p> | 3109 <p> |
3099 The context root used to create an execution context does not | 3110 The context root used to create an execution context does not |
3100 exist. | 3111 exist. |
3101 </p> | 3112 </p> |
3102 </dd><dt class="value">INVALID_OVERLAY_CHANGE</dt><dd> | 3113 </dd><dt class="value">INVALID_OVERLAY_CHANGE</dt><dd> |
3103 | 3114 |
3104 <p> | 3115 <p> |
3105 An analysis.updateContent request contained a | 3116 An "analysis.updateContent" request contained a |
3106 ChangeContentOverlay object which can't be applied, due | 3117 ChangeContentOverlay object which can't be applied, due |
3107 to an edit having an offset or length that is out of | 3118 to an edit having an offset or length that is out of |
3108 range. | 3119 range. |
3109 </p> | 3120 </p> |
3110 </dd><dt class="value">INVALID_PARAMETER</dt><dd> | 3121 </dd><dt class="value">INVALID_PARAMETER</dt><dd> |
3111 | 3122 |
3112 <p> | 3123 <p> |
3113 One of the method parameters was invalid. | 3124 One of the method parameters was invalid. |
3114 </p> | 3125 </p> |
3115 </dd><dt class="value">INVALID_REQUEST</dt><dd> | 3126 </dd><dt class="value">INVALID_REQUEST</dt><dd> |
3116 | 3127 |
3117 <p> | 3128 <p> |
3118 A malformed request was received. | 3129 A malformed request was received. |
3119 </p> | 3130 </p> |
| 3131 </dd><dt class="value">NO_INDEX_GENERATED</dt><dd> |
| 3132 |
| 3133 <p> |
| 3134 The "--no-index" flag was passed when the analysis server created, |
| 3135 but this API call requires an index to have been generated.
|
| 3136 </p> |
3120 </dd><dt class="value">REFACTORING_REQUEST_CANCELLED</dt><dd> | 3137 </dd><dt class="value">REFACTORING_REQUEST_CANCELLED</dt><dd> |
3121 | 3138 |
3122 <p> | 3139 <p> |
3123 Another refactoring request was received during processing of | 3140 Another refactoring request was received during processing of |
3124 this one. | 3141 this one. |
3125 </p> | 3142 </p> |
3126 </dd><dt class="value">SERVER_ALREADY_STARTED</dt><dd> | 3143 </dd><dt class="value">SERVER_ALREADY_STARTED</dt><dd> |
3127 | 3144 |
3128 <p> | 3145 <p> |
3129 The analysis server has already been started (and hence | 3146 The analysis server has already been started (and hence |
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3727 <p> | 3744 <p> |
3728 This section contains a list of all of the errors that are | 3745 This section contains a list of all of the errors that are |
3729 produced by the server and the data that is returned with each. | 3746 produced by the server and the data that is returned with each. |
3730 </p> | 3747 </p> |
3731 <p> | 3748 <p> |
3732 TBD | 3749 TBD |
3733 </p> | 3750 </p> |
3734 | 3751 |
3735 | 3752 |
3736 </body></html> | 3753 </body></html> |
OLD | NEW |