Commit Graph
1892 Commits
Author SHA1 Message Date
Arthur Ozga 43e01f282b remove trivia 2017-03-22 14:50:01 -07:00
Arthur Ozga 2958649a95 Enum and enum literal 2017-03-22 14:34:14 -07:00
Arthur Ozga 5b739cf78c respond to comments 2017-03-21 22:54:06 -07:00
Arthur Ozga ac7fc8fe75 Handle TODO's 2017-03-17 11:54:51 -07:00
Arthur Ozga dee9ced060 add tests 2017-03-16 18:02:34 -07:00
Arthur Ozga 621c044790 remove test 2017-03-16 17:22:57 -07:00
Arthur Ozga 7318c2c5a9 some cleanup 2017-03-16 17:18:28 -07:00
Arthur Ozga 7b93a75e41 Merge branch 'master' into createTypeNode 2017-03-16 16:46:45 -07:00
Arthur Ozga 451b2d648f Add signatures test 2017-03-16 16:09:54 -07:00
Vladimir Matveev 595342615b abstract code in FindReferences from concrete way of creating result reference entry to seamlessly reuse the same code for gotoImplementation (#14637) 2017-03-16 15:53:05 -07:00
Zhengbo Li 5040e1d279 Mark occurence item in string with a special property (#14677)
* mark occurence item in string with a special property

* Adding trailing commas
2017-03-16 11:01:48 -07:00
Arthur Ozga ec997f3299 more temp 2017-03-16 09:52:19 -07:00
Arthur Ozga 0a2d7a7f94 temp
* added signature factory/visitor entry
2017-03-15 18:09:55 -07:00
Vladimir Matveev 2b10611fbf initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer (#14441)
initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer
2017-03-15 11:44:36 -07:00
Arthur Ozga 758e1ff8b7 temp 2017-03-15 09:06:59 -07:00
Arthur Ozga 18723d938f Merge branch 'vladima/textChanges' into createTypeNode 2017-03-14 16:46:09 -07:00
Arthur Ozga b8756597b8 test cleanup 2017-03-14 16:45:47 -07:00
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
Arthur Ozga 2fd3229568 Various fixes
* create type reference node from type parameters
* expose index signature synthesis
* widen types in helpers
* format unions
* use deep cloning
2017-03-14 14:35:23 -07:00
Arthur Ozga 27fe2df203 some missed token bugs 2017-03-13 20:20:26 -07:00
Arthur Ozga d298f960ab Refactor 2017-03-13 18:09:53 -07:00
Arthur Ozga 20f512cfd2 type parameters and basic object literals 2017-03-13 16:54:29 -07:00
Arthur Ozga ef72c2e5d5 Merge branch 'createTypeNode' of github.com:aozgaa/TypeScript into createTypeNode 2017-03-13 10:11:13 -07:00
Arthur Ozga f0b4efe94f type literals, properties only 2017-03-13 09:18:40 -07:00
Arthur Ozga 6c72283378 Use consistent quotes 2017-03-12 18:52:38 -07:00
Arthur Ozga f5f01a162f Simplify Ranges 2017-03-12 17:14:20 -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