Commit Graph

993 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
SaschaNaz
c9e237c2b3 Format template internal spaces 2015-10-05 07:02:22 +09: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
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
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
Mohamed Hegazy
bedeab73ed Merge pull request #5018 from SaschaNaz/formatAssignment
Indent expression statements
2015-09-29 15:12:40 -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
SaschaNaz
06bf74a029 indent expressions 2015-09-30 02:59:10 +09: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
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
zhengbli
7da4e4477e Add tests 2015-09-27 20:03:37 -07:00
Daniel Rosenwasser
d9559d58ca Merge branch 'grabParamsFromInitializers' 2015-09-25 17:11:33 -07: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
Daniel Rosenwasser
08e2b0a159 Added tests for dotted namespace declarations, object literal methods. 2015-09-24 17:09:16 -07:00
Daniel Rosenwasser
7f4f461a84 Amended tests. 2015-09-24 16:30:40 -07:00
Anders Hejlsberg
80e3b72816 Adding repro from #4818 to test 2015-09-24 15:46:00 -07:00
Daniel Rosenwasser
b2821c5321 Added tests for JSDoc comment templates on other declarations/statements. 2015-09-24 15:00:51 -07:00
Anders Hejlsberg
eb73565429 Adding tests 2015-09-24 13:52:19 -07:00
Vladimir Matveev
5078152a21 use formatting scanner with languageVariant=JSX for .tsx files 2015-09-22 14:57:23 -07:00
Anders Hejlsberg
285483d871 Merge branch 'master' into polymorphicThisType
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
2015-09-22 10:04:23 -07:00
Anders Hejlsberg
06a250effe Commenting out broken fourslash tests 2015-09-21 16:38:54 -07:00
Daniel Rosenwasser
76da69c6c6 Added failing fourslash test. 2015-09-18 12:22:48 -07:00
Daniel Rosenwasser
38b605ea7d Merge branch 'release-1.6'
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/program.ts
	tests/baselines/reference/emptyObjectBindingPatternParameter04.symbols
	tests/baselines/reference/emptyObjectBindingPatternParameter04.types
	tests/baselines/reference/nodeResolution5.errors.txt
	tests/baselines/reference/nodeResolution7.errors.txt
2015-09-15 13:36:08 -07:00
Mohamed Hegazy
3d8c336a4f Merge pull request #4632 from Microsoft/fixCompletionAssert
Fix completion assert
2015-09-08 15:39:19 -07:00
Vladimir Matveev
97b846c444 handle jsx identifiers correctly, indent content of JsxSelfClosingElement 2015-09-04 13:03:47 -07:00
Vladimir Matveev
2d37a44df4 Merge pull request #4646 from Microsoft/formattingJsxAttributes
handle jsx identifiers correctly, indent content of JsxSelfClosingEle…
2015-09-04 12:59:13 -07:00
Vladimir Matveev
35d608692b handle jsx identifiers correctly, indent content of JsxSelfClosingElement 2015-09-04 10:53:33 -07:00
SaschaNaz
b0f0dc1fd8 add tests for comments 2015-09-04 21:38:39 +09:00
Mohamed Hegazy
7a0c28ccc8 make the test more specific 2015-09-03 14:11:54 -07:00
Wesley Wigham
568e4a5601 sample 2015-09-03 13:54:08 -07:00
Vladimir Matveev
ff640e415f fix 'findPrecedingToken' for jsxText 2015-09-03 13:33:22 -07:00
SaschaNaz
58c732b47d format class expression indentation 2015-09-03 13:33:05 -07:00
SaschaNaz
40112c5137 fix test 2015-09-03 13:32:45 -07:00
SaschaNaz
b8071f99bc format intersection type 2015-09-03 13:32:34 -07:00
Vladimir Matveev
dc86736820 Merge pull request #4596 from Microsoft/jsxIndentation
fix 'findPrecedingToken' for jsxText
2015-09-03 13:29:44 -07:00
Vladimir Matveev
feddff0b7b Merge pull request #4622 from SaschaNaz/fixClassExpressionIndent
Fix class expression indentation
2015-09-03 11:59:50 -07:00
SaschaNaz
b8e91814bb fix test 2015-09-03 22:45:41 +09:00
SaschaNaz
dfde9e4e10 format intersection type 2015-09-03 22:33:07 +09:00