SaschaNaz
06bf74a029
indent expressions
2015-09-30 02:59:10 +09: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
Daniel Rosenwasser
2692cde712
:%s/apst/apt
2015-09-25 17:10:58 -07:00
Daniel Rosenwasser
6bfc28f883
Try to grab parameters for single-declaration variable statements.
...
We only do this for a (parenthesized) function expression, arrow function,
or class expression with a constructor.
In the presence of a class expression, if there are multiple constructor
declarations, the parameters are acquired from the first one.
2015-09-25 16:30:26 -07:00
Daniel Rosenwasser
a458d4b2f4
Amended comments.
2015-09-25 13:59:47 -07:00
Daniel Rosenwasser
81dabb4d51
Ensure that doc comments don't appear between dotted names.
...
Also updated TODO
2015-09-24 17:11:05 -07:00
Daniel Rosenwasser
67b44b59c0
Add JSDoc to methods, constructors, classes, and namespace/module declarations.
2015-09-24 16:40:13 -07:00
Daniel Rosenwasser
1545ab56f3
Use a loop because reduce is unreadable.
2015-09-24 16:01:47 -07:00
Vladimir Matveev
5078152a21
use formatting scanner with languageVariant=JSX for .tsx files
2015-09-22 14:57:23 -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
Vladimir Matveev
98f31635f8
Check if imported file is a proper external module
2015-09-10 21:46:03 -07:00
Vladimir Matveev
04949a005c
Merge remote-tracking branch 'origin/master' into properExternalModules
2015-09-10 16:42:17 -07:00
Vladimir Matveev
e0c16b4332
Check if imported file is a proper external module
2015-09-10 16:00:44 -07:00
Mohamed Hegazy
7e1739604a
Fix #4727 : prerocess export import declarations correctelly
2015-09-10 13:24:45 -07:00
SaschaNaz
eb2d86aa7b
revert newlines
2015-09-10 02:20:15 +09:00
SaschaNaz
8cd8f863b3
remove type operation rules, add types instead
2015-09-10 01:41:21 +09:00
SaschaNaz
44009fa951
Housekeeping part from #4609
2015-09-10 01:37:34 +09: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
4aded270f7
move declaration into the block
2015-09-04 21:54:14 +09:00
SaschaNaz
59f5ce4582
fix comment indentation
2015-09-04 19:35:07 +09: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
b8071f99bc
format intersection type
2015-09-03 13:32:34 -07:00
Vladimir Matveev
e484305c98
allow backslashes in fileName argument of the transpile function
2015-09-03 13:31:57 -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
4f4c8ee12d
Merge pull request #4627 from Microsoft/backslashesInTranspile
...
allow backslashes in fileName argument of the transpile function
2015-09-03 13:29:27 -07:00
Vladimir Matveev
feddff0b7b
Merge pull request #4622 from SaschaNaz/fixClassExpressionIndent
...
Fix class expression indentation
2015-09-03 11:59:50 -07:00
Vladimir Matveev
9a78b66068
allow backslashes in fileName argument of the transpile function
2015-09-03 09:25:43 -07: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
Dick van den Brink
8028ab56c5
Fix occurrences on this in class expressions
...
Fix #4479
2015-08-28 22:11:01 +02:00
Daniel Rosenwasser
cabc0fff11
Merge pull request #4442 from SaschaNaz/formatFunctionType
...
Format function type (and others)
2015-08-27 14:52:52 -07:00
SaschaNaz
96174ba1a7
adding tests
2015-08-27 22:59:10 +09:00
SaschaNaz
b23215986c
adding constructor/parenthesized type
2015-08-27 19:03:35 +09:00
SaschaNaz
be97d03af0
union type rules
2015-08-27 18:26:00 +09:00
Daniel Rosenwasser
9f3c99e392
Don't assume the class declaration will occur first, and that it is *only* a class declaration.
2015-08-26 16:19:55 -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
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
zhengbli
582b0aa31e
parse jsdoc param tag even without a param name
2015-08-21 13:07:41 -07:00
Jason Ramsay
d1fa571113
replacing let with const
2015-08-20 15:17:04 -07:00
Jason Ramsay
e6c4019671
Updating the internal toolsVersion from 1.5 -> 1.6 in shims.ts
2015-08-20 14:48:03 -07:00
Yui T
bb7a132b0e
Address code review
2015-08-20 09:25:02 -07:00
zhengbli
d1253d56ac
Added null checks
2015-08-19 20:47:02 -07:00
zhengbli
b16536b60d
CR feedback
2015-08-19 16:02:36 -07:00
Yui T
4c44de6c5f
Write out type parameter in type alias in quick-info
2015-08-19 12:38:36 -07:00