Commit Graph
84 Commits
Author SHA1 Message Date
Sam El-Husseini f9492d0e73 method stub throwing an error for SessionClient 2016-09-09 13:07:31 -07:00
Richard Knoll 8728b9857d Adding comment and removing unnecessary object creation 2016-09-02 16:44:25 -07:00
Richard Knoll b9b79af1b7 Recombining import completions and regular completion APIs 2016-08-31 18:11:47 -07:00
Richard Knoll 473be82572 Merge remote-tracking branch 'origin/master' into import_completions_pr 2016-08-19 16:59:48 -07:00
Richard Knoll cc35bd5dca Merge remote-tracking branch 'origin/master' into import_completions_pr 2016-08-15 15:20:22 -07:00
Ron Buckton 7f0a02ff02 Migrated more MapLikes to Maps 2016-08-15 15:03:55 -07:00
Anders Hejlsberg 65e1293b2e Optimize performance of maps 2016-08-10 16:47:06 -07:00
Richard Knoll 293ca60ffd Renamed span to textSpan to better follow other language service APIs 2016-08-03 11:07:57 -07:00
Richard Knoll 8b5a3d9fd7 Refactoring API to remove duplicate spans 2016-08-02 19:03:36 -07:00
Richard Knoll 4ec8b2b134 Refactoring import completions into their own api 2016-08-01 14:29:10 -07:00
Paul van Brenk 6346fc1168 Fix typo 2016-06-23 17:36:59 -07:00
Andy Hanson 166bc49f0c Refactor navigation bar 2016-06-17 07:42:26 -07:00
Nathan Shively-Sanders 792b23edc2 Make isDefinition required.
For the deprecated getOccurrencesAtPosition, isDefinition is always false.
2016-06-14 08:48:26 -07:00
Nathan Shively-Sanders 5a7f7469ea Add isDefinition to ReferenceEntry
Clients can now easily tell if the reference is to a definition or a
usage.
2016-06-13 13:21:47 -07:00
Andy Hanson e412f52b33 Include indent in navigation bar protocol
Previously navbar01 test had indents when run in the browser but not when run from node. Now they run the same.
2016-06-03 10:04:03 -07:00
Andy Hanson 02d4959dd8 Lint src\server\client.ts 2016-05-23 10:33:47 -07:00
zhengbli 269416d675 Add test 2016-05-10 16:04:59 -07:00
Zhengbo Li 3a8ebf109f Merge pull request #7954 from zhengbli/supportScriptKindOnServer
Add API support for LS host to specify script kind of a file to open
2016-04-19 15:41:47 -07:00
zhengbli cc58e2d7eb Use string literal type for script kind names 2016-04-19 15:20:05 -07:00
Paul van Brenk 96deb553d5 Script side implementation for Brace Completion. (#7587)
* Script side implementation for Brace Completion.

This needs updated Visual Studio components to work.

* Changed CharacterCodes to number, to keep the API simple

* CR feedback

* CR feedback and more JSX tests

* Swapped 2 comments

* typo
2016-04-15 11:38:42 -07:00
zhengbli a2035a572e Add API support for LS host to specify script kind of a file to open 2016-04-07 23:01:20 -07:00
Vladimir Matveev 200f162bf6 rename LanguageService.getSourceFile to LanguageService.getNonBoundSourceFile and mark it as internal 2016-03-18 11:27:21 -07:00
Josh Soref bb85817d7d spelling fixes for src
Fixes:
* actual
* algorithm
* analyze
* applies
* collapse
* contrast
* definition
* diagnostic
* different
* displayed
* display
* documentation
* finite
* function
* highlight
* initialize
* intentional
* interface
* invariants
* items
* keystroke
* language
* literal
* original
* output
* position
* receive
* recorder
* response
* sequence
* simplicity
* statement

Changing a \ to a /
2016-02-25 20:08:44 +00:00
zhengbli 278b35b354 Adding test and comments. Override file content even if already opened. 2015-11-12 11:16:11 -08:00
zhengbli b3f0a2a2e4 Merge branch 'master' into JSDocCommentScaffolding 2015-08-10 12:55:45 -07:00
zhengbli fceba238dd Merge branch 'master' of https://github.com/Microsoft/TypeScript into errorlist
Conflicts:
	src/server/session.ts
2015-08-10 09:40:12 -07:00
Tien Nguyen bf7d923e09 Add filesToSearch to documentHighlights request. 2015-08-06 14:01:36 -07:00
Tien Nguyen 71e6f3a947 Address PR feedback. 2015-08-05 17:09:01 -07:00
Tien Nguyen 8550c7de4e Address feedback. 2015-08-04 15:46:38 -07:00
Tien Nguyen d53cfdcb5b Expose document highlighting to server. 2015-08-03 20:45:39 -07:00
Arthur Ozga 8d07c6929a rename feature 2015-08-03 14:28:21 -07:00
Arthur Ozga 5e0f1a6cfa Merge branch 'master' into JSDocCommentScaffolding 2015-07-23 10:59:53 -07:00
Arthur Ozga 38005e7174 Add test harnesses 2015-07-21 14:15:39 -07:00
Arthur Ozga 7923e8e619 Setup shim and stubbed out functions 2015-07-13 18:56:38 -07:00
Zhengbo Li 8f30ad17ed Fix tests 2015-07-13 16:26:19 -07:00
Anders Hejlsberg 11aecee9a6 Switch to assignability check and fix compiler bugs found by check 2015-07-10 19:16:53 -07:00
Arthur Ozga 1d5dcf0d0c changes that are non-breaking 2015-06-16 15:39:34 -07:00
Mohamed Hegazy 224e7630ea use namespaces instead of modules in the codebase 2015-06-12 09:01:48 -07:00
Zhengbo Li a7550dbba1 CR feedback 2015-06-02 15:25:01 -07:00
Zhengbo Li 70675162dc Add tests for projectinfo command 2015-06-01 17:45:28 -07:00
Mohamed Hegazy 7fc6142def Merge branch 'master' into getTypeDefinitionAtPosition
Conflicts:
	src/services/services.ts
2015-05-04 10:02:37 -07:00
Mohamed Hegazy f073981474 Update command name 2015-05-01 15:57:11 -07:00
Cyrus Najmabadi 7769b4cd19 Update names. 2015-04-30 17:48:01 -07:00
Cyrus Najmabadi 5ad7a593d4 Add a common, dense, format for classification operations to lower cost of processing on the host side.
We now just return an array of triples to represent classified results.  The triple contains:
1) the start of the classification.
2) the length of the classification.
3) the type of the clasification.

We also encode this into a comma separated string when passing over to the managed side
(as opposed to an JSON array).  That way we don't pay such a high JSON parsing cost.
Instead, we can just do a string.split(",") on the encoded triples and process each
element ourselves.
2015-04-30 14:26:46 -07:00
Mohamed Hegazy b6905aff0c Add getTypeDefinitionAtPosition to tsserver 2015-04-29 22:55:05 -07:00
Mohamed Hegazy e9f76d0002 Add implementation for getTypeDefinitionAtPosition 2015-04-29 22:54:49 -07:00
Cyrus Najmabadi 25c52bb406 Faster getClassifications 2015-04-23 13:40:34 -07:00
Cyrus Najmabadi 020c12c6a6 Merge branch 'master' into GetOccurrencesSingleFile 2015-04-08 23:36:22 -07:00
Cyrus Najmabadi 6dee32a703 Extract code for getting syntactic document highlights into its own function. 2015-04-08 21:59:50 -07:00
Daniel Rosenwasser 12ccdb63db Apparently our server tests can't handle negative tests. 2015-04-08 01:19:45 -07:00