Commit Graph

1699 Commits

Author SHA1 Message Date
Sheetal Nandi
4c4ddf833d Merge branch 'master' into referencesPrototypeSourceFile 2019-08-21 15:42:36 -07:00
Sheetal Nandi
a35f7996a6 Do cleanup after opening files only if opening a file. 2019-08-13 11:41:08 -07:00
Sheetal Nandi
e10991413c Print program only if there are files are added or removed from the program. 2019-08-12 13:18:16 -07:00
Andrew Casey
6fe6cb3913 Correct string template 2019-08-09 14:32:34 -07:00
Andrew Casey
6c19c13094 Use an explicit type 2019-08-09 14:04:04 -07:00
Andrew Casey
6122e92802 Restore logging of the program file list 2019-08-09 12:34:40 -07:00
Ben Lichtman
9971e8b560 Merge pull request #32688 from uniqueiniquity/skipCOSForDTS
Avoid compile on save when there is no emit impact
2019-08-07 10:44:54 -07:00
Ben Lichtman
3646809ecd Move helper function outside class 2019-08-07 09:46:49 -07:00
Ben Lichtman
c0f187a4e8 Allow compile on save with decorator emit 2019-08-06 13:39:18 -07:00
Andrew Casey
01e1b1bb27 Merge pull request #32612 from mrcrane/etw-logger
Use optional module "@microsoft/typescript-etw" for ETW logging
2019-08-06 12:44:48 -07:00
Michael Crane
47e77c976b Remove unnecessary 'commandSucceeded' variable 2019-08-06 11:48:31 -07:00
Michael Crane
cca32f079c Remove more try-finally blocks 2019-08-02 16:49:50 -07:00
Ben Lichtman
5233bcc064 Avoid compile on save for declaration files 2019-08-02 15:53:54 -07:00
Michael Crane
fa3e9c86db Add PerfLogger and NullLogger to simplify conditional logic 2019-08-01 12:46:33 -07:00
Orta Therox
777d504580 Fix a typo in the error message around language service plugins 2019-08-01 12:12:26 -04:00
Bill Ticehurst
996e7e50d5 Use optional module "@microsoft/typescript-etw" for ETW logging 2019-07-29 15:32:40 -07:00
Sheetal Nandi
666c4be844 Merge branch 'master' into referencesPrototypeSourceFile 2019-07-25 14:03:48 -07:00
Sheetal Nandi
10ee85c98c Retain the configured project opened during opening client file even if opened file isnt included in that project
This helps not create and remove project on every open if tsconfig file isnt referenced by any open file
2019-07-25 12:38:26 -07:00
Sheetal Nandi
aab3069e64 Fix the assert of reporting file infos still attached to the project for circular json reference 2019-07-19 15:55:46 -07:00
Sheetal Nandi
103fe5fbc5 Merge branch 'master' into referencesPrototypeSourceFile
Uptodate to 3.6.0-dev.20190711
2019-07-11 12:05:36 -07:00
Sheetal Nandi
b631850978 Add option disableSourceOfProjectReferenceRedirect to disable using sources of project reference redirect from editor 2019-07-10 15:49:53 -07:00
Sheetal Nandi
824c22c460 Source of project reference behave as if those files cannot be emitted. 2019-07-09 14:52:27 -07:00
Ron Buckton
e8bf9584aa Improve type checking and inference for Generators and Async Generators (#30790)
* Improve typing for Generators and Async Generators

* Add TReturn and TNext to Iterator, IterableIterator, etc.

* Update ts internal Iterator to be assignable from global Iterator

* Make 'done' optional in IteratorYieldResult

* Revert Iterable and IterableIterator to simpler versions plus other fixes

* Add additional inference tests

* Added additional tests

* PR cleanup and minor async iteration type fix

* Updated diagnostics message and added non-strict tests

* Fix expected arity of Iterator/AsyncIterator
2019-07-03 21:55:59 -07:00
Sheetal Nandi
15b68a9396 Skip typechecking of source of project reference redirect 2019-07-03 15:39:29 -07:00
Sheetal Nandi
f7ea0bab60 Refactoring 2019-07-01 14:33:39 -07:00
Sheetal Nandi
4d13f53df8 Merge branch 'master' into referencesPrototypeSourceFile 2019-07-01 11:50:11 -07:00
Sheetal Nandi
f72af3be60 Verify the scenarios when d.ts directory of dependency doesnt exist 2019-07-01 11:34:57 -07:00
Sheetal Nandi
f6d7261288 Merge pull request #32147 from microsoft/noDtsWhenNotUsingProjectReferences
Watch generated file if it doesnt exist when trying to translate it to to source generated position
2019-07-01 10:22:16 -07:00
Sheetal Nandi
96a8c86c65 Merge branch 'master' into referencesPrototypeSourceFile 2019-06-28 12:42:22 -07:00
Sheetal Nandi
4ae091fa9e Update src/server/project.ts
Co-Authored-By: Orta <orta.therox+github@gmail.com>
2019-06-28 10:17:58 -07:00
Sheetal Nandi
da9260c013 Create original project when location is in source of project reference redirect 2019-06-27 10:38:52 -07:00
Andrew Casey
f1c781fa13 Merge pull request #31988 from amcasey/SyntacticClassifications
Trivially expose getEncodedSyntacticClassifications
2019-06-27 10:16:57 -07:00
Andrew Casey
2d785c8c91 Make args types internal 2019-06-26 15:09:30 -07:00
Sheetal Nandi
f4728682b7 Watch generated file if it doesnt exist when trying to translate it to to source generated position 2019-06-25 15:16:11 -07:00
Sheetal Nandi
3e49556a88 Watch generated file if it doesnt exist when trying to translate it to to source generated position 2019-06-25 15:11:44 -07:00
Andrew Casey
2953574eba Use getEncodedSyntacticClassifications 2019-06-21 14:48:22 -07:00
Sheetal Nandi
ecf875112b Check for language serivice enabled when including source files 2019-06-21 14:24:25 -07:00
Sheetal Nandi
c97be16fa1 Log the config of the project 2019-06-21 13:54:06 -07:00
Sheetal Nandi
0adab8934a Use source files instead of .d.ts files from project references 2019-06-21 13:14:28 -07:00
Wesley Wigham
37b20f6afd Eliminate references to defunct LSHost in comments (#32018) 2019-06-20 19:11:46 -07:00
Andrew Casey
6e50853143 Trivially expose getEncodedSyntacticClassifications 2019-06-19 15:48:23 -07:00
Sheetal Nandi
7ed3896a0a Merge pull request #31587 from microsoft/definitionSpan
Include declarationSpan as relevant declaration span when defintion or other places are declaration name
2019-06-18 14:07:15 -07:00
Sheetal Nandi
73bf2684ac Rename to use contextSpan 2019-06-13 12:41:21 -07:00
Sheetal Nandi
da2aa9781e Revert to using spread instead of mutating value later 2019-06-12 15:25:16 -07:00
Sheetal Nandi
a0d164f142 Merge pull request #31820 from microsoft/nodeModules
When resolving from typings cache, handle node code modules
2019-06-12 10:55:26 -07:00
Sheetal Nandi
2fd80b3142 When resolving from typings cache, handle node code modules
Fixes #29865
2019-06-07 16:21:39 -07:00
Sheetal Nandi
a6c72a0cf3 Do not watch tsconfig files from folders that we canot watch
Fixes #30818
2019-06-07 12:10:21 -07:00
Sheetal Nandi
a84ed93f72 Merge branch 'master' into definitionSpan 2019-06-06 14:13:09 -07:00
Benjamin Lichtman
d3b6ba557a Change test instead of behavior 2019-05-31 14:46:15 -07:00
Benjamin Lichtman
7ac5fa783b Refactor and add wildcard scenario 2019-05-31 11:24:54 -07:00