Commit Graph

3092 Commits

Author SHA1 Message Date
Arthur Ozga
8020e24fda Merge branch 'vladima/textChanges' into createTypeNode 2017-03-14 18:40:39 -07:00
Arthur Ozga
e185ebb8d5 simplify rest param handling 2017-03-14 18:24:00 -07:00
Vladimir Matveev
323aa3a56c add asserts for cases when containing list cannot be determined 2017-03-14 17:17:16 -07:00
Vladimir Matveev
5775d27e32 respect initial order of changes 2017-03-14 17:08:35 -07:00
Arthur Ozga
18723d938f Merge branch 'vladima/textChanges' into createTypeNode 2017-03-14 16:46:09 -07:00
Arthur Ozga
e381ffaac7 don't add any typenode for signature return type 2017-03-14 16:25:51 -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
Zhengbo Li
c46a2e7e1b always create new node array when assigning positions 2017-03-13 12:45:28 -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
93cd1dc1ea get name for index info 2017-03-12 18:47:52 -07:00
Arthur Ozga
965d43c6a5 Print new nodes in correct order 2017-03-12 18:35:48 -07:00
Arthur Ozga
03511c0b09 snythesize methods in missing member fix 2017-03-12 16:36:03 -07:00
Arthur Ozga
d6863bea25 missing member fixes use createTypeNode 2017-03-12 12:49:29 -07:00
Arthur Ozga
bf2acf1d2c basic end-to-end building type nodes 2017-03-11 18:58:46 -08:00
Arthur Ozga
fff531ca25 more temp 2017-03-11 15:17:40 -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
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
Andy
6117ed7708 Merge pull request #14391 from Microsoft/lint_better
Update tslint to `latest` (`next` is still on 4.3) and lint for BOM
2017-03-07 11:41:55 -08:00
Andy
3295ca3c73 Merge pull request #14385 from Microsoft/path-completions
Move code from 'Completions' to 'PathCompletions' namespace
2017-03-06 09:11:44 -08:00
Andy Hanson
d58cfa238b Merge branch 'master' into lint_better 2017-03-06 06:20:48 -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
8bc21f9f68 Merge pull request #13597 from Microsoft/enum_member
Set ScriptElementKind for enum members to "enum member" instead of "const"
2017-03-03 07:35:22 -08:00
Andy Hanson
556e8c3845 Merge branch 'master' into enum_member 2017-03-03 07:04:40 -08:00
Andy Hanson
3bc125463b Add more missing semicolons 2017-03-03 07:00:52 -08:00
Andy Hanson
5f52549047 Merge branch 'master' into semicolon 2017-03-03 06:56:05 -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
b5c6221e36 Address PR 2017-03-01 17:46:35 -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
Ron Buckton
a0271ef6c4 Merge pull request #14177 from ajafff/parent-type
Add specific types to parent property of Node interfaces
2017-03-01 13:27:45 -08:00
Arthur Ozga
207b7b0449 Merge branch 'ImplementMissingThis' of github.com:aozgaa/TypeScript into ImplementMissingThis 2017-03-01 10:42:11 -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
Andy Hanson
8371eb6401 Update tslint to latest (next is still on 4.3) and lint for BOM 2017-03-01 10:37:13 -08:00
Andy Hanson
0f50a5ffa7 Move code from 'Completions' to 'PathCompletions' namespace 2017-03-01 08:29:33 -08:00
Andy Hanson
5ea43c8ba3 Merge branch 'master' into semicolon 2017-03-01 08:09:59 -08:00
Arthur Ozga
5bcbd7aabc instantiate generic this param correctly 2017-02-28 19:35:15 -08:00
Kanchalai Tanglertsampan
e74df1e38b Remove unnecessary comment 2017-02-28 15:51:41 -08:00
Kanchalai Tanglertsampan
d6085f75c4 Return completions for JsDoc tagname even when there are no "@' sign prefix 2017-02-28 15:41:35 -08:00
Andy Hanson
7afee8c3ab Fix formatting 2017-02-28 07:55:25 -08:00
Andy Hanson
cc4a3a830f Add check for undefined declarations 2017-02-27 14:18:46 -08:00
andy-ms
c2f4b202a4 Add more specific return type for getTypeParameters() 2017-02-26 17:48:27 -08:00
Arthur Ozga
1c25034a18 instantiate generic this param correctly 2017-02-22 16:15:16 -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