Commit Graph

1744 Commits

Author SHA1 Message Date
Mohamed Hegazy
0dac29f6f3 Merge branch 'master' into checkJSFiles 2017-03-15 12:35:26 -07:00
Vladimir Matveev
2b10611fbf initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer (#14441)
initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer
2017-03-15 11:44:36 -07:00
Mohamed Hegazy
3d03f8d8a5 Merge branch 'fixBuildBreak' into checkJSFiles 2017-03-08 23:17:28 -08:00
Mohamed Hegazy
b015c1d9b0 Allow @check directives to switch on/off checking in a file 2017-03-06 21:39:32 -08:00
Mohamed Hegazy
9f0c5ce141 Add support for //@check directives 2017-03-06 13:50:27 -08:00
Andy Hanson
8371eb6401 Update tslint to latest (next is still on 4.3) and lint for BOM 2017-03-01 10:37:13 -08:00
andy-ms
c2f4b202a4 Add more specific return type for getTypeParameters() 2017-02-26 17:48:27 -08:00
Ron Buckton
0f495fb694 Merge branch 'strictNullFactories' into publicTransformers 2017-02-16 12:41:58 -08:00
Yui
ca6f1c3a41 Merge pull request #13640 from Microsoft/wip-master-statelessOverload
Using overload to figure out function signature for SFC
2017-02-15 07:17:32 -08:00
Ron Buckton
23216f9ba1 Merge branch 'master' into genericDefaults 2017-02-14 19:19:18 -08:00
Kanchalai Tanglertsampan
e5cfe5c348 Merge branch 'master' into wip-master-statelessOverload
# Conflicts:
#	src/compiler/factory.ts
2017-02-14 15:21:06 -08:00
Arthur Ozga
6c2c2f8f3f use deduplicate 2017-02-14 11:30:19 -08:00
Arthur Ozga
21355982fd Offer missing abstract codefix once
* per class that is missing potentially many abstract members.
2017-02-13 16:58:14 -08:00
Ron Buckton
cd22d81c67 Merge branch 'master' into publicTransformers 2017-02-09 15:44:51 -08:00
Ron Buckton
2f624f5df3 Expose transformations as public API 2017-02-07 14:36:15 -08:00
Kanchalai Tanglertsampan
42c0816164 Merge branch 'master' into wip-master-statelessOverload 2017-01-31 11:33:07 -08:00
Andy Hanson
8515f7e2b5 Change find-all-references tests to test for groups
* Also always test for isWriteAccess and isDefinition
2017-01-31 06:59:16 -08:00
Ron Buckton
b58ef9e932 Merge branch 'master' into genericDefaults 2017-01-30 14:32:00 -08:00
Andy
65125791d2 Merge pull request #13643 from Microsoft/find_all_refs_default
Support find-all-references for default exports
2017-01-26 10:33:17 -08:00
Kanchalai Tanglertsampan
3e07398aee Merge branch 'master' into wip-master-statelessOverload 2017-01-24 14:18:39 -08:00
Andy Hanson
e8c3d548eb Fix tests 2017-01-24 12:56:21 -08:00
Nathan Shively-Sanders
053b3cd893 getFirstToken skips JSDoc
Fixes #13519.
This is a better fix than #13599.
Also fixes broken tests associated with #13599.
2017-01-23 16:01:29 -08:00
Anders Hejlsberg
5b9004e1bc Merge pull request #13604 from Microsoft/intersectionBaseTypes
Allow deriving from object and intersection types
2017-01-21 11:38:24 -10:00
Ron Buckton
76ba6a7f6a Merge branch 'master' into genericDefaults 2017-01-20 20:37:35 -08:00
Mohamed Hegazy
9ac7c322b5 Merge pull request #13599 from Microsoft/getFirstToken-returns-jsdoc
getFirstToken returns jsdoc as single comment
2017-01-20 17:01:02 -08:00
Nathan Shively-Sanders
1183129bda getFirstToken returns jsdoc as single comment
This is a bit odd, but it's the way that 2.0 and earlier behaved. 2.1
broke it.
2017-01-20 10:17:11 -08:00
Andy Hanson
1267fd3030 Don't use nameTable for type keywords, and don't handle keyof. 2017-01-20 06:41:57 -08:00
Anders Hejlsberg
a6c5306479 Allow object intersection types as class/interface base types 2017-01-19 13:58:09 -08:00
Kanchalai Tanglertsampan
ab2e14f24e Addressing code review in previous PR. Combining below commits
Address comment: fix spelling mistakes

Address comment: calling `checkApplicableSignatureForJsxOpeningLikeElement` from inside `checkApplicableSignature`

Address comment: fix spelling, rename function to be more consistent

Address comment: minor fix indentation, fix function name isObjectLiteralPropertyDeclaration => isObjectLiteralElement

Address PR: gotoDefinition return the last signature when there is an error in statelss function component

Address PR: convert Foreach to for...of

Address comment: fix type, inline code, clarify name of variables
2017-01-19 10:10:03 -08:00
Kanchalai Tanglertsampan
a39f9ef1a7 Update calling to getSpreadType and using set function when adding value to map 2017-01-19 09:46:15 -08:00
Kanchalai Tanglertsampan
16d1b5dc50 Add language service support for JSXAttributes
Add language service support for JSXAttributes

Add completion support

Add find-all-references support

Add goto-definition support
2017-01-18 15:15:26 -08:00
Andy Hanson
2d232c21a2 Support find-all-references for type keywords 2017-01-18 12:27:33 -08:00
Ron Buckton
3d3dae089f Adds support for type parameter defaults 2017-01-13 22:53:02 -08:00
Andy Hanson
8c5afd7f54 Merge branch 'master' into map5 2017-01-06 13:03:34 -08:00
Mohamed Hegazy
524fa64c8d Merge pull request #11547 from Microsoft/interfaceFixes
Codefix for implementing interfaces
2016-12-30 14:28:55 -08:00
Andy Hanson
145f0b2f18 Add createMultiMap to replace multiMapAdd and multiMapRemove 2016-12-28 09:33:43 -08:00
Andy Hanson
9e33585a80 Merge branch 'master' into map5 2016-12-27 12:56:05 -08:00
Kagami Sascha Rosylight
2a941a7222 inline length 2016-12-20 03:12:35 +09:00
Kagami Sascha Rosylight
27a60e4580 fix linting errors 2016-12-18 15:44:54 +09:00
Jason Ramsay
97641e7c3c NavigateTo is not working correctly for declarations in IIFEs
Fix: visit the node's children even when the function declaration name is undefined
2016-12-13 16:47:32 -08:00
Andy Hanson
b53b5cf4ab Remove the "set" function and use map.set with multiple lines of code if necessary. 2016-12-12 08:42:12 -08:00
Andy Hanson
55fc62bc45 Merge branch 'master' into map5 2016-12-12 07:50:09 -08:00
Arthur Ozga
d724517110 Merge branch 'master' into interfaceFixes 2016-12-09 13:28:05 -08:00
Andy Hanson
6b1cc8972d Use native maps when they're available 2016-12-08 06:40:31 -08:00
Anubha Mathur
31dde97bbd Allowing brace completion inside comments in JS and TS files 2016-12-07 15:58:05 -08:00
Arthur Ozga
4af0e2ab5b Merge branch 'master' into interfaceFixes 2016-11-28 14:13:10 -06:00
Nathan Shively-Sanders
409253145e Merge pull request #12335 from Microsoft/getJSDoc-cleanup
getJSDocs cleanup
2016-11-21 11:30:27 -08:00
Nathan Shively-Sanders
0c5429d3b7 Add missed jsDoc rename in services' Node implementation
Why would you implement an interface using a *class*?
2016-11-18 15:48:31 -08:00
Nathan Shively-Sanders
91e6bce34c Address PR comments 2016-11-18 15:44:15 -08:00
Arthur Ozga
69118cd3e4 Merge branch 'master' into interfaceFixes
* resolved conflicts with 4/ interface for codefixes
2016-11-16 17:13:31 -08:00