Commit Graph

842 Commits

Author SHA1 Message Date
Vladimir Matveev
dae98be062 Merge pull request #737 from Microsoft/instanceof_cascading_errors
do not report cascading errors in instanceof operator
2014-09-24 11:09:21 -07:00
Jason Freeman
7bd7d4605e Merge pull request #726 from Microsoft/sigHelp
Signature help in the new compiler
2014-09-24 10:58:50 -07:00
Vladimir Matveev
9f23f74fc3 Merge pull request #736 from Microsoft/unary_operators_strict_mode
use operator token when checking unary expressions in strict mode
2014-09-24 10:56:10 -07:00
Vladimir Matveev
d52a93d58d Fix typo in comments 2014-09-24 10:53:55 -07:00
Jason Freeman
22e989795d Merge branch 'master' into sigHelp
Conflicts:
	src/compiler/checker.ts
	src/compiler/types.ts
	src/services/services.ts
2014-09-24 10:47:41 -07:00
Daniel Rosenwasser
dc9c3e168b Merge pull request #731 from Microsoft/acknowledgeTrivia
Use the 'skipTrivia' scanner flag for lexical classification
2014-09-24 13:39:50 -04:00
Jason Freeman
3dc686028a Address PR feedback for trailing commas 2014-09-24 10:36:44 -07:00
Vladimir Matveev
649f5c01a4 do not report cascading errors in instanceof operator 2014-09-24 09:10:40 -07:00
Vladimir Matveev
ef6a87cdfb use operator token when checking unary expressions in strict mode 2014-09-24 08:52:02 -07:00
Jason Freeman
de2ac51924 Change NodeArray to have a hasTrailingComma property instead of an OmittedExpression 2014-09-23 19:40:25 -07:00
Jason Freeman
ac88d8d274 More cleanup and PR feedback 2014-09-23 19:04:51 -07:00
Jason Freeman
66f9fe57aa Patch up signature help after the bug in getTokenAtPosition 2014-09-23 18:55:08 -07:00
Jason Freeman
6b4f8c61cd More PR feedback 2014-09-23 16:18:47 -07:00
Cyrus Najmabadi
d6fc3fc2da Code review feedback. 2014-09-23 15:41:04 -07:00
Jason Freeman
8f602804a3 Respond to PR comments 2014-09-23 15:34:42 -07:00
Cyrus Najmabadi
352cc0ef13 Merge branch 'master' into classifiedQuickInfo 2014-09-23 13:55:18 -07:00
Daniel Rosenwasser
1c73189fa1 No longer create an entire scanner when performing line classification. 2014-09-23 13:54:56 -07:00
Cyrus Najmabadi
3c68252e08 Simplify writing code. 2014-09-23 13:51:42 -07:00
Daniel Rosenwasser
d93c28efb2 Process unterminated multiline comments the same way we handle multiline strings. 2014-09-23 13:47:28 -07:00
Cyrus Najmabadi
7a4fb64233 Code review feedback. 2014-09-23 13:32:32 -07:00
Daniel Rosenwasser
292cfc8721 Use the 'skipTrivia' scanner flag for lexical classification. 2014-09-23 12:30:23 -07:00
Daniel Rosenwasser
4c87375078 Merge branch 'master' into braceYourselves 2014-09-23 08:25:28 -07:00
Daniel Rosenwasser
36308fd493 Inlined 'getMatchSpans'. 2014-09-22 19:03:13 -07:00
Jason Freeman
945eb7ce81 Add undefined check for tokenPrecedingSpanStart 2014-09-22 15:09:20 -07:00
Jason Freeman
bfde7ece13 Add test for nested calls 2014-09-22 15:05:33 -07:00
Jason Freeman
fd43211d6a Replace native division with integer division 2014-09-22 15:05:31 -07:00
Jason Freeman
2fa24a7e7a Throw when cancellation is requested 2014-09-22 15:05:29 -07:00
Jason Freeman
b38fc05b90 Don't return list index when looking for the argument list 2014-09-22 15:05:25 -07:00
Jason Freeman
102da2d80a Fix errors in signatureHelp.ts 2014-09-22 15:05:23 -07:00
Jason Freeman
4ba2142f8c Refactor signature help into separate file 2014-09-22 15:05:20 -07:00
Jason Freeman
ff24963a80 Initial draft of getSignatureHelpCurrentArgumentState 2014-09-22 15:05:18 -07:00
Jason Freeman
ab5ce84da8 Minor fixes in getSignatureHelpItems 2014-09-22 15:05:16 -07:00
Jason Freeman
2486aa92c6 Refactor collectCandidates and add type parameters to signature display 2014-09-22 15:05:12 -07:00
Jason Freeman
7367053313 Fix name printing in signature help 2014-09-22 15:05:10 -07:00
Jason Freeman
61d6663b32 Fill out more of the SignatureHelpItem and SignatureHelpParameter structures 2014-09-22 15:05:08 -07:00
Jason Freeman
1bfd7159e8 Further changes to parser for OmittedExpressions, and make checker resilient to them 2014-09-22 15:05:06 -07:00
Jason Freeman
9973b9c075 Add an OmittedExpression for trailing commas in calls 2014-09-22 15:05:03 -07:00
Jason Freeman
f28e931f78 Create SignatureHelpParameters 2014-09-22 15:05:01 -07:00
Jason Freeman
5e1bd0c5bf Add applicableSpan to SignatureHelpItems 2014-09-22 15:04:59 -07:00
Jason Freeman
9e81c5c09d Revert to old behavior for forEach 2014-09-22 15:04:57 -07:00
Jason Freeman
711d10aada Remove TrailingCommaBehavior in favor of two boolean parameters 2014-09-22 15:04:55 -07:00
Jason Freeman
d42c5ba86c Begin packaging of signature help items 2014-09-22 15:04:53 -07:00
Jason Freeman
67516a1f61 Extract findListItem from smart indenter 2014-09-22 15:04:51 -07:00
Jason Freeman
63f43e8352 Move findPrecedingToken to ServicesSyntaxUtilities 2014-09-22 15:04:49 -07:00
Jason Freeman
49ae281059 Start testing signature counts and adjust some syntactic computations 2014-09-22 15:04:47 -07:00
Jason Freeman
8a765d7680 Semantic filtering of candidate signatures 2014-09-22 15:04:45 -07:00
Jason Freeman
49fdb98081 Signature help present with completed signatures 2014-09-22 15:03:42 -07:00
Jason Freeman
927bab6565 Enable fourslash signature help tests 2014-09-22 15:03:40 -07:00
Mohamed Hegazy
95394220b4 Merge branch 'release-1.1'
Conflicts:
	Jakefile
	src/compiler/tsc.ts
2014-09-22 14:55:28 -07:00
Yui T
8947757d09 Merge branch 'master' into returnExitCode 2014-09-22 14:05:55 -07:00