Cyrus Najmabadi
c459bb7ce9
CR feedback.
2015-03-24 00:25:23 -07:00
Cyrus Najmabadi
eed6f0deca
Use an output format for quickinfo that more closely matches the original source.
...
i.e. use "var v: string" instead of "(var) v: string".
The parens case should only be used when we're using an english description instead of
an actual language construct.
2015-03-24 00:16:49 -07:00
Vladimir Matveev
3a8df4106d
fix typo in function name
2015-03-23 23:03:02 -07:00
Vladimir Matveev
c6f11f39e2
disallow assignments to imported exports
2015-03-23 23:01:27 -07:00
Cyrus Najmabadi
2af1b92239
CR feedback.
2015-03-23 22:44:57 -07:00
Cyrus Najmabadi
66b3fae09a
Remove the active completion session.
2015-03-23 21:44:27 -07:00
Cyrus Najmabadi
a1cbfdf01d
Use the same logic for completion entry details that we do for getting completion entries.
2015-03-23 21:26:29 -07:00
Cyrus Najmabadi
bce9b5ab5a
Break out completion symbol collection into its own function.
2015-03-23 20:56:38 -07:00
Ron Buckton
335d5673d0
Comments and cleanup
2015-03-23 19:51:38 -07:00
Cyrus Najmabadi
7388120386
Fix issue where getSemanticDiagnostics was returning undefined on a .d.ts file.
2015-03-23 19:02:46 -07:00
Yui T
6695981583
Address code review
2015-03-23 17:59:02 -07:00
Yui T
85624c0321
Change test files name
2015-03-23 17:58:53 -07:00
steveluc
7b824bac41
Make completion prefix matching case insensitive.
2015-03-23 17:25:45 -07:00
Anders Hejlsberg
73567756fa
Accepting new baselines
2015-03-23 17:03:54 -07:00
Anders Hejlsberg
580bb83c37
Fix issue with AMD emit for 'import d, * as x from "foo"'
2015-03-23 16:56:29 -07:00
Vladimir Matveev
141c96b8f3
revised name generation
2015-03-23 16:16:29 -07:00
Cyrus Najmabadi
af6d1ebe01
Revert "Emit, even in the presence of declaration errors and noEmitOnError."
...
This reverts commit 19517ac0dd .
2015-03-23 16:12:14 -07:00
CyrusNajmabadi
755d80606f
Merge pull request #2461 from Microsoft/emitOnDeclarationErrors
...
Emit, even in the presence of declaration errors and noEmitOnError.
2015-03-23 16:11:00 -07:00
Ron Buckton
8dd9b9f2cb
Updated check and emit, updated baselines
2015-03-23 14:47:07 -07:00
Cyrus Najmabadi
1b06677dec
Treat .js files as javascript in the LS.
2015-03-23 14:14:19 -07:00
Ron Buckton
5b988cdbe4
Some emit cleanup for ES6 classes, comments.
2015-03-23 14:09:38 -07:00
Mohamed Hegazy
d2ead15767
Accept baseline changes
2015-03-23 12:47:39 -07:00
Mohamed Hegazy
d47445b175
Merge branch 'exportEquals' of https://github.com/Microsoft/TypeScript into exportEquals
2015-03-23 12:37:41 -07:00
Mohamed Hegazy
b9e503d891
Ellide uninstantiated exports in ES6
2015-03-23 12:37:22 -07:00
Ron Buckton
bf383b5b54
Simplified check for decorators.
2015-03-23 12:08:15 -07:00
Yui T
5979dacf4f
Correctly emit bidning pattern with initializer and rest
2015-03-23 11:30:51 -07:00
Mohamed Hegazy
86d561d2be
Check for instantiation on export default in ES6
2015-03-23 11:17:40 -07:00
Mohamed Hegazy
f90253f73e
Merge branch 'master' into exportEquals
...
Conflicts:
src/compiler/checker.ts
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/emitter.ts
tests/baselines/reference/es6ImportDefaultBinding.errors.txt
tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImport.errors.txt
tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImportInEs5.errors.txt
tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBinding.errors.txt
tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5.errors.txt
tests/baselines/reference/es6ImportDefaultBindingInEs5.errors.txt
2015-03-23 11:06:44 -07:00
Anders Hejlsberg
6074b3ea24
Consistently error on more than one 'export default'
2015-03-23 11:05:03 -07:00
Ron Buckton
1b8933c969
Renamed variables for clarity
2015-03-23 10:55:09 -07:00
Ron Buckton
5e241a354d
Removed the (now unused) lineBreakBetween
2015-03-23 10:53:29 -07:00
Vladimir Matveev
8943c3952c
removed unused functions
2015-03-23 10:12:56 -07:00
Cyrus Najmabadi
19517ac0dd
Emit, even in the presence of declaration errors and noEmitOnError.
...
We're reverting to the previous behavior we had until there is more consensus
on the best way to deal with this issue.
2015-03-22 21:39:07 -07:00
Anders Hejlsberg
3f0cfe3619
Adding a few comments
2015-03-22 15:35:08 -07:00
Anders Hejlsberg
b2656b0d78
Deleting unused code
2015-03-22 14:32:42 -07:00
Anders Hejlsberg
df03c686c4
Accepting new baselines
2015-03-22 12:19:38 -07:00
Anders Hejlsberg
e63854b40e
Adding basic tests
2015-03-22 12:18:56 -07:00
Anders Hejlsberg
956d7a82f3
Fixing emit for import d, * as foo from "foo" case
2015-03-22 12:18:38 -07:00
Anders Hejlsberg
20d1f73087
Add support for exporting imported symbols
2015-03-22 09:10:10 -07:00
CyrusNajmabadi
fcd1e1f166
Merge pull request #2448 from Microsoft/newlines
...
Treat 0x0085 as whitespace, not as a line terminator. This matches ES5 and ES6.
2015-03-21 22:37:11 -07:00
Anders Hejlsberg
a1525157c7
Emit and use '__export' helper for 'export *' declarations
2015-03-21 15:46:16 -07:00
Anders Hejlsberg
6838d47834
Simplify collection of external module info in emitter
2015-03-21 15:09:54 -07:00
Anders Hejlsberg
f3fb85fa46
Accepting new baselines
2015-03-21 13:18:11 -07:00
Anders Hejlsberg
57a9fc54c8
Separate 'export default' and 'export ='
2015-03-21 13:12:39 -07:00
steveluc
ae4f164eb2
Added gc of configured projects to handle case in which file is opened
...
in directory configured by tsconfig.json, but file not part of the
configured project.
2015-03-20 22:14:39 -07:00
steveluc
8798235c68
Added support in the server for tsconfig.json. When a host opens a
...
file F, the server will check whether F is configured by a
tsconfig.json file. If so, the project specified by the tsconfig.json
file becomes the LS context for F.
2015-03-20 21:56:20 -07:00
Ron Buckton
6633349b72
Simplified grammar check for decorators.
2015-03-20 17:42:27 -07:00
Ron Buckton
299fbe3719
Refactored checkDecoratorSignature and renamed getAnnotationTypeForDecoratorType
2015-03-20 17:21:25 -07:00
Cyrus Najmabadi
9412a6d3eb
Improve display of symbol definitions.
2015-03-20 17:16:16 -07:00
Cyrus Najmabadi
9ae0815e21
Treat 0x0085 as whitespace, not as a line terminator. This matches ES5 and ES6.
2015-03-20 16:53:47 -07:00