24026 Commits

Author SHA1 Message Date
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
Daniel Rosenwasser
8202150b58 Fixed fourslash bug for adjacent braces, courtesy of @mhegazy. 2014-09-22 11:12:40 -07:00
Daniel Rosenwasser
20f0860821 Moved to new tree for brace matching. 2014-09-22 10:35:06 -07:00
Yui T
94e788c737 Address code review 2014-09-22 09:43:47 -07:00
Cyrus Najmabadi
cfac0be7b8 Show documentation comments in quick info. 2014-09-22 01:26:52 -07:00
Cyrus Najmabadi
f4cdbfab18 Add support for getting the doc comment from a symbol. 2014-09-22 00:05:39 -07:00
Cyrus Najmabadi
e3609e20af Rename Comment->CommentRange. 2014-09-21 14:52:51 -07:00
Cyrus Najmabadi
276a735347 Include the values of constant enums in quick-info. 2014-09-21 14:25:09 -07:00
Cyrus Najmabadi
fae7a3560e Provide capability to ask the checker what the constant value of an enum member is. 2014-09-21 13:58:15 -07:00
Cyrus Najmabadi
89eff5608d Merge branch 'master' into classifiedQuickInfo 2014-09-20 14:43:30 -07:00
Cyrus Najmabadi
4143c242b5 Remove unnecessary indent. 2014-09-19 18:15:27 -07:00
Cyrus Najmabadi
e426c83017 Merge branch 'master' into fidelityParser 2014-09-19 17:53:07 -07:00
Cyrus Najmabadi
940951680a Update quickinfo formatting. 2014-09-19 17:33:25 -07:00
Cyrus Najmabadi
82160d1a88 Tweak the appearance to match the old managed LS behavior. 2014-09-19 17:10:44 -07:00
Cyrus Najmabadi
b43c123b53 More quick info work. 2014-09-19 16:49:58 -07:00
Yui T
76656f2460 Address code reviews 2014-09-19 16:18:16 -07:00
Cyrus Najmabadi
4d1a43a905 Update names. 2014-09-19 16:02:58 -07:00
Mohamed Hegazy
218bcd8c1e condition the use of locale on the exitance of JSON 2014-09-19 15:55:26 -07:00
Cyrus Najmabadi
b0c55b2389 Hook up quick info shims. 2014-09-19 15:32:27 -07:00