Commit Graph

5200 Commits

Author SHA1 Message Date
Yui T
b5b1b7b5bb Use symbol.getName for classExpression and functionExpression since it now correctly represent declared-name. 2015-07-07 15:26:01 -07:00
Yui T
872fdcf444 Merge branch 'master' into completionListWithLocalName
Conflicts:
	tests/cases/fourslash/renameLocationsForClassExpression01.ts
2015-07-07 15:17:42 -07:00
Daniel Rosenwasser
003c3a0641 Merge branch 'master' into semanticBindingPropNames 2015-07-07 14:48:30 -07:00
Daniel Rosenwasser
8cdd59f7be Merge pull request #3727 from Microsoft/elipsisMeansQuiet
Don't give back completions after stray dots
2015-07-07 14:45:59 -07:00
Daniel Rosenwasser
f2731e4033 Merge pull request #3757 from Microsoft/noImportClauseBuilders
Don't show builders in import clauses
2015-07-07 14:45:39 -07:00
Zhengbo Li
33df79d11e Correct "NodeList" to "NodeListOf" 2015-07-07 14:40:08 -07:00
Ryan Cavanaugh
719498eb0f Merge pull request #3770 from RyanCavanaugh/fix3764
Fix #3764
2015-07-07 14:38:26 -07:00
Ryan Cavanaugh
3ccaa0ee26 Cleanup 2015-07-07 14:33:59 -07:00
Zhengbo Li
70c4f08b10 Changed the return type of several well-known functions to NodeList<Element> 2015-07-07 14:30:38 -07:00
Ryan Cavanaugh
99fc99f3bc Improved fix from @JsonFreeman 2015-07-07 14:27:57 -07:00
Zhengbo Li
d6dc67d38f Add window.URL 2015-07-07 14:11:18 -07:00
Yui
42168e39ec Merge pull request #3769 from Microsoft/bindingAnonymouseWithName
Binding anonymous with name for functionExpression and classExpression
2015-07-07 13:28:38 -07:00
Yui T
48ae5ea6f8 Remove check if node is a block 2015-07-07 13:25:39 -07:00
Ryan Cavanaugh
006356d2a3 Whitespace 2015-07-07 12:53:53 -07:00
Daniel Rosenwasser
d353d62434 Addressed CR feedback. 2015-07-07 12:48:17 -07:00
Ryan Cavanaugh
311d20fa99 Fix bug #3737 (exported JSX classes props not validated) 2015-07-07 12:46:58 -07:00
Daniel Rosenwasser
00f7ba155b Merge branch 'master' into semanticBindingPropNames 2015-07-07 12:40:02 -07:00
Ryan Cavanaugh
1568bfd642 Mark 'React' symbol as used and error if it doesn't exist 2015-07-07 11:32:57 -07:00
Yui T
93a721cf1d Bind classExpression and functionExpression to its name if the expression is declared with name 2015-07-07 09:57:58 -07:00
Yui T
0148915daf Fix comment 2015-07-07 09:18:08 -07:00
Ryan Cavanaugh
f682980216 Merge pull request #3751 from RyanCavanaugh/fix3678
Properly parse keyword-like identifiers in JSX
2015-07-06 17:43:24 -07:00
Yui T
f4cd1ac868 Address code review, handle type parameter in completion list inside class expression 2015-07-06 17:03:33 -07:00
Daniel Rosenwasser
f20cc83288 Merge branch 'master' into noImportClauseBuilders
Conflicts:
	src/services/services.ts
2015-07-06 16:43:54 -07:00
Daniel Rosenwasser
15962e0bb1 Merge branch 'master' into elipsisMeansQuiet 2015-07-06 16:39:59 -07:00
Daniel Rosenwasser
204d96037f Merge pull request #3698 from Microsoft/noObjectBindingBuilder
Don't show a builder for property names in object binding patterns
2015-07-06 16:37:43 -07:00
Daniel Rosenwasser
be18381926 Removed unnecessary check. 2015-07-06 15:34:44 -07:00
Cyrus Najmabadi
3a26cd21f9 Adding comments. 2015-07-06 15:31:22 -07:00
Cyrus Najmabadi
1dfcc3ec0e Merge branch 'master' into cancellableDiagnostics
Conflicts:
	src/services/services.ts
	src/services/shims.ts
2015-07-06 15:19:57 -07:00
Daniel Rosenwasser
4906f41f94 Remove builder from import clauses. 2015-07-06 15:12:16 -07:00
Daniel Rosenwasser
52581678d4 Refactor completion code for object literals/bindings and import clauses. 2015-07-06 15:05:47 -07:00
Yui T
b01e4d82c3 Address code review 2015-07-06 14:18:47 -07:00
Cyrus Najmabadi
af94f1c5d0 Throttle how often we call into the host side to check for cancellation. 2015-07-06 14:04:42 -07:00
Yui T
7c52aaa4b8 Merge branch 'master' into completionListWithLocalName
Conflicts:
	src/compiler/checker.ts
2015-07-06 13:35:01 -07:00
Daniel Rosenwasser
cacc366809 Avoid unnecessary contextToken checking, addressed CR feedback. 2015-07-06 13:27:00 -07:00
Cyrus Najmabadi
bcd8cce03d Merge branch 'master' into cancellableClassification 2015-07-06 13:22:40 -07:00
Daniel Rosenwasser
be73f73beb previousToken -> contextToken 2015-07-06 13:00:10 -07:00
Anders Hejlsberg
71c6433514 Merge pull request #3622 from Microsoft/intersectionTypes
Intersection types
2015-07-06 12:58:28 -07:00
Ryan Cavanaugh
48c48417a6 Properly parse keyword-like identifiers in JSX 2015-07-06 11:42:06 -07:00
Yui T
6da98ce897 Fix comments 2015-07-06 10:51:43 -07:00
Jason Freeman
f126767eb3 Merge pull request #3724 from Microsoft/apparentTypeOfContextualType
Always get the apparent type when retrieving a contextual type
2015-07-06 10:18:21 -07:00
Arthur Ozga
f65a9e8d47 Merge branch 'master' into abstractConstructorAssignability 2015-07-06 09:40:20 -07:00
SaschaNaz
b402b63f3a Fixing first example 2015-07-05 01:22:13 +09:00
Anders Hejlsberg
fc1888ec8a Merge branch 'master' into intersectionTypes
Conflicts:
	tests/baselines/reference/APISample_linter.js
2015-07-03 11:26:38 -07:00
Anders Hejlsberg
144a635bc5 Changing comment per CR feedback 2015-07-03 11:20:44 -07:00
Ron Buckton
b294443c35 Merge pull request #3719 from Microsoft/createNodePos
Change default node pos/end to -1
2015-07-02 18:47:15 -07:00
Daniel Rosenwasser
935071f1c5 Don't show completion with dots not part of property accesses and qualified names. 2015-07-02 16:21:09 -07:00
Jason Freeman
0fcc63e33e Disallow modifiers on rest parameters 2015-07-02 16:13:38 -07:00
Daniel Rosenwasser
a61ec94501 Remove unnecessary check. 2015-07-02 16:04:34 -07:00
Jason Freeman
1085e39b9a Always take the apparent type when you retrieve a contextual type 2015-07-02 15:20:57 -07:00
Arthur Ozga
e2b858dbf8 Check abstractness via constructor return types 2015-07-02 14:53:03 -07:00