Sheetal Nandi
f6ac949596
Separate out LargeFileReferencedEvent test
2018-12-20 12:15:58 -08:00
Sheetal Nandi
04e190abb7
ProjectUpdatedInBackground in a separate unittest
2018-12-20 12:15:43 -08:00
Sheetal Nandi
39ec69e26e
Separate out tests for project loading events into their own unittest file
2018-12-20 12:15:25 -08:00
Sheetal Nandi
03d66dd2ef
Emit error tsserver tests into projectErrors
2018-12-20 12:12:54 -08:00
Sheetal Nandi
37a080bca9
tsserver's typingInstaller test into typingsInstaller unittest
2018-12-20 12:12:37 -08:00
Sheetal Nandi
1b6db32ecd
Move error tests from tsserver project system to projectErrors
2018-12-20 12:12:19 -08:00
Sheetal Nandi
53a6968f06
More refactoring for compile on save
2018-12-20 12:11:59 -08:00
Sheetal Nandi
347f89c851
tsc-watch emit tests in to its own tests
2018-12-20 12:11:36 -08:00
Sheetal Nandi
7b9b0f8da7
Split resolutionCache and watchApi tests into its own unittest
2018-12-20 12:11:07 -08:00
Sheetal Nandi
47200acfcd
Split watch environment into its own unittest
2018-12-20 12:10:28 -08:00
Sheetal Nandi
2a02077e37
Add name of test in all describe blocks in it
2018-12-20 12:09:42 -08:00
Sheetal Nandi
1ed67c0ebd
Accept test changes
2018-12-06 15:22:46 -08:00
Sheetal Nandi
fa7f5cb5a0
Actually verify when dependency and main project is open
2018-12-06 15:22:45 -08:00
Sheetal Nandi
6cb3065194
Test to verify presence of .d.ts file
2018-12-06 15:22:45 -08:00
Sheetal Nandi
3dc0d5a77c
Watch missing map file and update the source mapping accordingly
2018-12-06 15:22:44 -08:00
Sheetal Nandi
8f3d2d9f76
Goto defintion will not go to source if map is present
2018-12-06 15:22:44 -08:00
Sheetal Nandi
34a12839ba
Test that when map file is created the changes are reflected.
2018-12-06 15:22:44 -08:00
Sheetal Nandi
60ae299f0c
Add test to verify when depedency and main project is open
2018-12-06 15:22:44 -08:00
Sheetal Nandi
d86aeb2f00
TODOs
2018-12-06 15:22:43 -08:00
Sheetal Nandi
d0976509c9
Add tests and fix DocumentPositionMapper creation on updates to d.ts, source file, map file etc
2018-12-06 15:22:43 -08:00
Sheetal Nandi
56a39b754c
Keep alive declaration script info and map file info if source file info is alive
2018-12-06 15:22:42 -08:00
Sheetal Nandi
0aa4da43ad
Life time of declaration, sources and map infos
...
Map Info and sources is not ideal and need to revisited since we need to update mapper and projects correctly
// TODO: lifetime of source project and declaration map
2018-12-06 15:22:41 -08:00
Sheetal Nandi
5c920f3368
Dont unnecessarily make textStorage internal
2018-12-06 15:22:40 -08:00
Sheetal Nandi
12428d45c0
Add method on host to get DocumentPositionMapper so it can be cached.
2018-12-06 15:22:39 -08:00
Wesley Wigham
19de47f2db
Fix paths showConfig, exhaustively test showConfig
2018-12-04 16:24:25 -08:00
Andy
12f3d0d54c
Enable --strictPropertyInitialization ( #27558 )
...
* Enable --strictPropertyInitialization
* Code review
2018-11-16 16:02:23 -08:00
Andrew Casey
642803c182
Merge pull request #28559 from amcasey/FileSize
...
Expose aggregate file sizes in FileStats
2018-11-16 13:52:12 -08:00
Andrew Casey
5c1c34a16e
Add telemetry test
2018-11-16 11:00:41 -08:00
Andrew Casey
a8c634d70d
Restore useText
2018-11-16 10:48:06 -08:00
Andy
1089424035
Ensure getApplicableRefactors doesn't crash when given a position ( #28361 )
2018-11-16 09:30:37 -08:00
Andrew Casey
8bfdb4145d
Fix tests and lint
2018-11-15 16:00:35 -08:00
Andrew Casey
02d5cb045c
Expose file size from TextStorage
...
Since it's for telemetry, it prefers to return a stale value rather than
triggering file IO (though it will load the file if not even a stale
value is available).
2018-11-15 13:56:24 -08:00
Andy
da37457c72
When renaming an imported symbol, rename only in current file ( #28406 )
...
* When renaming an imported symbol, rename only in current file
* Improve re-export references
* Remember to use 'range' in for loop
* Uncomment tests
2018-11-14 09:09:00 -08:00
Sheetal Nandi
b0d85c0270
Merge pull request #28450 from Microsoft/libErrors
...
Remove lib file errors from builder cache when global files are to be emitted
2018-11-09 17:42:08 -08:00
Sheetal Nandi
941d97c45a
Handle global augmentation in the module
2018-11-09 16:41:18 -08:00
Sheetal Nandi
a27b29f025
Remove lib file errors when all files are to be emitted.
...
Fixes #26389
2018-11-09 14:43:01 -08:00
Ron Buckton
151dc074a8
Merge branch 'master' into sourceMapGenerator
2018-11-09 11:50:51 -08:00
Sheetal Nandi
9dbe037e84
Use seen map to avoid circular transitive exports to cause stack over flow
...
Fixes #28433
2018-11-09 09:22:39 -08:00
Sheetal Nandi
55fb052d7a
Allow creation of relative path file infos only for open script infos
...
Fixes #20476
2018-11-08 12:43:48 -08:00
Sheetal Nandi
7736ea4e93
Add tests that create relative path even though the script info isnt dynamic
2018-11-08 12:32:48 -08:00
Sheetal Nandi
b534fb4849
Merge pull request #27980 from EECOLOR/leading-slash-imports
...
match leading slash imports with path mappings - fixes #13730
2018-11-08 09:20:45 -08:00
Sheetal Nandi
3ec06038d5
Retain the casing in map files in file names
2018-11-07 13:47:30 -08:00
EECOLOR
1a9c20949e
path mappings now supports rooted disk paths and urls - fixes #13730
2018-11-07 22:19:04 +01:00
Sheetal Nandi
ab4be8da42
Fix the issue with file being included in the referencing project on rename when it wasnt included earlier
...
Fixes #28307
2018-11-07 11:30:39 -08:00
Sheetal Nandi
1d87250573
Fix the issue with file being included in the referencing project on rename when it wasnt included earlier
...
Fixes #28043
2018-11-07 09:48:27 -08:00
Sheetal Nandi
448f385e3c
Fix lint errors
2018-11-06 15:49:17 -08:00
Sheetal Nandi
4a51f12c3e
Add metadata to response if it exists for results from language service.
...
Currently its wired through for completions requests.
Handles #21999
2018-11-06 15:06:54 -08:00
Sheetal Nandi
597aacad88
Merge pull request #28346 from Microsoft/transitiveExports
...
When removing old diagnostics for files referencing modules that export affected file with signature change, delete the diagnostics of the module as well as anything that exports that module
2018-11-05 15:58:22 -08:00
Sheetal Nandi
23e7330ddb
When removing old diagnostics for files referencing modules that export affected file with signature change, delete the diagnostics of the module as well as anything that exports that module
...
Fixes #28328
2018-11-05 12:17:41 -08:00
Caleb Sander
3e10dedbce
Add diagnostic messages for bigints
2018-11-05 11:36:30 -08:00