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
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
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
Vladimir Matveev
e484305c98
allow backslashes in fileName argument of the transpile function
2015-09-03 13:31:57 -07:00
Vladimir Matveev
9a78b66068
allow backslashes in fileName argument of the transpile function
2015-09-03 09:25:43 -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
d4a45227ec
Don't assume the class declaration will occur first, and that it is *only* a class declaration.
2015-08-26 16:42:22 -07: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
Yui T
b9622780c2
Merge branch 'release-1.6' into fix3989
...
Conflicts:
src/services/services.ts
2015-08-26 11:07:19 -07: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
Yui T
bb7a132b0e
Address code review
2015-08-20 09:25: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
Vladimir Matveev
ffadce6335
always process imported modules in 'createProgram' to record module resolutions
2015-08-19 11:58:02 -07:00
Yui T
c5d5155234
Add comment and prevent completion in type paramter of class expression
2015-08-17 22:02:45 -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
Yui T
abc96936b5
Do not show completions in type parameter of type alias
2015-08-17 10:48:36 -07:00
Yui T
c57adeda1f
Fix null reference in type parametr of type alias
2015-08-15 17:02:08 -07:00
Vladimir Matveev
7e8cfa0859
allow transpiler to provide alternative names for dependencies
2015-08-14 13:00:41 -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
zhengbli
9dac516b26
CR feedback
2015-08-13 11:06:36 -07:00
zhengbli
03ea38f31f
Fix bugs and add support for @param expressions
2015-08-11 23:20:03 -07:00
zhengbli
5e9186b9ed
Enable intellisense in jsDoc tag @type brackets
2015-08-11 21:40:37 -07:00
zhengbli
0b6aeeca9d
Add JsDoc intellisense for JavaScript files
2015-08-11 20:18:05 -07:00
Mohamed Hegazy
bfa624c0c7
Merge pull request #4133 from Microsoft/addNewLineHelper
...
Add a helper for getting Newlines
2015-08-10 13:21:23 -07:00
zhengbli
b3f0a2a2e4
Merge branch 'master' into JSDocCommentScaffolding
2015-08-10 12:55:45 -07:00
Arthur Ozga
f9c82ea274
save files changed in refactoring
2015-08-07 14:24:30 -07:00
Arthur Ozga
e9fa806c9f
move helper and add capture of this
2015-08-07 14:01:07 -07:00
Tien Nguyen
3f3aea1380
Fix mistyped occurrence.
2015-08-06 16:17:19 -07:00
Vladimir Matveev
6455b8e59b
merge with master
2015-08-06 16:14:51 -07:00
Arthur Ozga
3e59651152
simplified docParams
2015-08-06 16:13:28 -07:00
Arthur Ozga
6b1838caec
change '*' to '-' in lists
2015-08-06 08:31:29 -07:00
Arthur Ozga
4ea3bb6485
Make 'predicate' optional and DRY
2015-08-05 16:22:27 -07:00
Vladimir Matveev
fc1e89ace5
addressed CR feedback: merged getDefaultModuleResolver and resolveModuleName into one function, added comments
2015-08-05 14:30:41 -07:00
Vladimir Matveev
03aaf7cd7c
addressed PR feedback
2015-08-04 21:22:37 -07:00
Vladimir Matveev
49ad395de1
resolveModuleName => resolvedModuleNames, added tests
2015-08-04 15:21:16 -07:00
Arthur Ozga
5c8e3518e9
fixed logging
2015-08-03 16:17:59 -07:00
Arthur Ozga
ae721d3a6f
respond to cyrus
2015-08-03 16:03:15 -07:00
Vladimir Matveev
f22c160a24
Merge remote-tracking branch 'origin/master' into reuseAndCache
2015-08-03 15:30:05 -07:00
Arthur Ozga
9d26b4eb41
Fixed newline handling
2015-08-03 15:09:49 -07:00
Arthur Ozga
8d07c6929a
rename feature
2015-08-03 14:28:21 -07:00