Cyrus Najmabadi
8e757c044e
Merge branch 'master' into jsSigHelp
...
Conflicts:
src/services/outliningElementsCollector.ts
src/services/services.ts
2015-04-14 14:22:48 -07:00
Mohamed Hegazy
13ef271831
use @internal comment consistenlly
2015-04-10 16:32:02 -07:00
Mohamed Hegazy
1c91c2c5d0
Mark non-public API surface with the /* @internal */ comment
2015-04-09 14:18:14 -07:00
Cyrus Najmabadi
78a79140b3
Get sighelp for arbitrary functions working in .js files.
2015-04-06 14:10:04 -07:00
Cyrus Najmabadi
766d34d0dc
Rename variables to be consistent.
2015-04-03 16:55:54 -07:00
Cyrus Najmabadi
1178e84a68
Don't cache the typechecker at the LS level. Just get it when needed from the program.
2015-04-03 16:50:32 -07:00
Cyrus Najmabadi
35040b9a85
Use 'let' in the services code.
2015-03-13 13:11:17 -07:00
Cyrus Najmabadi
224de1db72
use for-of in more places.
2015-03-13 10:03:01 -07:00
Cyrus Najmabadi
05c2a3ef89
Add explanatory comments.
2015-03-11 15:30:33 -07:00
Cyrus Najmabadi
d9d90b2c02
Compute consistent argument indices and counts for signature help.
2015-03-11 15:05:31 -07:00
Paul van Brenk
80f9cf299c
fix check to allow for empty argument list
2015-03-06 15:09:19 -08:00
Paul van Brenk
8083bbf18f
Merge branch 'master' into signatureHelp
2015-03-06 14:30:21 -08:00
Paul van Brenk
e9cb12aeab
Add diagnostics for signaturehelp crash
2015-03-06 14:29:23 -08:00
Cyrus Najmabadi
c8399fc6c5
Use CRLF not LF.
2015-03-02 14:46:15 -08:00
Daniel Rosenwasser
3e8babedcf
Merge pull request #1271 from Microsoft/taggedSigHelpAtEnd
...
Fixed bug where tagged templates with a literal adjacent to EOF showed sig help past the end.
2015-02-12 11:37:32 -08:00
Cyrus Najmabadi
c2d4cd5887
Move TextSpan into the compiler layer.
2014-12-10 13:45:08 -08:00
Cyrus Najmabadi
5bd49fec1d
Initial entrypoint in SourceFile for the LS to call to peform incremental parsing.
...
Right now the entrypoint just causes a full parse to happen. But the LS code is
cleaned up to take advantage of it appropriately.
2014-12-10 11:45:33 -08:00
Sheetal Nandi
e3320c2530
Merge pull request #1362 from Microsoft/contextSensitiveExpressions
...
Resolve the context sensitive expression containers before resolving node
2014-12-04 13:02:56 -08:00
Sheetal Nandi
c3c44dc3c8
Some renaming and added comments as per feedback
2014-12-04 12:55:54 -08:00
Sheetal Nandi
1939c7f2cd
Fix the getSymbolInfo and getTypeOfNode entry points to resolve the context sensitive information before resolving the actual node
2014-12-03 14:47:13 -08:00
Cyrus Najmabadi
ed81cad39a
Remove the 'FunctionBlock' ast kind.
...
We don't want different AST forms for identical syntactic constructs ('Block' and 'FunctionBock').
This prevents reuse in incremental scenarios and forces the incremental parser to know when to
change between the two.
2014-12-02 22:52:21 -08:00
Cyrus Najmabadi
db89584a86
Put semantically relevant tokens in the tree.
2014-12-01 22:03:41 -08:00
Cyrus Najmabadi
f8f314868b
Merge branch 'master' into lessDirectCallsToError
...
Conflicts:
src/compiler/checker.ts
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/diagnosticMessages.json
2014-12-01 17:42:59 -08:00
Cyrus Najmabadi
d730e5ca55
Remove 'missing' syntax kind.
2014-12-01 16:17:04 -08:00
Daniel Rosenwasser
3cd0e9feb5
Merge branch 'unterminator' into taggedSigHelpAtEnd
...
Conflicts:
src/compiler/parser.ts
src/services/signatureHelp.ts
2014-11-26 13:33:55 -08:00
Daniel Rosenwasser
0e122b5633
Keep track of unterminated literal expressions.
2014-11-25 17:41:49 -08:00
Daniel Rosenwasser
5fd0701ce5
Fixed bug where tagged templates with a literal adjacent to EOF showed sig help.
2014-11-25 14:37:51 -08:00
Daniel Rosenwasser
ad39bdfb01
Merge branch 'master' into taggedSigHelp
...
Conflicts:
src/services/signatureHelp.ts
2014-11-24 16:34:00 -08:00
Daniel Rosenwasser
1bbb034891
Addressed CR feedback.
2014-11-24 16:24:15 -08:00
Daniel Rosenwasser
0404e8481e
Addressed some CR feedback.
2014-11-20 17:00:01 -08:00
Daniel Rosenwasser
db69ec1da6
getCallLikeInvoker -> getInvokedExpression
2014-11-19 11:57:01 -08:00
Yui T
1d78406bf8
Refactoring language service to use short-hand
2014-11-18 14:08:42 -08:00
Daniel Rosenwasser
69f7d39d43
Fixed template head offsetting.
2014-11-18 13:40:42 -08:00
Daniel Rosenwasser
fb91a518cf
Merge branch 'master' into taggedSigHelp
...
Conflicts:
src/services/signatureHelp.ts
2014-11-17 18:41:50 -08:00
Vladimir Matveev
ced8785bd3
eliminate usage of TypeScript module from services layer
2014-11-17 17:01:23 -08:00
Daniel Rosenwasser
34087bd9ec
Refactored code, adjusted for residing out of bounds of the template.
2014-11-17 15:13:58 -08:00
Daniel Rosenwasser
6f8f79efe2
Got sig help working in tagged no-sub templates.
2014-11-14 17:30:19 -08:00
Daniel Rosenwasser
64960cf873
Got sig help working in the template head.
2014-11-14 17:13:00 -08:00
Daniel Rosenwasser
15560a80ea
Stylistic changes/comment fixups.
2014-11-12 16:31:37 -08:00
Daniel Rosenwasser
1532f721d0
Initial signature help work for tagged templates.
2014-11-11 17:04:11 -08:00
Vladimir Matveev
a8e5aad6e8
use const enums in compiler
2014-11-03 23:31:38 -08:00
Daniel Rosenwasser
35cf95c146
Merge branch 'master' into templates
...
Conflicts:
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/diagnosticMessages.json
src/compiler/types.ts
src/services/utilities.ts
2014-10-28 19:06:07 -07:00
Daniel Rosenwasser
8786d30e9d
Changed Debug.assert's first parameter to a boolean.
2014-10-28 18:44:29 -07:00
Jason Freeman
b187a0abdd
Comment examples of when findListItemInfo can return undefined
2014-10-28 18:20:46 -07:00
Jason Freeman
4486c3be9d
Fix signature help crash when requested outside argument list
2014-10-28 18:20:24 -07:00
Jason Freeman
1b8814cdcd
Address PR feedback
2014-10-20 11:51:45 -07:00
Jason Freeman
c20e4f53ea
Produce SignatureHelpParameters from type parameters for generic help
2014-10-17 17:03:45 -07:00
Jason Freeman
808ded88d6
Signature Help relies on display building routines in checker
2014-10-17 17:03:43 -07:00
Jason Freeman
390b92dac0
Move getChildListThatStartsWithOpenerToken inside getSignatureHelpItems
2014-10-17 16:55:07 -07:00
Sheetal Nandi
58cfc985b9
Merge branch 'master' into symbolInfoFormatting
2014-10-08 18:25:42 -07:00