Commit Graph

1867 Commits

Author SHA1 Message Date
Vladimir Matveev
d4bb267ee3 add insertNodeInListAfter functionality 2017-03-14 16:13:33 -07:00
Vladimir Matveev
e7e1ac93ad Merge remote-tracking branch 'origin/master' into vladima/textChanges 2017-03-14 15:08:57 -07:00
Nathan Shively-Sanders
bdb6a8a83a Merge pull request #12784 from e-cloud/fix/generic-this-arg
fix: add generic info for methods with thisArg of built-in classes
2017-03-10 09:02:09 -08:00
Yui
940d165b0d Merge pull request #14212 from Microsoft/master-12989
[Master] Fix 12989:  completion in JSX opening-like element when tag name is a property access expression
2017-03-09 18:42:36 -08:00
e-cloud
5f5aa20816 test: adjust test case completionEntryForUnionMethod 2017-03-09 11:52:54 +08:00
Arthur Ozga
b7d09ef015 Make docComment template indent whitespace-only 2017-03-08 12:41:20 -08:00
Vladimir Matveev
d847e6a66a Merge remote-tracking branch 'origin/master' into vladima/textChanges 2017-03-07 15:10:41 -08:00
Anders Hejlsberg
56e2735f56 Fix fourslash test 2017-03-03 14:57:14 -08:00
Vladimir Matveev
d7e62bb9f7 initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer 2017-03-03 13:50:58 -08:00
Andy Hanson
b2f7d47977 Remove old commented-out code 2017-03-03 08:54:41 -08:00
Andy Hanson
556e8c3845 Merge branch 'master' into enum_member 2017-03-03 07:04:40 -08:00
Yui
5abb8f3caa Merge pull request #14371 from Microsoft/master-fix14254
[Master] Fix 14254: Return JsDoc tagName when there is no "@" sign prefix
2017-03-01 21:48:17 -08:00
Yui T
da51f39695 FIx minor stuffs 2017-03-01 21:11:34 -08:00
Kanchalai Tanglertsampan
34b68095d2 Add more tests 2017-03-01 17:46:46 -08:00
Arthur Ozga
e9fd831a9d Merge pull request #14140 from aozgaa/ImplementMissingThis
Implement Missing Property of Type `this`
2017-03-01 16:17:35 -08:00
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
Kanchalai Tanglertsampan
9bef19c54c Fix JsDoc tagname in tests 2017-03-01 09:19:47 -08:00
Magnus Hiie
9ac2ea722d Add insert...Braces Option to Server Protocol
Closes #13275
2017-03-01 18:48:08 +02:00
Arthur Ozga
5bcbd7aabc instantiate generic this param correctly 2017-02-28 19:35:15 -08:00
Kanchalai Tanglertsampan
441c5880d7 Update fourslash tests 2017-02-28 15:41:47 -08: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
Kanchalai Tanglertsampan
0290e20b8e Get completion of JSX attributes type when tag name is a property access expression 2017-02-21 10:54:28 -08:00
Arthur Ozga
2c3369e2a4 Merge branch 'master' into ImplementMissingThis 2017-02-17 14:25:00 -08:00
Ron Buckton
cf72ceb093 Merge branch 'master' into asyncGenerators 2017-02-16 17:22:43 -08:00
Arthur Ozga
7d82e15ee5 Add tests 2017-02-16 17:10:33 -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
Andy Hanson
a742f6271c Handle additional cases 2017-02-14 08:46:58 -08:00
Andy Hanson
1c080d11e6 Set ScriptElementKind for enum members to "enum member" instead of "const" 2017-02-14 06:35:49 -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