135 Commits

Author SHA1 Message Date
Andy
d96dfeb708 Don't normalize whitespace in fourslash tests (#18447)
* Don't normalize whitespace in fourslash tests

* Only render whitespace when the diff is text-only
2017-09-14 08:23:50 -07:00
Andy
c3199c7772 extractMethod: Support renameLocation (#18050)
* extractMethod: Support renameLocation

* Add tslint disable

* Properly analyze list of changes to always get a correct rename location

* Update test

* Ensure name is really unique

* Improvements to test code

* Respond to PR comments
2017-09-13 09:02:10 -07:00
Arthur Ozga
efdbebaebb Merge branch 'master' into isInMultiLineComment 2017-08-04 14:26:24 -07:00
Andy
d2ec45f354 Remove unnecessary 'ts.' qualifications (#17163) 2017-07-13 13:08:59 -07:00
Andy
dcc3e72636 Use decodeSpan more (#16990) 2017-07-07 10:37:18 -07:00
Andy
d4c11bfa1b Clean up creation of 'args' in client.ts (#17009) 2017-07-07 08:09:59 -07:00
Andy
e7dc2a67ca Enable "object-literal-shorthand" lint rule (#16987) 2017-07-07 07:26:58 -07:00
Arthur Ozga
8fc3fd9a20 request returns span 2017-06-09 18:02:42 -07:00
Arthur Ozga
b02963b238 make indent work with trailing comments 2017-06-09 14:43:28 -07:00
Arthur Ozga
8f28a0264f indent block comments according to first line 2017-06-08 17:15:47 -07:00
Arthur Ozga
6b4cd0bd03 Merge branch 'isInMultiLineComment' of https://github.com/aozgaa/TypeScript into isInMultiLineComment 2017-06-07 14:35:45 -07:00
Arthur Ozga
35b16ab7a8 temp 2017-06-07 14:01:42 -07:00
Ryan Cavanaugh
f395bc1d83 Handle missing body case 2017-06-06 16:01:53 -07:00
Ryan Cavanaugh
1f3ef7df7a Refactor refactor 2017-06-06 14:58:18 -07:00
andy-ms
b162097c3c Make ScriptElementKind and HighlightSpanKind string enums 2017-05-20 07:56:24 -07:00
Ryan Cavanaugh
f6fbe61718 Refactoring support (squash) 2017-05-19 10:45:49 -07:00
Mine Starks
af0b2d9768 Merge pull request #12856 from minestarks/includejsdoctags
Expose JSDoc tags through the language service
2017-03-31 17:58:41 -07:00
Andy Hanson
2305c10a65 Fix lint errors 2017-03-17 13:54:18 -07:00
Vladimir Matveev
595342615b abstract code in FindReferences from concrete way of creating result reference entry to seamlessly reuse the same code for gotoImplementation (#14637) 2017-03-16 15:53:05 -07:00
Vladimir Matveev
81f4e38643 Enable per-request cancellation (#12371)
enable -per-request cancellation

* restore request for deferred calls

* add tests

* introduce MultistepOperation

* (test) subsequent request cancels the preceding one
2017-02-14 13:18:42 -08:00
Andy Hanson
b53b5cf4ab Remove the "set" function and use map.set with multiple lines of code if necessary. 2016-12-12 08:42:12 -08:00
Andy Hanson
6b1cc8972d Use native maps when they're available 2016-12-08 06:40:31 -08:00
Andy Hanson
12f6dcefa1 Revert "Merge pull request #11354 from Microsoft/map4"
This reverts commit adfdae0dc47db5ad8248d26929a7b31cb895a539, reversing
changes made to aad663cebf6a89f7029af57d8cb6a0a011854978.
2016-10-27 15:50:21 -07:00
Andy Hanson
bcc0807198 Respond to PR comments 2016-10-27 13:14:56 -07:00
Andy Hanson
c958c47ef5 Merge branch 'master' into map4 2016-10-26 11:05:51 -07:00
Andy Hanson
ca970063a3 Just use notImplemented 2016-10-20 07:15:25 -07:00
Andy Hanson
5e7e5421fa Add noop, notImplemented, and notYetImplemented helpers 2016-10-19 14:21:48 -07:00
Andy Hanson
a11838215c Merge branch 'master' into map4 2016-10-19 13:16:55 -07:00
Andy Hanson
6814c1d883 Forbid unused locals/parameters anywhere 2016-10-19 08:27:49 -07:00
Andy Hanson
f828bc3fae Merge branch 'master' into map4 2016-10-18 09:07:00 -07:00
Jason Ramsay
deb3449077 Add getSyntacticDiagnostics unit test 2016-10-17 17:47:10 -07:00
Andy Hanson
7292f9f67e Merge branch 'master' into map4 2016-10-17 06:49:53 -07:00
Vladimir Matveev
92b63fa725 Merge pull request #11550 from Microsoft/vladima/generate-protocol
Automatically generate protocol.d.ts by pulling in necessary dependencies
2016-10-12 14:18:19 -07:00
Andy Hanson
475125bbb9 Merge branch 'master' into map4 2016-10-12 09:13:36 -07:00
Andy Hanson
e8c7224eac Merge branch 'master' into map4 2016-10-12 08:50:49 -07:00
Andy Hanson
a567dacbe2 Merge branch 'master' into navtree 2016-10-12 08:09:12 -07:00
Andy Hanson
9385b84c62 Add "navtree" and "navtree-full" server commands 2016-10-11 08:32:37 -07:00
Paul van Brenk
7c96c28863 Fix test failure 2016-10-07 15:55:33 -07:00
Paul van Brenk
a83a2b0de0 Codefixes in client for testing the server. 2016-10-07 13:58:53 -07:00
Andy Hanson
aadcbcc083 Use native maps when they're available 2016-10-06 13:29:18 -07:00
Paul van Brenk
75e1b80ad5 Use just the errorcode, without the TS prefix 2016-10-06 13:21:58 -07:00
Paul van Brenk
cf4e30090a Merge branch 'master' into pvb/codeaction/api 2016-10-05 10:58:15 -07:00
Paul van Brenk
20dea29e39 Merge branch 'master' into pvb/codeaction/api
# Conflicts:
#	src/services/types.ts
2016-10-04 11:38:45 -07:00
Jason Ramsay
d186c83119 Add isGlobalCompletion to CompletionInfo for snippet injection 2016-10-03 17:45:11 -07:00
Mohamed Hegazy
af5148d4f3 Add back getSourceFile and mark it as deprecated 2016-09-19 12:17:12 -07:00
Paul van Brenk
3df79d5238 Merge branch 'master' into pvb/codeaction/api
# Conflicts:
#	src/compiler/diagnosticMessages.json
#	src/services/services.ts
2016-09-16 14:09:58 -07:00
Richard Knoll
ea3752aa18 Merge remote-tracking branch 'origin/master' into go_to_implementation_pr
Refactored goToImplementation out of services
2016-09-14 17:25:56 -07:00
Sam El-Husseini
f9492d0e73 method stub throwing an error for SessionClient 2016-09-09 13:07:31 -07:00
Richard Knoll
3ccc58c37d Merge remote-tracking branch 'origin/master' into go_to_implementation_pr 2016-09-06 14:11:38 -07:00
Richard Knoll
8728b9857d Adding comment and removing unnecessary object creation 2016-09-02 16:44:25 -07:00