Commit Graph
16938 Commits
Author SHA1 Message Date
Mohamed Hegazy 3bc3f2d404 Add comments to kinds 2018-05-05 12:38:59 -07:00
Mohamed Hegazy 12ed49bada Revert adding named import binding list outlining spans 2018-05-05 12:04:12 -07:00
Mohamed Hegazy 8072dae16b Change kind name to imports 2018-05-05 12:02:40 -07:00
Mohamed Hegazy ea96638701 Fix indentation 2018-05-04 15:59:55 -07:00
Mohamed Hegazy 82381280cf Merge branch 'master' into importOutlining 2018-05-04 15:58:56 -07:00
Andy 21a6a9afcc Remove unused interface (#23905) 2018-05-04 15:51:46 -07:00
Wesley Wigham 618da24d6a Look at simplified types when checking distributive conditional constraints (#23884) 2018-05-04 14:35:39 -07:00
Andy df9e2621d2 Fix find-all-refs for import("mod").Foo where Foo is a typedef (#23881)
* Fix find-all-refs for import("mod").Foo where Foo is a typedef

* Add Debug.assertNever message

* Ensure SemanticMeaning is matched
2018-05-04 13:32:40 -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 2d725feb51 Add outlining span for named bindings in import declarations 2018-05-04 11:26:03 -07:00
Sheetal Nandi c4143ae0c1 Update the message for resolveJsonModule as per PR feedback 2018-05-04 11:14:39 -07:00
Sheetal Nandi 4e6586deb8 PR feedback 2018-05-04 10:45:46 -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
Ron Buckton b172311778 Merge pull request #23882 from Microsoft/reduceStackDepthPart1
Minor changes to reduce stack depth during emit
2018-05-03 16:46:11 -07:00
Ron Buckton 4c6e93b166 Merge pull request #23878 from Microsoft/vfsBaselines
New vfs baselines follow-up
2018-05-03 16:35:48 -07:00
Mohamed Hegazy e52efb04f3 Fix #22419: Add kind field to OutliningSpan 2018-05-03 16:28:55 -07:00
Ron Buckton de10e82e8a Add assertion message 2018-05-03 16:27:15 -07:00
Ron Buckton a7074e2054 Minor changes to reduce stack depth during emit 2018-05-03 16:04:52 -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
Wesley Wigham 0d7d75ec64 Add formatting rule for import type import keyword and open paren (#23872) 2018-05-03 14:57:01 -07:00
Andy 406ca06e8e Fix bug: JSDocPropertyTag is a declaration (#23876) 2018-05-03 14:19:15 -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
Andy bad3a44bb2 In insertNodeAfter, handle file with no trailing newline (#23814) 2018-05-03 12:58:42 -07:00
Wesley Wigham eb80e9a51c node builder should strive to preserve mapped type keyofness (#23815) 2018-05-03 12:38:31 -07:00
Wesley Wigham 23b9a23455 Ensure properties with computed names are visited (#23787) 2018-05-03 11:21:29 -07:00
Wesley Wigham 19a985eb24 Dont consider global augmentation top-level members as having the export modifier (#23846)
* Dont consider global argumentation top-level members as having the export modifier

* Remove unneeded test parts from repro
2018-05-03 11:21:11 -07:00
Wesley Wigham b467cd8a99 Move property errors to the name for the error span (#23865) 2018-05-03 10:55:44 -07:00
Wesley Wigham 616e6e6ca3 Move symbol instance type to es5 to follow PropertyKey (#23864)
* Move symbol instance type to es5

* Accept baseline changes from moving Symbol
2018-05-03 10:50:10 -07:00
Wesley Wigham 41182c2f0b Stop using circularity-unchecked-caching (#23808)
* Stop using circularity-unchecked-caching

* Add comment
2018-05-03 10:44:17 -07:00
Ron Buckton 56648ad0f1 Merge pull request #20763 from Microsoft/vfs
Update harness to use single robust virtual file system for tests.
2018-05-03 10:25:20 -07:00
Sheetal Nandi a196f163a7 Merge branch 'master' into sourceFileChangeAssert 2018-05-03 09:45:11 -07:00
Andy 724e656acb Don't show a definition at a 'require' call (#23822) 2018-05-03 08:02:56 -07:00
csigs 3387be886f LEGO: check in for master to temporary branch. 2018-05-03 10:10:31 +00:00
csigs e06c12e2a9 LEGO: check in for master to temporary branch. 2018-05-03 04:10:20 +00:00
Armando Aguirre 1d593fd81e Merge pull request #23191 from armanio123/AddVueSupport
Added deferred ScriptKind and renamed JsFileExtensionInfo to FileExte…
2018-05-02 18:13:34 -07:00
Ron Buckton 5b7bec898b Merge pull request #23839 from Microsoft/libsJson
Centralize lib management for build
2018-05-02 18:10:34 -07:00
Ron Buckton 88d5d6fccc Merge pull request #23834 from Microsoft/generateNamesEarlier
Pre-generate names ahead of time
2018-05-02 17:51:37 -07:00
Armando Aguirre b8ddc0dabb Rollback fileExtensionIs 2018-05-02 17:17:55 -07:00
Wesley Wigham 9c40d276ab Downlevel destructuring in module transformer if destructured variable has multiple names (#23832)
* Downlevel destructuring in module transformer if destructured variable has multiple names

* Alter indentation
2018-05-02 16:20:47 -07:00
Wesley Wigham b5b7fc4f1d Flag default imports with named imports as needing importStar (#23795)
* Flag default imports with named imports as needing importStar

* Restructure helpers a bit, add double-default testcase
2018-05-02 16:20:34 -07:00
Ron Buckton 147aeaba9d Centralize lib management for build 2018-05-02 15:49:52 -07:00
Andy 306418e171 fixAddMissingMember: Add a new PropertyDeclaration at the end of the first set (#23837) 2018-05-02 15:42:05 -07:00
Andy 5aa0a79dac Use 'firstDefined' in 'enablePlugin' (#23825) 2018-05-02 15:37:22 -07:00
Sheetal Nandi 55c5e8cb47 Fix the assert for orphan script info source change event 2018-05-02 15:11:39 -07:00