Commit Graph

1004 Commits

Author SHA1 Message Date
Vladimir Matveev
912e49b668 do not indent token if its start line matches end line of previous token\trivia 2015-10-21 12:49:14 -07:00
Ryan Cavanaugh
b2d666c489 Merge pull request #5184 from RyanCavanaugh/fix5096
Don't issue completion in JSX text
2015-10-13 13:27:39 -07:00
Ryan Cavanaugh
6bbfe56dca Use memberListCount 2015-10-13 13:16:44 -07:00
Nathan Shively-Sanders
8a051343ff Merge pull request #5169 from Microsoft/fix-simple-uses-of-polymorphic-this-in-services
Fix simple uses of polymorphic this in services
2015-10-12 13:54:50 -07:00
Vladimir Matveev
c35419e12e add rule to insert space between async keyword and open paren 2015-10-11 22:19:51 -07:00
Paul van Brenk
573652160c Merge pull request #5197 from Microsoft/supportIndentStyle
Support different indentation styles
2015-10-09 16:51:39 -07:00
Ryan Cavanaugh
24334b506c Only show the opening tag name when completing a close tag
Fixes #5096
2015-10-08 15:32:36 -07:00
Ryan Cavanaugh
1e708b46a7 Implement not.greaterThan for completion list 2015-10-08 15:31:59 -07:00
Ryan Cavanaugh
b1c8303300 Fix case for completion on the line after a self-closing element 2015-10-08 14:55:11 -07:00
Ryan Cavanaugh
88bffac07f Don't issue completion in JSX text
Fixes #5096
2015-10-08 14:26:43 -07:00
Nathan Shively-Sanders
78ad0f4c82 Re-enable failing fourslash tests 2015-10-06 10:03:27 -07:00
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