949 Commits

Author SHA1 Message Date
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
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
SaschaNaz
8d1d0d8d70 format class expression indentation 2015-09-03 22:07:52 +09:00
Vladimir Matveev
538d5b9480 fix 'findPrecedingToken' for jsxText 2015-09-01 12:41:48 -07:00
Mohamed Hegazy
7f6608b2b9 Merge pull request #4537 from Microsoft/unionSubtypeReduction
Union subtype reduction
2015-08-28 17:48:57 -07:00
Anders Hejlsberg
00e7c46ea9 Fixing fourslash tests 2015-08-28 15:59:37 -07:00
Dick van den Brink
1f8de043a1 Added tests for getOccurrences on this in class expressions 2015-08-28 22:11:09 +02:00
Daniel Rosenwasser
59782a98eb Merge pull request #4525 from SaschaNaz/formatFunctionType
Add two template literal tests
2015-08-28 08:52:49 -07:00
SaschaNaz
019993ea8b remove spaces 2015-08-28 23:13:15 +09:00
SaschaNaz
0703535381 Do not replace but do extend 2015-08-28 23:12:30 +09:00
Daniel Rosenwasser
cabc0fff11 Merge pull request #4442 from SaschaNaz/formatFunctionType
Format function type (and others)
2015-08-27 14:52:52 -07:00
Yui
4a75f93934 Merge pull request #4503 from Microsoft/fixClassExpClassfication
Fix classification for class expression
2015-08-27 13:58:30 -07:00
Yui T
4c51626469 Add tests 2015-08-27 13:16:10 -07:00
SaschaNaz
3e572f5b71 change some template literal tests 2015-08-28 00:00:34 +09:00
SaschaNaz
96174ba1a7 adding tests 2015-08-27 22:59:10 +09:00
Daniel Rosenwasser
9eef4b8f47 Added tests. 2015-08-26 15:48:49 -07:00
SaschaNaz
a74ca1801e adding rules, ParenthesizedType not yet 2015-08-27 03:33:36 +09:00
Yui T
b9622780c2 Merge branch 'release-1.6' into fix3989
Conflicts:
	src/services/services.ts
2015-08-26 11:07:19 -07:00
Yui T
9b04405e20 Add test and address PR 2015-08-25 16:53:12 -07:00
SaschaNaz
c0a87e9947 fixing function type formatting 2015-08-26 02:01:33 +09:00
Zhengbo Li
ecaf16df4b Merge pull request #4283 from zhengbli/JsDocIntellisense2
Add Intellisense to JsDoc
2015-08-21 16:08:37 -07:00
Ryan Cavanaugh
b6f38891f0 :rage1: debugger; 2015-08-21 14:46:32 -07:00
Ryan Cavanaugh
00d4b4cb50 Correctly identify JSX Expressions as Expression parent nodes
Fixes bug #4404
2015-08-21 14:43:14 -07:00
zhengbli
582b0aa31e parse jsdoc param tag even without a param name 2015-08-21 13:07:41 -07:00
Mohamed Hegazy
b395fb9f45 Merge branch 'master' into outFile
Conflicts:
	src/harness/fourslash.ts
2015-08-20 17:46:38 -07:00
Mohamed Hegazy
f95fcf9671 Emit tsx files correctelly in getEmitOutput calls 2015-08-19 22:18:32 -07:00
Yui T
dddc76b156 Add quick info test for type parameter in type alias 2015-08-19 12:39:36 -07:00
Yui T
bef4e8d58e remove commented test 2015-08-17 22:04:54 -07:00
Yui T
c5d5155234 Add comment and prevent completion in type paramter of class expression 2015-08-17 22:02:45 -07:00
Yui T
ab20cf9f14 Add test for completion in type parater of type alias 2015-08-17 22:02:05 -07:00
Schmavery
6f42e4164b Apply suggested fixes to arguments PR 2015-08-17 18:33:48 -07:00
Schmavery
2b3da9a49e Add arguments to completion list #4249 2015-08-17 17:13:17 -07:00
zhengbli
2a3867a742 CR feedback. Add more tests. 2015-08-17 15:35:27 -07:00
Vladimir Matveev
b6b735c0f2 merge with master 2015-08-17 14:38:24 -07:00
Vladimir Matveev
a88bfbd651 Merge branch 'master' into reuseAndCache 2015-08-17 14:36:17 -07:00
SaschaNaz
bcde56202e fix jsxelement formatting 2015-08-16 17:27:23 +09:00
Anders Hejlsberg
7376e4845d Merge pull request #4200 from Microsoft/unionPartialSignatures
Partial matches in union type signatures
2015-08-13 23:16:48 -07:00
Mohamed Hegazy
e34238cb92 Merge pull request #4305 from ToddThomson/SpaceWithinNonEmptyBrackets
Add Spacing for Nonempty Brackets Formatting Option
2015-08-13 15:00:13 -07:00
ToddThomson
0415cc7f68 Addresses PR comments
Removed all spaces from nonempty parenthesis in code for this PR.
Modified the input string for testing the
InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets option in the
fourslash test.
2015-08-13 14:06:56 -07:00
ToddThomson
9146d9bc2f Add Spacing for Nonempty Brackets Formatting Option
User formatting option to add single space after opening and before
closing nonempty brackets.
2015-08-13 11:56:35 -07:00
SaschaNaz
f832bd20f2 fix class expression + expressionWithTypeArgument 2015-08-14 03:45:52 +09:00
zhengbli
ffaf8e08d9 Add test 2015-08-11 23:54:25 -07:00
Daniel Rosenwasser
9717427130 Merge pull request #4276 from SaschaNaz/typeAssertionFormattingFix
Fix generics/type-assertion formatting
2015-08-11 12:22:08 -07:00
SaschaNaz
dfcc1e6944 fix generics/type-assertion formatting 2015-08-11 23:47:44 +09:00
zhengbli
b3f0a2a2e4 Merge branch 'master' into JSDocCommentScaffolding 2015-08-10 12:55:45 -07:00