2626 Commits

Author SHA1 Message Date
Wesley Wigham
86dce41ec0
Move synthetic comments from arrow body expressions to return statement (#24135) 2018-05-15 13:11:38 -07:00
Andy
e1f22ac568
Combine signatureHelp testing methods (#24132) 2018-05-15 12:34:53 -07:00
Wesley Wigham
5756ae1fd8
External runner fixes (#24115)
* Add missing @types/node dep to so many projects, rename parent node_modules dirs so they dont participate in tests, sort errors

* Accept new baselines

* Satisfy linter
2018-05-15 11:15:08 -07:00
Andy
9b6378b938
Use SHA256 hash for project info telemetry (#24099)
* Use SHA256 hash for project info telemetry

* Update API baselines
2018-05-14 11:32:16 -07:00
Ron Buckton
672d8e5e9d
Merge pull request #24076 from Microsoft/fix24006
Cut back on more 'caught exceptions' from vfs
2018-05-14 09:24:26 -07:00
Ron Buckton
f5281d62cc Fix async generator rejection handling 2018-05-12 02:07:31 -07:00
Ron Buckton
70b6bd95c3 Cut back on more 'caught exceptions' from vfs 2018-05-11 20:44:21 -07:00
Armando Aguirre
5cc833a5f5
Merge pull request #24049 from armanio123/AddDeferredToProjectTelemetry
Add deferred to project telemetry
2018-05-11 13:07:32 -07:00
Alexader
60d39d7f18 add tests 2018-05-11 21:27:40 +03:00
Andrew Casey
020d6c7ba3
Merge pull request #24048 from amcasey/GH23366
Ignore case when sorting imports
2018-05-10 19:11:44 -07:00
Armando Aguirre
bb178d38bf Small test fixes 2018-05-10 18:18:43 -07:00
Andrew Casey
543c5daf9c Ignore case when sorting imports 2018-05-10 18:10:05 -07:00
Andrew Casey
7281bb7510 Stop deleting empty named import lists
Fixes #23892
2018-05-10 18:01:55 -07:00
Andy
6ae4d3a516
Add code fix to remove unreachable code (#24028)
* Add code fix to remove unreachable code

* Code review

* Preserve more kinds of statements
2018-05-10 16:44:48 -07:00
Andy
e33e229a52
Extract 'moduleSpecifiers' namespace out of importFixes (#24010) 2018-05-10 16:30:24 -07:00
Wesley Wigham
7580903959
Dump XML test results (#24034) 2018-05-10 14:59:51 -07:00
Wesley Wigham
fb49fbbd30
Update user baselines (#24032)
* Strip absolute paths from import types in captured baseline

* Accept updated user baselines
2018-05-10 13:08:45 -07:00
Andy
7271ec1240
Add 'move to new file' refactor (#23726)
* Add 'move to new file' refactor

* Code review, and support commonjs

* Compute movedSymbols completely before using, and support `export import`

* Fix assertion error: sort empty change before non-empty change

* Remove extra newline

* Add allowTextChangesInNewFiles preference

* Add the new file to 'files' in tsconfig

* Avoid parameter initializer

* Update API baselines

* Use path relative to tsconfig.json

* Code review

* Fix error where node in tsconfig file was missing a source file
2018-05-10 11:17:04 -07:00
Wesley Wigham
58c7d7c236
Fix RWC test case sensitivity (#24012)
* Fix RWC test case sensitivity

* Fix lint
2018-05-09 18:08:58 -07:00
Andy
da413d6fef
Remove unnecessary filtering of tsx completions (#24004) 2018-05-09 15:18:45 -07:00
Ron Buckton
5af7e06f72
Merge pull request #23972 from Microsoft/batchTestConfigurationsForBrowser
Batch enumerateFiles into a single web request
2018-05-09 14:15:42 -07:00
Ron Buckton
9b04dc3897 PR Feedback 2018-05-09 12:57:48 -07:00
Ron Buckton
b31968a598
Merge pull request #23982 from Microsoft/reduceVfsCaughtExceptions
Reduce number of 'caught exceptions' raised by vfs
2018-05-09 09:23:23 -07:00
Andy
7fb7eecf2c
Add telemetry for open JS files (#23833)
* Add telemetry for open JS files

* Send event every time

* Keep stats even for closed files

* Remove tsCheckCountForOpenFilesTelemetry

* Use 'info.path'

* Update API
2018-05-09 07:51:46 -07:00
Wesley Wigham
cb42086bab
Fix RWC tsconfig and lib paths (#23979)
* Fix RWC tsconfig paths

* Fix lints

* move helper from utils into vpath
2018-05-08 17:07:54 -07:00
Ron Buckton
ea953b5dd0 Reduce number of 'caught exceptions' raised by vfs 2018-05-08 15:05:11 -07:00
Ron Buckton
f09c350471 Batch enumerateFiles for multiple configurations into a single web request 2018-05-08 13:18:38 -07:00
Wesley Wigham
556c316fed
Make new harness fake host more performant in large complications (#23951)
* Make new harness fake host more performant in large complications

* Use sortedmap
2018-05-08 12:46:33 -07:00
Sheetal Nandi
12790e8d83
Merge pull request #23910 from Microsoft/moduleUpdates
Support invalidating resolutions that are path mapped into sibling folder of root
2018-05-08 12:41:11 -07:00
Wesley Wigham
8ab5be9a86
Add hook for adding transforms into the declaration emit pipeline after the main one (#23946)
* Add hook for adding transforms into the declaration emit pipeline after the main one

* Fix lint
2018-05-08 11:20:48 -07:00
Andy
ddf20ecd6d
Support '.' as a trigger character (#23890)
* Support '.' as a trigger character

* Add a CompletionsTriggerCharacter type

* Add more trigger characters

* Add another type CompletionsTriggerCharacter

* Update API baselines
2018-05-08 09:52:46 -07:00
Ryan Cavanaugh
ffa0ccba2a Project References Core support 2018-05-07 15:12:50 -07:00
Mohamed Hegazy
e39e6fc780
Merge pull request #23894 from Microsoft/importOutlining
Add outlining spans for Import declarations
2018-05-07 12:08:11 -07:00
Andy
7fa5f70b9a
Remove verify.referencesAre, verify.referencesOf, verify.rangesReferenceEachOther (#23900) 2018-05-07 10:08:38 -07:00
Mohamed Hegazy
8072dae16b Change kind name to imports 2018-05-05 12:02:40 -07:00
Mohamed Hegazy
82381280cf Merge branch 'master' into importOutlining 2018-05-04 15:58:56 -07:00
Sheetal Nandi
1a2fda0f56 Add support to update module resolutions on watches from mono repo like setup with path mapping
Fixes #22349
2018-05-04 15:39:06 -07:00
Sheetal Nandi
528bf84a7a Create a test case for module resolution when symlinked folder contents change and resolve modules
Test case for #22349
2018-05-04 15:14:28 -07:00
Sheetal Nandi
5ecfa782fc Few renames to distinguish between fs File and File in the test case to load in the VFS with watch 2018-05-04 15:10:23 -07:00
Sheetal Nandi
5133c70e7e
Merge pull request #22167 from Microsoft/requireJson
Resolve the modue names with "modulename.json" to json files when doing node module resolution
2018-05-04 12:42:10 -07:00
Sheetal Nandi
ec19733f61
Merge pull request #22072 from Microsoft/configFileWithIncorrectProjectRoot
Search till root just like tsc when the projectRootPath specified doesnt contain the info.path
2018-05-04 12:23:56 -07:00
Mohamed Hegazy
de13cc4692 Merge remote-tracking branch 'origin/master' into importOutlining 2018-05-04 10:40:58 -07:00
Mohamed Hegazy
f1713c92d3 Add outlining spans for import declarations 2018-05-04 10:39:47 -07:00
Mohamed Hegazy
1a320fcd5e
Merge pull request #23883 from Microsoft/outliningSpanKind
Fix #22419: Add `kind` field to `OutliningSpan`
2018-05-04 09:16:01 -07:00
Mohamed Hegazy
e52efb04f3 Fix #22419: Add kind field to OutliningSpan 2018-05-03 16:28:55 -07:00
Sheetal Nandi
92d08738d5 Merge branch 'master' into configFileWithIncorrectProjectRoot 2018-05-03 15:56:00 -07:00
Sheetal Nandi
15f9ea3d14 Merge branch 'master' into requireJson 2018-05-03 15:35:54 -07:00
Ron Buckton
f67afa098f Unpatch vfs resolver and default lib rename 2018-05-03 14:18:50 -07:00
Ron Buckton
9891b699a7 Unpatch project tests 2018-05-03 14:05:06 -07:00
Andy
38016f9300
Implement feedback on "Improve completions testing" (#23842) 2018-05-03 13:04:08 -07:00