steveluc
d364f6110e
Style fixes.
2015-02-19 12:56:53 -08:00
steveluc
4b590836e7
Split completions req/response pair into two messages "completions" and
...
"completionEntryDetails". This mirrors the function of the LS API and
increases performance of completion in large projects.
2015-02-18 15:12:35 -08:00
steveluc
3868fb5a6b
Removed deleteLen from change request; added endLine, endCol that mark
...
the end of the deleted Range (inclusive). DeleteLen was not always
accurate because editors normalize \r\n to \n in some cases, affecting
the length of ranges. In Diagnostic response items, changed len field
to end to address the same range length issue. Flattened
MessageDiagnosticChains in diagnostic message text, since clients expect
string there. Renamed ts.server.protocol to simply protocol in
session.ts and client.ts since module name prefix is clear.
Based on protocol feedback: Changed LineCol to Location. Changed
CodeLocation interface name prefix to FileLocation. Changed DiagEvent
to DiagnosticEvent. Removed anonymous types.
2015-02-18 00:14:52 -08:00
steveluc
cadd57c10f
Change rename response to return the rename info + nested location
...
information: one array of location information per file. Add interface
definition for rename response body.
2015-02-17 02:02:59 -08:00
steveluc
d2712dd793
Removed file mapping compression technique due to brittleness of
...
approach. As necessary, will substitute grouping or paging approaches.
2015-02-16 23:43:05 -08:00
Mohamed Hegazy
54e6756831
Remove unused code and only expose needed types/classes
2015-02-15 20:04:14 -08:00
Mohamed Hegazy
bbcdb61254
remove unused cancellationToken class
2015-02-15 19:55:10 -08:00
Mohamed Hegazy
bdd0bf341b
Comment formatting
2015-02-15 19:48:35 -08:00
Mohamed Hegazy
8a9ac8d338
Change ServerProtocol module to ts.server.protocol
2015-02-15 19:14:33 -08:00
Mohamed Hegazy
ca34838535
Remove unused code
2015-02-15 19:13:52 -08:00
Mohamed Hegazy
f5c1bfbca7
renmae protodef.d.ts to protocol.d.ts and protocol.ts to session.ts
2015-02-15 18:49:22 -08:00
Mohamed Hegazy
d9d2e99495
Remove debugging statemetns
2015-02-15 18:43:39 -08:00
Mohamed Hegazy
76c7fdf6d1
Add test for completionEntryDetails
2015-02-15 18:24:30 -08:00
Mohamed Hegazy
8944df18d4
use EncodedFile everywhere in responses
2015-02-15 17:37:26 -08:00
Mohamed Hegazy
50ca35a979
Make method names inline with matching LS function names
2015-02-15 16:28:39 -08:00
Mohamed Hegazy
2a02655f72
Add navbar test
2015-02-15 16:23:36 -08:00
Mohamed Hegazy
40d3cb78d5
Add test for rename
2015-02-14 23:07:20 -08:00
Mohamed Hegazy
178e8f76e6
Add test for quickInfo
2015-02-14 22:28:38 -08:00
Mohamed Hegazy
11e246036b
Add test for find references
2015-02-14 21:49:10 -08:00
Mohamed Hegazy
d396ddfa7b
Add test for completions
2015-02-14 19:53:23 -08:00
Mohamed Hegazy
89267bcd6f
Move fileWatching logic to the server to allow for testing on non-node systems
2015-02-14 19:53:12 -08:00
Mohamed Hegazy
ce828d0cae
Get details for member completions as well as completions matching prefix
2015-02-14 17:21:49 -08:00
Mohamed Hegazy
b1750453ad
use ts.getDefaultLibFileName to get the default library file name
2015-02-14 17:21:17 -08:00
Mohamed Hegazy
dfd8a0620d
Always default to using JSON and do not format it
2015-02-14 15:50:06 -08:00
Mohamed Hegazy
a0b557e1e2
Recover from git corruption
2015-02-14 15:43:38 -08:00
Mohamed Hegazy
99373dbd89
Add test for goto def
2015-02-12 16:31:08 -08:00
Mohamed Hegazy
c0b1254072
Support brace matching
2015-02-12 13:35:11 -08:00
Mohamed Hegazy
3e86e557d5
Use commmandNames module
2015-02-12 13:10:55 -08:00
Mohamed Hegazy
c987ab93f0
Wire navto tests
2015-02-12 12:52:26 -08:00
Mohamed Hegazy
4a44b7437a
Supportt abbreviation
2015-02-12 11:53:13 -08:00
Mohamed Hegazy
6e94f39397
Remove redundant type definitions
2015-02-12 10:34:57 -08:00
Mohamed Hegazy
07d37fa7fb
Simplify host logic in client
2015-02-12 10:31:41 -08:00
Mohamed Hegazy
0963644089
Add type annotations
2015-02-11 19:49:36 -08:00
Mohamed Hegazy
17f19b26a0
Initial checkin for server code
2015-02-11 19:42:44 -08:00