1215 Commits

Author SHA1 Message Date
Vladimir Matveev
112e4b1e80 Addressed PR feedback 2016-03-17 14:40:05 -07:00
Vladimir Matveev
6cfa64daa3 show completion in destructured parameter if containing function was contextually typed 2016-03-17 11:37:52 -07:00
Bill Ticehurst
3ebf0fc383 Fixed default import from export equals
(cherry picked from commit c4a10cfcdd51f831c3039e305c1c465a85c93b0b)
2016-03-09 19:13:14 -08:00
Bill Ticehurst
b760fc0ae0 Fixed es2015 imports from export=
(cherry picked from commit 9e46c180b4063e56eb947928615a3ebd46ecbe5e)
2016-03-09 19:13:13 -08:00
Ryan Cavanaugh
5dbf252dc5 Fix duplicate errors in JSDoc function types with anon parameters
Fixes #6993
2016-03-09 09:18:54 -08:00
Ryan Cavanaugh
311f8dd7d3 Merge pull request #7309 from RyanCavanaugh/fix6878
Support JSDoc on class / obj. literal getters
2016-03-03 15:50:15 -08:00
Ryan Cavanaugh
6cdbc6cad0 Show aliases (e.g. imports) in JSX tag completion positions
Fixes #4577
2016-03-01 13:47:29 -08:00
Ryan Cavanaugh
1f9153f801 Update to push types through as well 2016-03-01 12:26:17 -08:00
Ryan Cavanaugh
50eca44e46 Support JSDoc on class / obj. literal getters
Fixes #6878
2016-02-29 18:55:32 -08:00
Daniel Rosenwasser
3380f2bbd5 Merge pull request #7143 from SaschaNaz/formatJsxText
(Un)format JSX Text
2016-02-19 13:47:44 -08:00
Nathan Shively-Sanders
86047a7206 Switch test encoding from UTF16 to iso-8859 2016-02-19 08:27:08 -08:00
Nathan Shively-Sanders
974adedb95 Add fourslash test 2016-02-18 16:29:03 -08:00
Kagami Sascha Rosylight
33970b8045 format jsx 2016-02-19 09:16:52 +09:00
AbubakerB
de23e2ff74 Merge branch 'master' into constructorAccessibility
Conflicts:
	src/compiler/checker.ts
2016-02-16 22:49:23 +00:00
Daniel Rosenwasser
4353865f8b Merge pull request #7067 from Microsoft/removePredicateTypinessToMaster
(Porting to 'master') Remove notion of predicates as types, move predicates back to signatures
2016-02-16 11:58:47 -08:00
AbubakerB
2d7a0f4a25 Merge branch 'master' into constructorAccessibility 2016-02-14 20:58:53 +00:00
Bill Ticehurst
fb474d13dd Updated tests 2016-02-12 19:35:05 -08:00
Bill Ticehurst
f601e6dd76 Allow decorators in JavaScript files 2016-02-12 18:52:51 -08:00
Bill Ticehurst
e03a45a824 Fix fallback to classic resolution 2016-02-12 15:40:47 -08:00
AbubakerB
d0843e1dc2 Merge branch 'ts-master' into constructorAccessibility
Conflicts:
	src/compiler/checker.ts
