275 Commits

Author SHA1 Message Date
Andy Hanson
3bc125463b Add more missing semicolons 2017-03-03 07:00:52 -08:00
Vladimir Matveev
359823b4be ignore request for codefixes with no error codes (#14215) 2017-02-21 13:59:33 -08: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
Vladimir Matveev
bb71dcdde8 add projectUsesOutFile field to protocol.CompileOnSaveAffectedFileListSingleProject (#13915) 2017-02-08 11:01:32 -08:00
Andy Hanson
16bdaaa0a6 Fix positionToLineOffset conversion for getImplementation 2017-01-25 12:53:39 -08:00
Andy Hanson
30462e11ef Merge branch 'master' into map5 2017-01-11 12:24:47 -08:00
Andy Hanson
8c5afd7f54 Merge branch 'master' into map5 2017-01-06 13:03:34 -08:00
Joel Day
3a9a136e51 Changes based on feedback.
Whitespace cleanup.
Switching back to protocol.ts and reenabling stripInternal.
Marking internal symbols indirectly exported by dependencies of protocol.ts as internal.
2017-01-04 15:56:16 -08:00
Andy Hanson
9e33585a80 Merge branch 'master' into map5 2016-12-27 12:56:05 -08:00
Vladimir Matveev
e68161adfa when language service is disabled - build program using only open files (#12809) 2016-12-13 13:21:32 -08:00
Andy Hanson
55fc62bc45 Merge branch 'master' into map5 2016-12-12 07:50:09 -08:00
Vladimir Matveev
7da3383504 do not use ScriptVersionCache for closed files (#12777) 2016-12-08 16:17:42 -08:00
Andy Hanson
6b1cc8972d Use native maps when they're available 2016-12-08 06:40:31 -08:00
Vladimir Matveev
c1ec7eff08 remove projects that were no present in the input list in openExternalProjects (#12699)
remove projects that were no present in the input list in openExternalProjects
2016-12-06 16:44:46 -08:00
Vladimir Matveev
3b09010c7c enable syntactic features if project size exceeded the limit, send events when state of language service changes 2016-11-11 17:35:11 -08:00
Vladimir Matveev
4ffdea838a Ports #12051 and #12032 into master (#12090)
* use local registry to check if typings package exist (#12014)

use local registry to check if typings package exist

* enable sending telemetry events to tsserver client (#12035)

enable sending telemetry events
2016-11-07 13:36:08 -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
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
Vladimir Matveev
121f51e552 Merge pull request #11694 from Microsoft/vladima/reload-tmp
allow reload from temp files
2016-10-17 23:20:39 -07:00
jramsay
68c485d9f9 Merge pull request #11686 from Microsoft/AddIsSemanticToGetDiagnosticsWorker
TSServer: Add isSemantic check to getDiagnosticsWorker
2016-10-17 22:10:59 -07:00
Vladimir Matveev
05ebd1d5fb Merge pull request #11651 from Microsoft/vladima/literals-in-protocol
switch enums in protocol to unions of literal types
2016-10-17 15:46:55 -07:00
Jason Ramsay
b71e8a2167 Add isSemantic check to getDiagnosticsWorker 2016-10-17 13:11:13 -07:00
Andy Hanson
7292f9f67e Merge branch 'master' into map4 2016-10-17 06:49:53 -07:00
Zhengbo Li
a1cbfcae4b Add missing trigger file (#11641)
* Add missing trigger file property for config file diags

* Add test
2016-10-14 20:50:12 -07:00
Yui
cd04aa9995 Merge pull request #11541 from Microsoft/master_11339
[Master] Fix 11339; using localeCompare cause exception in window 2012 dueto Intl
2016-10-14 09:36:41 -07:00
Vladimir Matveev
dd26822cc0 Merge pull request #11594 from Microsoft/vladima/fix-11590
return result from SetCompilerOptionsForInferredProject request
2016-10-13 16:48:44 -07:00
Kanchalai Tanglertsampan
c03b04bd4f Only use localeCompare in CompareStrings 2016-10-12 14:26:30 -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
Paul van Brenk
9f73ae5903 Merge pull request #10185 from Microsoft/pvb/codeaction/api
The API to support codefixes
2016-10-11 19:51:18 -07:00
Zhengbo Li
460de66311 Turn on skipLibCheck for js-only inferred project and external project (#11399)
* Turn on skipLibCheck for js-only inferred project and external project

* avoid changing compiler options

* Update tests
2016-10-11 19:19:40 -07:00
Paul van Brenk
9b98d00155 Merge branch 'master' into pvb/codeaction/api 2016-10-11 17:31:20 -07:00
Kanchalai Tanglertsampan
d7e33c90a2 Guard localeCompare function 2016-10-11 13:51:53 -07:00
Andy Hanson
9385b84c62 Add "navtree" and "navtree-full" server commands 2016-10-11 08:32:37 -07:00
Zhengbo Li
3b0515fd8b Send config file diagnonstics event even when no errors were found (#11285)
* emit config diagnostics event when no errors found

* Add tests for project service events
2016-10-10 16:38:08 -07:00
Vladimir Matveev
997acaec7a update documentation in protocol.d.ts (#11501)
update documentation in protocol.d.ts
2016-10-10 16:04:14 -07:00
Paul van Brenk
a88ceb5597 Merge branch 'master' into pvb/codeaction/api 2016-10-07 14:02:24 -07:00
Paul van Brenk
a83a2b0de0 Codefixes in client for testing the server. 2016-10-07 13:58:53 -07:00
Paul van Brenk
c29e9b7e4b PR feedback 2016-10-07 10:31:12 -07:00
Paul van Brenk
1e9b6536cf Fix linting issues 2016-10-06 13:59:54 -07:00
Andy Hanson
aadcbcc083 Use native maps when they're available 2016-10-06 13:29:18 -07:00
Vladimir Matveev
59c0143934 do not run semantic classification on non-ts-or-tsx files 2016-10-05 14:49:16 -07:00
Paul van Brenk
4f404ad92b Implement codefixes in tsserver 2016-10-04 16:58:17 -07:00
Vladimir Matveev
1931ece855 linter 2016-09-30 16:41:00 -07:00
Vladimir Matveev
745f0342f6 expose 'gotoImplementation' for VS 2016-09-30 16:15:23 -07:00
Vladimir Matveev
f361ed19c1 fixes: merge issue in test baselines, linter 2016-09-27 15:04:34 -07:00