Commit Graph

2684 Commits

Author SHA1 Message Date
Mohamed Hegazy 53cff210fd Merge pull request #5103 from SaschaNaz/formatStringTemplates
Format template internal spaces
2015-10-05 16:01:10 -07:00
Anders Hejlsberg c7fdc0a6e5 Merge pull request #5099 from Microsoft/deferMemberInstantiation
Defer member instantiation
2015-10-05 12:46:49 -07:00
Wesley Wigham 28475c345d Change prologue emit location to inside module IIFEs 2015-10-05 11:22:16 -07:00
Nathan Shively-Sanders 4ecf4f4e71 Merge pull request #5086 from Microsoft/abstract-semicolon-insertion
Automatic semicolon insertion for class modifiers
2015-10-05 10:35:42 -07:00
Ryan Cavanaugh 1e3125b8ed Merge pull request #5046 from RyanCavanaugh/fix4675
Handle indirect imports of JSX elements from external modules
2015-10-05 10:28:07 -07:00
SaschaNaz c9e237c2b3 Format template internal spaces 2015-10-05 07:02:22 +09:00
Anders Hejlsberg 139b5545a0 Adding tests 2015-10-03 18:08:45 -07:00
Nathan Shively-Sanders be9548ade9 Merge branch 'master' into abstract-semicolon-insertion 2015-10-02 15:46:02 -07:00
Nathan Shively-Sanders 04510ac157 Automatic semicolon insertion for class modifiers
This includes public, private, protected, abstract

