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

Side by Side Diff: pkg/analysis_server/tool/spec/spec_input.html

Issue 2726923003: CompletionSuggestion API for arg list text ranges. (Closed)
Patch Set: Added API example. Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « pkg/analysis_server/tool/spec/generated/java/types/CompletionSuggestion.java ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="UTF-8"/> 4 <meta charset="UTF-8"/>
5 <title>Analysis Server API Specification</title> 5 <title>Analysis Server API Specification</title>
6 </head> 6 </head>
7 <body> 7 <body>
8 <h1>Analysis Server API Specification</h1> 8 <h1>Analysis Server API Specification</h1>
9 <h1 style="color:#999999">Version <version>1.18.0</version></h1> 9 <h1 style="color:#999999">Version <version>1.18.0</version></h1>
10 <p> 10 <p>
(...skipping 2421 matching lines...) Expand 10 before | Expand all | Expand 10 after
2432 of a class. 2432 of a class.
2433 </p> 2433 </p>
2434 </field> 2434 </field>
2435 <field name="defaultArgumentListString" optional="true"> 2435 <field name="defaultArgumentListString" optional="true">
2436 <ref>String</ref> 2436 <ref>String</ref>
2437 <p> 2437 <p>
2438 A default String for use in generating argument list 2438 A default String for use in generating argument list
2439 source contents on the client side. 2439 source contents on the client side.
2440 </p> 2440 </p>
2441 </field> 2441 </field>
2442 <field name="defaultArgumentListTextRanges" optional="true">
2443 <list><ref>int</ref></list>
2444 <p>
2445 Pairs of offsets and lengths describing 'defaultArgumentListString '
2446 text ranges suitable for use by clients to set up linked edits of
2447 default argument source contents. For example, given an argument
2448 list string 'x, y', the corresponding text range [0, 1, 3, 1],
2449 indicates two text ranges of length 1, starting at offsets 0 and 3 .
2450 Clients can use these ranges to treat the 'x' and 'y' values
2451 specially for linked edits.
2452 </p>
2453 </field>
2442 <field name="element" optional="true"> 2454 <field name="element" optional="true">
2443 <ref>Element</ref> 2455 <ref>Element</ref>
2444 <p> 2456 <p>
2445 Information about the element reference being suggested. 2457 Information about the element reference being suggested.
2446 </p> 2458 </p>
2447 </field> 2459 </field>
2448 <field name="returnType" optional="true"> 2460 <field name="returnType" optional="true">
2449 <ref>String</ref> 2461 <ref>String</ref>
2450 <p> 2462 <p>
2451 The return type of the getter, function or method 2463 The return type of the getter, function or method
(...skipping 2143 matching lines...) Expand 10 before | Expand all | Expand 10 after
4595 This section contains a list of all of the errors that are 4607 This section contains a list of all of the errors that are
4596 produced by the server and the data that is returned with each. 4608 produced by the server and the data that is returned with each.
4597 </p> 4609 </p>
4598 <p> 4610 <p>
4599 TODO: TBD 4611 TODO: TBD
4600 </p> 4612 </p>
4601 <h2 class="domain"><a name="index">Index</a></h2> 4613 <h2 class="domain"><a name="index">Index</a></h2>
4602 <index></index> 4614 <index></index>
4603 </body> 4615 </body>
4604 </html> 4616 </html>
OLDNEW
« no previous file with comments | « pkg/analysis_server/tool/spec/generated/java/types/CompletionSuggestion.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698