Commit Graph

639 Commits

Author SHA1 Message Date
Suhas Deshpande
8a11f15569 Add unit test 2019-06-18 22:50:48 -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
520f7e8067 Merge pull request #31818 from microsoft/sharepointIssue
Do not watch tsconfig files from folders that we canot watch (because they are at roots we want to ignore)
2019-06-12 10:47:17 -07:00
Daniel Rosenwasser
a7a0c3300d Improve ts6307 error (#31706)
Improve ts6307 error
2019-06-10 15:17:49 -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
6ed8aae683 Test when node typings dont get added on subsequent update graph because of invalid typing
Test for #29865
2019-06-07 16:19:56 -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
Sheetal Nandi
a67b375d0e Handle module specifiers 2019-06-06 13:39:04 -07:00
Sheetal Nandi
5c21fad12f Merge pull request #31432 from microsoft/builderAPI
Api for tsc --build and --incremental
2019-06-05 12:31:00 -07:00
Paul van Brenk
c5578a2b43 Update error message as requested by @danielrosenwasser 2019-06-04 19:08:34 -04:00
Paul van Brenk
a658f728a9 Include the project filepath in the error message for files not being
listed in the 'include' pattern. TS6307
2019-06-02 11:54:48 -04:00
Benjamin Lichtman
eb81feaf04 Merge pull request #31685 from uniqueiniquity/stopInvalidatingOnOpenFileSave
Stop invalidating module resolution cache when saving an open file
2019-05-31 20:36:33 -04: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
Benjamin Lichtman
a30cacb562 Add test 2019-05-30 16:56:27 -07:00
Andrew Branch
b8dcf27c3e Merge pull request #31482 from andrewbranch/bug/31338
Organize imports: don’t delete import declarations used for module augmentation
2019-05-30 14:01:55 -07:00
Sheetal Nandi
fd86f40d05 Include declarationSpan as relevant declaration span when defintion or other places are declaration name
Fixes #30849
2019-05-24 15:44:32 -07:00
Andrew Branch
60d0bb9b19 Don’t touch imports used for module augmentation in non-declaration files since it could change JS emit 2019-05-22 11:37:35 -07:00
Ron Buckton
3d2af9ff33 Relocate Debug namespace to reduce duplication (#31524) 2019-05-22 11:20:29 -07:00
Sheetal Nandi
1e7a77cf78 Merge pull request #31503 from microsoft/casing
Ignore drive letters when comparing casings of the files with forceConsistentCasingInFileNames
2019-05-22 09:25:34 -07:00
Sheetal Nandi
38f689d19e Merge pull request #31484 from microsoft/completionsSorting
Add sortText depending scope of symbols
2019-05-21 12:59:01 -07:00
Sheetal Nandi
43c7eb77e1 Switch to using File not found message instead of trace message file does not exit
Fixes #30872
2019-05-21 09:43:40 -07:00
Sheetal Nandi
db150517d7 Ignore drive letters when comparing casings of the files with forceConsistentCasingInFileNames
Fixes #31327
2019-05-21 09:32:17 -07:00
Sheetal Nandi
00cea41b65 Add sortText depending scope of symbols
Fixes #15024
2019-05-20 15:53:51 -07:00
Andrew Branch
6faeee449d Don’t remove imports that are used for module augmentation, just remove their import clauses 2019-05-20 14:49:28 -07:00
Andrew Branch
0f15bda45f Add failing test 2019-05-20 13:31:44 -07:00
Sheetal Nandi
138f757709 Fix the test since tsbuildinfo is now always emitted (629bc0c) 2019-05-16 12:50:17 -07:00
Sheetal Nandi
ec4ea0e474 Watch only built projects 2019-05-16 11:21:09 -07:00
Andrew Branch
15daf42b2c Merge pull request #31028 from andrewbranch/feature/smart-select
Smart Select language service API
2019-05-16 09:45:05 -07:00
Sheetal Nandi
0cb980dd6e Add api to build referenced projects 2019-05-15 15:28:13 -07:00
Sheetal Nandi
629bc0c04d Always emit tsbuild info if path says so (irrespecitive of if there exists bundle and project) 2019-05-15 11:54:17 -07:00
Sheetal Nandi
b3dac18679 Merge branch 'master' into builderAPI 2019-05-09 16:07:47 -07:00
Sheetal Nandi
97fcea14d5 Api to get next invalidated project 2019-05-09 16:02:26 -07:00
Klaus Meinhardt
0c9db717ad fix parsing of leading union/intersection operator (#31265)
* fix parsing of leading union/intersection operator

Fixes: #30995

* test declaration emit
2019-05-08 14:09:11 -07:00
Ron Buckton
0c1a283bf9 Add opt-in behavior for custom transforms to support bundles 2019-05-07 17:29:02 -07:00
Sheetal Nandi
9f9ae000cb Enable getSemanticDiagnosticsOfNextAffectedFile for EmitAndSemanticDiagnosticsBuilder 2019-05-07 16:32:52 -07:00
Sheetal Nandi
f017433857 Move everything into state so we can pass it around 2019-05-06 15:43:25 -07:00
Sheetal Nandi
71b190af61 Create api for buildNextProject 2019-05-02 16:15:40 -07:00
Sheetal Nandi
3da47963d5 Remove startWatching as explicit method from api 2019-05-02 15:22:07 -07:00
Sheetal Nandi
e8074f7fdc Rename cleanAll to clean and take optional project as input 2019-05-02 15:00:53 -07:00
Sheetal Nandi
5b361c8497 Make API to build project and wire cancellation token 2019-05-02 14:16:06 -07:00
Sheetal Nandi
9ba4ab1eae Merge branch 'master' into builderAPI 2019-04-30 12:36:07 -07:00
Kagami Sascha Rosylight
49d6f61298 Add ES2019 Object.fromEntries function (#30934)
* add ES2019 Object.fromEntries function

* add some comments

* apply suggested changes

* add readonly and general any
2019-04-30 09:49:58 -07:00
Sheetal Nandi
1a75c62ceb Remove resetBuildContext 2019-04-29 13:27:53 -07:00
Sheetal Nandi
ddee617e84 Make SolutionBuilder and SolutionBuilderWithWatch separate 2019-04-29 13:16:36 -07:00
Sheetal Nandi
92365027a1 Remove getUpToDateStatusOfFile from solution builder since that test anyways is tested with the --watch mode 2019-04-29 13:13:22 -07:00