Commit Graph

537 Commits

Author SHA1 Message Date
Cyrus Najmabadi
acbcd6c77f Merge branch 'master' into diagnosticsOrganization 2015-02-05 17:30:27 -08:00
Cyrus Najmabadi
337a99f62a Change the API for getting diagnostics so that all calls go through a Program instance. 2015-02-05 01:47:29 -08:00
Paul van Brenk
40824ed8a5 Added templates, assignement and arrays + tests. 2015-02-04 16:40:22 -08:00
Paul van Brenk
6e35f79412 Add builder support for variable declarations + test cases. 2015-02-04 14:03:26 -08:00
Paul van Brenk
e233da0fd6 Parameter destructuring + tests 2015-02-03 18:03:40 -08:00
Paul van Brenk
d9f678fd6d Rename the isBuilder property to something more meaningful. 2015-02-03 16:31:53 -08:00
Paul van Brenk
62bc9df899 Support for destructuring + test case. 2015-02-03 14:26:32 -08:00
Paul van Brenk
f8adf4ef9c Merge branch 'master' into LessAggresiveCompletionList 2015-02-03 12:04:07 -08:00
Vladimir Matveev
889264f457 ensure that autoformat is triggered by token characters 2015-02-02 22:21:41 -08:00
Paul van Brenk
5166d09d42 Merge branch 'master' into LessAggresiveCompletionList 2015-02-02 17:36:32 -08:00
Vladimir Matveev
732ebf2aeb fix crash in getReturnTypeFromFunctionBody if function declaration is incomplete and does not have body 2015-01-30 18:20:26 -08:00
Paul van Brenk
a9245d700f Merge branch 'master' into LessAggresiveCompletionList 2015-01-29 23:01:28 -08:00
Vladimir Matveev
a5ce3e126d Merge pull request #1792 from Microsoft/getScriptLexicalStructureWithbindingPatterns
handle binding patterns correctly when getting script lexical structure
2015-01-29 19:42:26 -08:00
Daniel Rosenwasser
26929ee5f2 Merge pull request #1816 from Microsoft/typeArgsInSuperCall
Contextually type parameters in super calls using type arguments on the base class.
2015-01-27 17:29:48 -08:00
Sheetal Nandi
a43bb47d7b Merge pull request #1697 from Microsoft/docCommentUnion
Fixes the duplicate doc comment display in case of union property
2015-01-27 14:21:39 -08:00
Daniel Rosenwasser
4646d63558 Fixed fourslash test. 2015-01-27 13:28:32 -08:00
Daniel Rosenwasser
93dbcf006f Contextually type parameters in super calls using type arguments on the base class. 2015-01-26 18:42:17 -08:00
Vladimir Matveev
17b19bf465 Merge pull request #1779 from Microsoft/scopeOfUnionProperties
handle union properties in when doing getOccurences\findAllReferences
2015-01-26 15:21:48 -08:00
Vladimir Matveev
f4ca318c39 add binding elements from variable declaration into script lexical structure 2015-01-24 00:17:55 -08:00
Vladimir Matveev
b05f2bf1a3 handle binding patterns correctly when getting script lexical structure 2015-01-23 17:08:30 -08:00
Vladimir Matveev
29776f4e9b Merge pull request #1782 from Microsoft/findAllRefs
use nameTable - services layer storage of identifiers in the file
2015-01-23 16:15:44 -08:00
Vladimir Matveev
da6070bcf7 fixed typo in test name 2015-01-23 15:39:50 -08:00
Vladimir Matveev
6040e55fa4 add 'find all references' test 2015-01-23 15:36:36 -08:00
Vladimir Matveev
05ec43a0f3 make sure that enum values are computed before the emit 2015-01-23 12:04:55 -08:00
Vladimir Matveev
379d03b5a7 use nameTable - services layer storage of identifiers in the file 2015-01-22 18:20:40 -08:00
Vladimir Matveev
0940d3bb3b handle union properties in when doing getOccurences\findAllReferences 2015-01-22 17:16:18 -08:00
Paul van Brenk
3bb817f000 Clean up after code review, white space etc. 2015-01-22 12:48:27 -08:00
Paul van Brenk
7bc8f1e9ca Merge branch 'master' into LessAggresiveCompletionList 2015-01-21 17:44:07 -08:00
Paul van Brenk
e4a24e97a3 Builder implementation for properties and parameters inlcuding tests. 2015-01-21 17:43:13 -08:00
Vladimir Matveev
7f749909da Merge pull request #1746 from Microsoft/formattingTemplateLiterals
fixed smart indentation\formatting in template literals
2015-01-20 17:54:47 -08:00
Paul van Brenk
cb4a1109d6 test cases for builder in constructor 2015-01-20 15:51:24 -08:00
Paul van Brenk
832af682ed Builder in constructor aruguments + tests. 2015-01-20 15:26:14 -08:00
Vladimir Matveev
8497667f33 drop trailing trivia prior to rescanning it 2015-01-20 14:44:24 -08:00
Paul van Brenk
4892381ab7 Merge branch 'master' into LessAggresiveCompletionList 2015-01-20 14:15:49 -08:00
Paul van Brenk
c0a5deadb8 Delete old modules completion list test. 2015-01-20 14:09:45 -08:00
Vladimir Matveev
a6d374ee21 fixed smart indentation\formatting in template literals 2015-01-20 14:07:01 -08:00
Paul van Brenk
189c8f81fe Support for builder in modules + tests 2015-01-20 13:15:21 -08:00
Paul van Brenk
8c26917146 Fourslash support for the builder property on completion lists. 2015-01-19 16:57:06 -08:00
Paul van Brenk
1d2554b166 Fix to make the completionlist work correctly when typing a new generic type + fourslash tests 2015-01-19 16:42:35 -08:00
Anders Hejlsberg
a2ecaf60f0 Merge branch 'master' into tsconfig 2015-01-19 14:50:18 -08:00
Sheetal Nandi
c46662fa72 Fixes the duplicate doc comment display in case of union property
Handles #1237
2015-01-16 12:58:10 -08:00
Anders Hejlsberg
50b0cb98cc Adding missing @module to several fourslash tests 2015-01-15 15:57:48 -08:00
Daniel Rosenwasser
bfe63cc4cb Merge pull request #1648 from Microsoft/contextualTypeParenthesizedExpressions
Contextually type parenthesized expressions
2015-01-14 14:52:07 -08:00
Jason Freeman
4a1851c7b8 Merge pull request #1562 from csnover/fix-1133
Ensure specialized signatures are always at the top when performing call candidate resolution
2015-01-13 17:33:57 -08:00
Paul van Brenk
54bf7adddb Add test case for completionlist when adding properties to a class. 2015-01-13 16:55:50 -08:00
Vladimir Matveev
150720bd70 when formatting lists check if end list token still belongs to the parent node 2015-01-13 14:22:53 -08:00
Daniel Rosenwasser
6783e35f89 Removed probably-unnecessary statement from test. 2015-01-11 00:21:37 -08:00
Daniel Rosenwasser
22174a17c6 Contextually type parenthesized expressions. 2015-01-09 15:10:32 -08:00
Jason Freeman
7459c87265 Merge branch 'release-1.4'
Conflicts:
	bin/lib.core.es6.d.ts
	bin/lib.es6.d.ts
	bin/tsc.js
	bin/typescript.d.ts
	bin/typescriptServices.d.ts
	bin/typescriptServices.js
	bin/typescriptServices_internal.d.ts
	bin/typescript_internal.d.ts
2015-01-05 15:08:17 -08:00
Colin Snover
435b44ce57 Put specialized signatures at the top of the list of call candidates
Fixes #1133.
2014-12-26 01:01:41 +00:00