Commit Graph
12444 Commits
Author SHA1 Message Date
Jason Freeman 66f9fe57aa Patch up signature help after the bug in getTokenAtPosition 2014-09-23 18:55:08 -07:00
Yui T 835d0ac551 Address code review 2014-09-23 17:58:53 -07:00
Yui T c0eeafb0d8 Update comments 2014-09-23 16:59:42 -07:00
Yui T 8f4ee917b2 remove external module from showing up on completion list 2014-09-23 16:43:07 -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 2c99556b31 Use push.apply to push multiple elements. 2014-09-23 08:18:37 -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
Daniel Rosenwasser 3ffed28a1d Moved brace matching code into services.ts 2014-09-22 13:34:35 -07:00
Mohamed Hegazy 09d6e4aaa6 Condition the custom serialization on the existance of JSON 2014-09-22 13:17:21 -07:00
Mohamed Hegazy 7e6bb85be4 Merge pull request #710 from Microsoft/JSONInEmitter
Add explict serialization logic for source maps to avoid using JSON
2014-09-22 12:47:48 -07:00
Mohamed Hegazy 4465fe1890 respond to code review comments 2014-09-22 12:47:26 -07:00
Daniel Rosenwasser 1be4fe1b61 Addressed code review feedback. 2014-09-22 12:00:45 -07:00
Mohamed Hegazy 804a3a5a57 Properly escape strings when serializing source maps 2014-09-22 11:50:31 -07:00
Daniel Rosenwasser be373647d0 Addressed CR feedback. 2014-09-22 11:43:52 -07:00