Commit Graph

20 Commits

Author SHA1 Message Date
practicalswift
49ed8579c4 [gardening] Use American English. 2017-05-09 20:44:30 +02:00
Ben Langmuir
d13b1c719f [cursor-info] Add a way to opt out of automatic request cancellation
The OncePerASTToken machinery lets us automatically cancel "stale"
requests after a new one comes in.  This avoid wasting time processing
requests that have been superceded, which is common for cursor-info, but
sometimes you really want to get results even later, so this commit adds
a way to opt out of the cancellation.

Incidentally, disable cancellation of name translation, which doesn't
really make sense and no one should be relying on that.

rdar://problem/31905379
2017-05-08 12:01:33 -07:00
Tyler Stromberg
b2a099230f [SourceKit] Document source.request.mangle_simple_class 2017-01-09 14:20:02 -08:00
David Aghassi
da6111117e Fixed wording around codecomplete def 2016-11-11 09:37:50 -05:00
David Aghassi
a2ffcfbbda Swapped wrong definitions and corrected minor mistakes
-  key.codecomplete.options, not key.options
-  Moved codecomplete definition to codecomplete.open
and vice versa
2016-11-08 20:31:26 -05:00
David Aghassi
29bf6a5ed0 Reformatted documentation based on benlangmuir recs 2016-11-08 08:24:18 -05:00
David Aghassi
a1d77ee3f8 [SourceKit] Added completion.open-result docs 2016-11-04 21:50:26 -04:00
David Aghassi
4eced39f4b [SourceKit] Adds documentation for complete.open 2016-11-04 21:06:33 -04:00
practicalswift
8d6251de66 [gardening] Fix accidental uses of \t 2016-09-17 13:15:26 +02:00
practicalswift
3a4ee89034 [gardening] Use consistent formatting. 2016-09-17 12:12:49 +02:00
practicalswift
7c63623ffc [gardening] Fix 13 recently introduced typos. 2016-09-16 20:30:57 +02:00
Ryan Lovelett
54bb4084b2 [SourceKit] Add a table of contents and format tweak
- Make the Demangle header match the other headers in the doc (e.g.,
  double hash)
- Add a table of contents that is sorted alphabetically by request key
  with a link to the header in the document
2016-07-27 21:37:40 -04:00
Ryan Lovelett
9432de218f [SourceKit] Document source.request.cursorinfo 2016-07-27 21:03:16 -04:00
Ryan Lovelett
e6a1a8c541 [SourceKit] Document source.request.protocol_version 2016-07-27 21:02:40 -04:00
Brian Gesiak
183cb54838 [SourceKit] Document source.request.demangle (#3603) 2016-07-19 10:45:56 -07:00
Brian Gesiak
4e0358bfb0 [docs] Add SourceKit's is_test_candidate
When indexing, SourceKit finds methods that match what XCTest considers
to be a test; see: 197875ab6d/tools/SourceKit/tools/sourcekitd/lib/API/Requests.cpp (L889-L890).
Document this behavior.
2016-05-09 21:29:23 -04:00
Brian Gesiak
cfeece9f07 [docs] Spruce up Protocol docs for "docinfo" (#2401)
Modify the documentation for `source.request.docinfo` to match the
format of the rest of the documentation: "Request", "Response", and
"Testing".
2016-05-04 22:44:11 -07:00
Brian Gesiak
8c759f6468 [SourceKit] Convert Protocol docs to Markdown (#2392)
- Convert `Protocol.txt` to `Protocol.md`, and use valid Markdown
  syntax.
- Spruce up the documentation in the "code completion": more details on
  how to test via the REPL, clearer sentences, etc.
- Fix an error in which `sourcekitd-test -req=complete -offset=<offset>`
  used the incorrect option `-cc-offset`.
2016-05-04 16:25:06 -07:00
practicalswift
73e60ea50e Fix documentation typo. 2015-12-27 13:05:39 +01:00
Argyrios Kyrtzidis
8ff6a98a99 [sourcekit] Merge SourceKit into the Swift repo.
The code goes into its own sub-tree under 'tools' but tests go under 'test',
so that running 'check-swift' will also run all the SourceKit tests.

SourceKit is disabled on non-darwin platforms.
2015-11-05 01:09:08 -08:00