async and declare already work this way, but it looks
like they didn't block the completion list, so I added
them to the list too.
2015-10-02 14:30:31 -07:00
Ryan Cavanaugh 19b208cec6 Merge pull request #5040 from RyanCavanaugh/fix4688
Identify JSX Spread Attributes as Expression parents
2015-10-02 08:00:32 -07:00
Daniel Rosenwasser acef223f95 Merge pull request #5043 from Microsoft/findRefsOnVarInExtends
Correctly recognize value symbol presence of expressions in extends clauses
2015-10-01 12:36:12 -07:00
Ryan Cavanaugh 590569b87d Handle indirect imports of JSX elements from external modules
Fixes #4675
2015-09-30 15:20:56 -07:00
Daniel Rosenwasser 091e2344a3 Added failing test. 2015-09-30 14:29:15 -07:00
Ryan Cavanaugh c78149215b Add comments to bool params 2015-09-30 14:26:56 -07:00
Ryan Cavanaugh 81821ac36d Remove debugger statement 2015-09-30 14:25:52 -07:00
Daniel Rosenwasser e9dc1fbdfa Added one more test. 2015-09-30 14:10:33 -07:00
Daniel Rosenwasser 3f9f687948 Added failing test. 2015-09-30 13:49:21 -07:00
Ryan Cavanaugh 3bb66a130f JSX Spread Attributes are expression parents
Fixes #4688
2015-09-30 13:39:40 -07:00
Anders Hejlsberg cbe2f3df64 Merge pull request #4910 from Microsoft/polymorphicThisType
Polymorphic 'this' type
2015-09-30 13:18:33 -07:00
Ryan Cavanaugh a4db4be4b6 Merge pull request #5019 from RyanCavanaugh/fix4731
Issue correct completions in 'as' operator
2015-09-30 13:11:09 -07:00
Vladimir Matveev 87825ee11b Merge pull request #5024 from Microsoft/importsInAmbientModules
collect imports and exports in ambient external modules
2015-09-29 17:02:07 -07:00
Zhengbo Li 4ad216073c Merge pull request #4994 from zhengbli/i4959
Avoid deleting trailing white spaces in templates
2015-09-29 16:53:40 -07:00
Anders Hejlsberg 82c010e12a Adding contextual typing test 2015-09-29 15:26:27 -07:00
Mohamed Hegazy bedeab73ed Merge pull request #5018 from SaschaNaz/formatAssignment
Indent expression statements
2015-09-29 15:12:40 -07:00
Vladimir Matveev b4f326ab04 collect imports and exports in ambient external modules 2015-09-29 15:06:03 -07:00
zhengbli 16762a4ff0 Update tests 2015-09-29 13:56:57 -07:00
Ryan Cavanaugh 141813ca09 Issue correct completions in 'as' operator 2015-09-29 12:23:16 -07:00
Ryan Cavanaugh c452606cc1 Merge pull request #5007 from RyanCavanaugh/fix4514
Allow /* comments between < and JSX element name
2015-09-29 11:55:29 -07:00
Ryan Cavanaugh 784fe58e7e Merge pull request #5009 from RyanCavanaugh/fix4832
Correctly emit 'as' operator left operand as expression
2015-09-29 11:14:52 -07:00
Ryan Cavanaugh 1f1209581c Merge pull request #5008 from RyanCavanaugh/fix4574
Offer correct completion when between a boolean JSX attr and the close tag
2015-09-29 11:14:21 -07:00
SaschaNaz 06bf74a029 indent expressions 2015-09-30 02:59:10 +09:00
Vladimir Matveev bfa390e09e Merge pull request #4989 from Microsoft/relativeModuleNamesInImports
record resolution for relative file name if file was found via absolu…
2015-09-29 10:17:43 -07:00
Ryan Cavanaugh b2797bbaab Correctly emit 'as' operator left operand as expression
Fixes #4832
2015-09-28 17:24:59 -07:00
Ryan Cavanaugh b3d2c20ace Offer correct completion when between a boolean JSX attr and the close tag
Fixes #4574
2015-09-28 17:13:29 -07:00
Ryan Cavanaugh f780d68499 Allow /* comments between < and JSX element name 2015-09-28 16:11:10 -07:00
zhengbli fbb73b76c7 cr feedback 2015-09-28 15:52:09 -07:00
Vladimir Matveev 85a29d2c1a Merge pull request #4932 from Microsoft/formatMalformedTsx
use formatting scanner with languageVariant=JSX for .tsx files
2015-09-28 11:13:42 -07:00
Vladimir Matveev b046c3a570 Merge pull request #4980 from csnover/fix-4952
Put AMD dependency list inline with define call in UMD modules
2015-09-28 10:41:23 -07:00
zhengbli 7da4e4477e Add tests 2015-09-27 20:03:37 -07:00
Vladimir Matveev e53646a0cd harden the implementation of Program.getSourceFile to handle all relative file names correctly 2015-09-27 13:32:13 -07:00
Anders Hejlsberg 1c9fae8e0c Add tuple type test 2015-09-27 09:05:17 -07:00
Vladimir Matveev dae5a626da record resolution for relative file name if file was found via absolute name 2015-09-26 21:29:07 -07:00
Anders Hejlsberg 19319b2208 Adding test for declaration files 2015-09-26 15:56:00 -07:00
Anders Hejlsberg abd2a8526d Adding tests 2015-09-26 12:58:53 -07:00
Daniel Rosenwasser d9559d58ca Merge branch 'grabParamsFromInitializers' 2015-09-25 17:11:33 -07:00
Colin Snover f3969048c5 Put AMD dependency list inline with define call in UMD modules
Fixes #4952.
2015-09-25 23:57:47 +00:00
Daniel Rosenwasser 7b7e62ce72 Modified/added tests. 2015-09-25 16:27:58 -07:00
Daniel Rosenwasser 0ab9536f73 Merge pull request #4978 from Microsoft/expandDocTemplateCoverage
Expand JSDoc template generation locations (to 'master')
2015-09-25 15:28:28 -07:00
Daniel Rosenwasser 43a6eb8171 Switched parameter name to array binding pattern. 2015-09-25 11:43:29 -07:00
Vladimir Matveev b866781609 Merge pull request #4946 from Microsoft/constInitializersInEnums
align behavior of constant expressions in initializers of ambient enu…
2015-09-24 21:49:35 -07:00