287 Commits

Author SHA1 Message Date
Ryan Cavanaugh
e3bb5d3f28 Update linting to avoid typechecking for booleanTriviaRule 2017-04-04 22:34:51 -07:00
Mine Starks
9c9b659f44 Merge pull request #14960 from minestarks/master
Expose JSDoc tags through the language service
2017-04-03 11:29:38 -07:00
Andy Hanson
130a24015a Fix options for typedef-whitespace lint rule 2017-04-03 09:38:37 -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
Mohamed Hegazy
8ea961714b Merge remote-tracking branch 'origin/master' into checkJSFiles 2017-03-27 21:23:26 -07:00
Jason Ramsay
d20cebf998 Merge branch 'master' into CancellationChecksForLowPriorityTasks 2017-03-27 14:49:41 -07:00
Mohamed Hegazy
e630ab1a31 Report semantic errors for JS files if checkJs is enabled 2017-03-27 14:20:00 -07:00
Bill Ticehurst
25d8367aaf Suppress semantic errors in JS only configured projects
(cherry picked from commit 4ee8bdb762f870351da9be51d13dae6c9328e72f)
2017-03-24 11:58:14 -07:00
Mohamed Hegazy
a710e9433b Do not report semantic diagnostics for infered and external projects with only .js files 2017-03-17 17:20:43 -07:00
Zhengbo Li
5040e1d279 Mark occurence item in string with a special property (#14677)
* mark occurence item in string with a special property

* Adding trailing commas
2017-03-16 11:01:48 -07:00
Vladimir Matveev
2b10611fbf initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer (#14441)
initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer
2017-03-15 11:44:36 -07:00
Andy Hanson
3bc125463b Add more missing semicolons 2017-03-03 07:00:52 -08:00
Jason Ramsay
21ef9078ad Wrapping LSHost's cancellationtoken with a throttle 2017-02-24 17:14:04 -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