2016-02-12 23:35:22 +00:00
Daniel Rosenwasser
ba392403cc Fixed up fourslash tests to only test functions. 2016-02-12 15:22:25 -08:00
Bill Ticehurst
e4462975c8 Fixed up paths in fourslash tests
(cherry picked from commit ed1eb2b274369749b16a6d4bbdd7257e5c8a4d2c)
2016-02-11 14:07:35 -08:00
Tingan Ho
6b303271f0 Go to defininition should not go to named import 2016-02-07 19:54:38 +08:00
Ryan Cavanaugh
a324176102 Merge pull request #6869 from RyanCavanaugh/fix6811
Recognize `=` as equivalent to `?` in JSDoc signatures
2016-02-04 15:48:03 -08:00
Ryan Cavanaugh
68befc0f12 Merge pull request #6851 from RyanCavanaugh/fix6814
Allow parsing TS-style generics in JSDoc
2016-02-04 15:37:53 -08:00
Ryan Cavanaugh
6f261f5b0b Merge pull request #6870 from RyanCavanaugh/fix6825
Recognize object literal method JSDoc comments
2016-02-04 10:17:43 -08:00
Ryan Cavanaugh
e347c3711c Add more complex test scenarios 2016-02-04 10:14:13 -08:00
Ryan Cavanaugh
665a4e310d Merge pull request #6850 from RyanCavanaugh/fix6654
Always show file tokens in JS completion lists
2016-02-04 09:57:26 -08:00
AbubakerB
c351ffcc75 Added and updated tests for constructor visibility 2016-02-03 22:48:33 +00:00
Ryan Cavanaugh
8aad976c69 Recognize object literal method JSDoc comments
Fixes #6825
2016-02-03 00:18:36 -08:00
Ryan Cavanaugh
f7eac73a6f Recognize = as equivalent to ? in JSDoc signatures
Fixes #6811
2016-02-03 00:09:38 -08:00
Ryan Cavanaugh
bd3e9f262a Merge pull request #6709 from RyanCavanaugh/fix6662
Don't crash when return type jsdoc tag is malformed
2016-02-02 13:40:13 -08:00
Ryan Cavanaugh
6e06bb39a1 Allow parsing TS-style generics in JSDoc
Fixes #6814
2016-02-02 13:32:21 -08:00
Ryan Cavanaugh
2c25bea0aa Always show file tokens in JS completion lists
Fixes #6654
2016-02-02 13:10:30 -08:00
Ryan Cavanaugh
554ea1b57c Merge pull request #6679 from RyanCavanaugh/fix6645
Allow multiple 'this' property assignments in Salsa
2016-02-02 12:49:09 -08:00
Ryan Cavanaugh
2d7a2f4d30 Merge pull request #6680 from RyanCavanaugh/fix6646
Parse JSDoc comments for ES6 class constructors and methods
2016-02-02 10:48:29 -08:00
Ryan Cavanaugh
b15ff81384 Add malformed parameter test 2016-02-01 21:48:16 -08:00
Ryan Cavanaugh
3dfd378b7e Add some tests 2016-02-01 21:20:37 -08:00
Ryan Cavanaugh
a4c6f66686 Treat multiple prototype property assignments as union property declarations 2016-02-01 20:59:37 -08:00
Vladimir Matveev
e6c6d3090a properly classify dotted tag names in jsx 2016-02-01 13:35:57 -08:00
Ryan Cavanaugh
bb7216a1ea Merge pull request #6741 from RyanCavanaugh/fix6673
Fixes bug #6673
2016-02-01 10:18:47 -08:00
Ryan Cavanaugh
f89ebb8fd8 Fixes bug #6673
#6673
2016-01-29 16:01:41 -08:00
Ryan Cavanaugh
5a845bf0fc Don't crash when return type jsdoc tag is malformed
Fixes #6662
2016-01-28 15:48:18 -08:00
Ryan Cavanaugh
124bd517e7 Don't show the currently-completing thing at the cursor in JS files
Fixes #6693
2016-01-28 15:18:50 -08:00
Ryan Cavanaugh
2ef6f13532 Merge pull request #6699 from RyanCavanaugh/fix6663
Use union types in the return type of functions in the error case
2016-01-28 13:30:03 -08:00
Zhengbo Li
31bf103212 Merge pull request #6632 from zhengbli/fixFindAllRefForSalsa
Fix find all references for salsa
2016-01-28 11:44:47 -08:00
Ryan Cavanaugh
2688dbd495 Merge pull request #6698 from RyanCavanaugh/fix6552
Recognize the RHS of assignments as the JSDoc target expression
2016-01-28 11:40:27 -08:00
Ryan Cavanaugh
da6e82f639 Use union types in the return type of functions in the error case
Fixes #6663
2016-01-28 11:39:19 -08:00
zhengbli
bf897c2939 Add more tests and comments 2016-01-28 11:26:32 -08:00
Ryan Cavanaugh
364b08854b Recognize the RHS of assignments as the JSDoc target expression
Fixes #6552
2016-01-28 11:02:49 -08:00