Mohamed Hegazy
609008a520
Merge pull request #14387 from magnushiie/master
...
Add insert...Braces Option to Server Protocol
2017-03-01 11:21:44 -08:00
Andy
69060025ba
Merge pull request #12352 from Microsoft/untyped_module_symbol
...
Use a symbol for untyped modules to distinguish from unknownSymbol
2017-03-01 10:38:47 -08:00
Magnus Hiie
9ac2ea722d
Add insert...Braces Option to Server Protocol
...
Closes #13275
2017-03-01 18:48:08 +02:00
Andy Hanson
cc4a3a830f
Add check for undefined declarations
2017-02-27 14:18:46 -08:00
Nathan Shively-Sanders
44e1140cf6
Rename tests
2017-02-24 14:53:35 -08:00
Nathan Shively-Sanders
82b5655e66
Special prop assignment symbol applies only to lhs
...
In a Javascript file, the binder assigns a SpecialPropertyAssignment
marker to the BinaryExpression node of several kinds of special
assignments. Then it binds a special symbol whose declaration is that
BinaryExpression node. But the symbol only applies to the left-hand side
of the assignment. The right-hand side is an independent expression that
should have its own symbols.
Previously, symbol lookup in the checker didn't check whether a
Javascript node that was part of a special property assignment came from
the lhs or the rhs. So the right-hand side would also incorrectly get
the special symbol intended for the left-hand side.
`getSpecialPropertyAssignmentSymbolFromEntityName` in the checker now
checks that its argument is the left-hand side of an assignment before
returning a special property assignment symbol.
2017-02-24 14:22:55 -08:00
Zhengbo Li
2d4b4c9c80
Merge pull request #14014 from zhengbli/12233
...
Fix jsdoc typedef symbol scope + avoid bind twice if the type has a namespace prefix
2017-02-23 21:26:32 -08:00
Ron Buckton
cf72ceb093
Merge branch 'master' into asyncGenerators
2017-02-16 17:22:43 -08:00
Arthur Ozga
8a5bebe4de
Merge pull request #14097 from aozgaa/MissingPropertyFix
...
Missing property fix
2017-02-16 14:04:51 -08:00
Arthur Ozga
6e198f9c51
Merge branch 'master' into MissingPropertyFix
2017-02-16 13:40:27 -08:00
Arthur Ozga
1b6cf97766
widen type, index signature, and add tests
2017-02-16 13:37:35 -08:00
Andy Hanson
7fd711c81d
Handle undefined import name
2017-02-16 13:10:03 -08:00
Mohamed Hegazy
6c58938743
Merge pull request #13648 from Microsoft/functionAndClassProperties
...
Function and class properties
2017-02-16 12:27:14 -08:00
Arthur Ozga
18cba86e74
add tests
2017-02-14 18:10:21 -08:00
Arthur Ozga
f047a6ea31
wip testing
2017-02-14 17:57:25 -08:00
Arthur Ozga
9897c69492
wip
2017-02-14 17:30:28 -08:00
Kanchalai Tanglertsampan
e5cfe5c348
Merge branch 'master' into wip-master-statelessOverload
...
# Conflicts:
# src/compiler/factory.ts
2017-02-14 15:21:06 -08:00
Ryan Cavanaugh
aec310996c
Language service extensibility
2017-02-14 13:35:16 -08:00
Zhengbo Li
1f484a9a03
Merge pull request #13966 from zhengbli/13110
...
Delete the following new line when removing unused locals
2017-02-14 13:15:17 -08:00
Andy Hanson
e74c03aca3
Add missing filename to tsx test
2017-02-14 12:17:18 -08:00
Andy
0417e3f909
Merge pull request #14050 from Microsoft/tsx_completion
...
Detect non-tag uses of `<` in TSX completions
2017-02-14 12:13:15 -08:00
Arthur Ozga
c57fc1fa54
Merge pull request #14055 from aozgaa/UnduplicateAbstractMethodCodeFix
...
Unduplicate missing abstract member codefix
2017-02-14 11:42:28 -08:00
Mohamed Hegazy
db0e3762e9
Merge remote-tracking branch 'origin/master' into functionAndClassProperties
2017-02-13 21:02:17 -08:00
Mohamed Hegazy
90eef8940e
accept baseline change
2017-02-13 20:54:57 -08:00
Arthur Ozga
21355982fd
Offer missing abstract codefix once
...
* per class that is missing potentially many abstract members.
2017-02-13 16:58:14 -08:00
Andy Hanson
43aafb9f73
Merge branch 'master' into untyped_module_symbol
2017-02-13 14:51:27 -08:00
Andy Hanson
aa5c88f5a6
Detect non-tag uses of < in TSX completions
2017-02-13 14:44:05 -08:00
Ron Buckton
dedf4a7538
Merge branch 'master' into asyncGenerators
2017-02-13 13:53:34 -08:00
Andy Hanson
a3feb54d32
Merge branch 'master' into untyped_module_symbol
2017-02-13 13:35:16 -08:00
Nathan Shively-Sanders
46d9f37020
Merge pull request #12033 from Microsoft/add-undefined-to-default-valued-parameters
...
Add undefined to default-initialised parameters
2017-02-13 13:30:46 -08:00
Zhengbo Li
20cc428785
Fix jsdoc typedef symbol scope + avoid bind twice if the tag has a jsdoc namespace
2017-02-10 19:24:56 -08:00
Ron Buckton
3e427f4860
Merge branch 'master' into asyncGenerators
2017-02-10 09:46:06 -08:00
Mohamed Hegazy
4b8396bb6b
Merge branch 'master' into functionAndClassProperties
2017-02-09 15:28:31 -08:00
Mohamed Hegazy
4ec68481ba
Merge pull request #13903 from Microsoft/jsPropertyWidening
...
Widen special JS property declarations to match regular property declarations
2017-02-09 15:08:35 -08:00
Kanchalai Tanglertsampan
6dec0f5ea6
Add language service test when element type is a union type
2017-02-09 12:40:08 -08:00
zhengbli
e238b38278
Update some tests because the original marker will be deleted
2017-02-08 19:32:02 -08:00
zhengbli
dc78d3314f
Add test
2017-02-08 15:44:54 -08:00
Andy
51d4970ce0
Merge pull request #13760 from Microsoft/find_all_refs_tests
...
Change find-all-references tests to test for groups
2017-02-08 07:05:36 -08:00
Mohamed Hegazy
914150f2f1
Widen special JS property declarations to match regular property declarations
2017-02-06 09:57:12 -08:00
Kanchalai Tanglertsampan
56f31c3266
Address code review
2017-02-03 10:54:15 -08:00
Zhengbo Li
df643d8d02
Merge pull request #13405 from zhengbli/13137
...
Support import fix for missing namespace
2017-02-02 16:11:08 -08:00
zhengbli
e532744f16
Add test case for nested namespace
2017-02-02 14:14:40 -08:00
zhengbli
62f716aaa6
avoid removing comments when removing unused locals
2017-02-02 13:50:34 -08:00
Ron Buckton
5d415cac52
Merge branch 'master' into asyncGenerators
2017-02-02 12:11:44 -08:00
Zhengbo Li
12e8f91bf2
Merge pull request #13831 from zhengbli/importFixCasing
...
Fix casing in import quick fix
2017-02-02 10:05:11 -08:00
Andy Hanson
2f49eeca26
Remove useless test file
2017-02-02 08:29:00 -08:00
Zhengbo Li
6c56b3d957
Fix casing in import quick fix
2017-02-02 02:17:49 -08:00
Mohamed Hegazy
52841924da
Support string literal completion in case labels
2017-01-31 20:24:36 -08:00
Mohamed Hegazy
3b1b5e241f
Add string literal completion for equality expression
2017-01-31 16:44:59 -08:00
Kanchalai Tanglertsampan
42c0816164
Merge branch 'master' into wip-master-statelessOverload
2017-01-31 11:33:07 -08:00