Ron Buckton
f1e8e611ab
Updated formatting for decorators
2015-03-17 14:21:01 -07:00
Daniel Rosenwasser
122721005b
Merge pull request #2385 from Microsoft/completeIsCompleteNode
...
More thorough node completed-ness checking
2015-03-17 11:35:26 -07:00
Daniel Rosenwasser
857d1e0bb6
Fixed case for index signatures.
2015-03-17 07:42:24 -07:00
Daniel Rosenwasser
6a6839a1b3
Always indent on tuple type literals.
2015-03-16 23:10:36 -07:00
Daniel Rosenwasser
686a10085c
Moved construct signature down appropriately, fixed logic for function-like constructs.
2015-03-16 23:05:03 -07:00
Daniel Rosenwasser
905e46e20f
Account for call signatures properly.
2015-03-16 22:40:58 -07:00
Daniel Rosenwasser
a7f57cbe41
Indentation within binding patterns.
...
Fixes #2380 .
2015-03-16 22:09:17 -07:00
Daniel Rosenwasser
686d1c60de
A more complete isCompletedNode.
2015-03-16 21:33:39 -07:00
Mohamed Hegazy
7430f3c9c7
Merge branch 'master' into exportDefaultType
...
Conflicts:
src/compiler/checker.ts
2015-03-15 14:23:40 -07:00
Mohamed Hegazy
ebcb86b077
enable navbar for export defaults
...
Conflicts:
src/services/navigationBar.ts
2015-03-15 13:22:54 -07:00
Cyrus Najmabadi
1ab0ef9f16
Use 'let' in the services layer.
2015-03-13 14:54:05 -07:00
Cyrus Najmabadi
b199691843
Use 'let' in the services layer.
2015-03-13 14:25:50 -07:00
Cyrus Najmabadi
12d0bc4d30
Use 'let' in the services layer.
2015-03-13 14:24:40 -07:00
Cyrus Najmabadi
bf40a683ad
Use 'let' in the services layer.
2015-03-13 14:22:03 -07:00
Cyrus Najmabadi
fd98f19363
Use 'let' in the services layer.
2015-03-13 14:15:20 -07:00
Cyrus Najmabadi
eb8150cbe2
Use 'let' in the services layer.
2015-03-13 14:12:39 -07:00
Cyrus Najmabadi
35040b9a85
Use 'let' in the services code.
2015-03-13 13:11:17 -07:00
Cyrus Najmabadi
d10a54c6b0
Use for-of in more places.
2015-03-13 10:36:29 -07:00
Cyrus Najmabadi
224de1db72
use for-of in more places.
2015-03-13 10:03:01 -07:00
Mohamed Hegazy
a6a8a96249
Support an optional type annotation on export default statement
2015-03-12 22:52:54 -07:00
CyrusNajmabadi
b38743c793
Merge pull request #2307 from Microsoft/sigHelpIndex
...
Compute consistent argument indices and counts for signature help.
2015-03-11 16:02:00 -07:00
Cyrus Najmabadi
05c2a3ef89
Add explanatory comments.
2015-03-11 15:30:33 -07:00
Cyrus Najmabadi
63ba645791
Remove unnecessary code.
2015-03-11 15:08:28 -07:00
Cyrus Najmabadi
d9d90b2c02
Compute consistent argument indices and counts for signature help.
2015-03-11 15:05:31 -07:00
Vladimir Matveev
4b955ee91a
added for* statements to isCompletedNode
2015-03-11 14:03:32 -07:00
Vladimir Matveev
efcf0e6f57
introduce CaseBlock as a block-scoped container for switch statements
2015-03-10 17:50:54 -07:00
Bill Ticehurst
24141f05db
Merge pull request #2245 from billti/ExportVersion
...
Made the 'version' string an exported property
2015-03-07 21:40:32 -08:00
Bill Ticehurst
a6816fc128
Added description to version exports
2015-03-07 20:12:16 -08:00
Cyrus Najmabadi
a76eb69996
Add an 'isVariableLike' helper function.
2015-03-06 18:45:45 -08:00
Anders Hejlsberg
5c56684187
Merge branch 'master' into exportDefault
...
Conflicts:
tests/baselines/reference/exportAssignDottedName.errors.txt
2015-03-06 17:20:44 -08: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
Anders Hejlsberg
a87c45711f
Renaming SymbolFlags.Import to SymbolFlags.Alias
2015-03-04 10:26:38 -08:00
Anders Hejlsberg
91e8b821ad
Merge branch 'master' into exportDefault
...
Conflicts:
src/compiler/checker.ts
tests/baselines/reference/contextualTyping.js.map
tests/baselines/reference/contextualTyping.sourcemap.txt
tests/baselines/reference/out-flag.js.map
tests/baselines/reference/properties.js.map
tests/baselines/reference/recursiveClassReferenceTest.js.map
tests/baselines/reference/sourceMap-FileWithComments.js.map
tests/baselines/reference/sourceMap-FileWithComments.sourcemap.txt
tests/baselines/reference/typeResolution.js.map
2015-03-04 06:39:10 -08:00
Anders Hejlsberg
61167b68ba
Fixing a few issues
2015-03-03 17:06:44 -08:00
Cyrus Najmabadi
c8399fc6c5
Use CRLF not LF.
2015-03-02 14:46:15 -08:00
Cyrus Najmabadi
e452cff5a7
Make fields internal.
2015-03-02 14:08:32 -08:00
Cyrus Najmabadi
08439b7a89
Expose a way to get the name table from the LS.
2015-03-01 15:42:23 -08:00
Cyrus Najmabadi
0cbe55ba4e
Merge branch 'master' into intern
2015-03-01 15:33:47 -08:00
Cyrus Najmabadi
b58f16b021
Don't intern all strings and numbers. Just the ones used as declaration names.
2015-03-01 14:30:38 -08:00
Mohamed Hegazy
70d5f9c8e7
Merge pull request #2140 from Microsoft/lsImportResolution
...
Support new import / export syntax in preProcessFile
2015-02-28 05:03:03 -08:00
Mohamed Hegazy
0a8d0a5dd5
Merge branch 'master' into lsImportResolution
2015-02-27 15:38:32 -08:00
Mohamed Hegazy
7c2cc76986
Respond to code review comments
2015-02-27 15:38:24 -08:00
Cyrus Najmabadi
604c37eee2
Whenever a document is acquired, make sure it returns a source that corresponds to the version requested.
2015-02-27 15:29:31 -08:00
Cyrus Najmabadi
505c1f258f
Update comment.
2015-02-27 13:45:29 -08:00
Cyrus Najmabadi
f23c79f3ae
Fix issue where source files could get corrupted.
...
This could happen when you had multiple language services, and they were sharing some files.
If a file got edited in one LS, it could get corrupted in the other. Now, the DocumentRegistry
serves as the canonical source of 'good' source files. Language services always go to it to get
the correct source file instead of trying to manually update their own source files when they
are notified about changes from the host.
2015-02-27 13:39:57 -08:00
Cyrus Najmabadi
9125aa5192
Rename method.
2015-02-26 17:26:33 -08:00
Cyrus Najmabadi
81b6588059
Make isDeclaration return 'true' on FunctionExpressions.
2015-02-26 16:11:27 -08:00
Anders Hejlsberg
0e8b6dfdf4
Support for 'export default' with expressions
2015-02-25 16:03:03 -08:00