Ron Buckton
a60d5912a9
Cleanup of duplicate code due to merge
2015-03-24 20:30:03 -07:00
Ron Buckton
ea15225a9e
Merge pull request #2399 from Microsoft/decorators_min
2015-03-24 19:57:21 -07:00
CyrusNajmabadi
4f0dc28bdc
Merge pull request #2475 from Microsoft/completionEntryDetails
...
Share code between getCompletionsAtPosition and getCompletionEntryDetails.
2015-03-24 17:05:39 -07:00
Ron Buckton
f531193557
Updates to emit and updated baselines
2015-03-24 17:00:29 -07:00
Cyrus Najmabadi
69ff9b3c13
PR feedback.
2015-03-24 16:50:11 -07:00
Cyrus Najmabadi
e26c260822
PR feedback.
2015-03-24 15:35:27 -07:00
Cyrus Najmabadi
63278ca037
Don't bother with a predicate. It doesn't provide enough of a perf savings.
2015-03-24 15:30:32 -07:00
Vladimir Matveev
20a0ac5f01
Merge pull request #2476 from Microsoft/immutableBindings
...
Disallow assignments to imported exports
2015-03-24 15:20:55 -07:00
Vladimir Matveev
e5e5ad89fd
Merge pull request #2471 from Microsoft/revisedNameGen2
...
Revised name generation #2 , fixes #2449 , #2447
2015-03-24 15:20:18 -07:00
Cyrus Najmabadi
614b1066dc
Merge branch 'master' into completionEntryDetails
2015-03-24 14:55:34 -07:00
Steve Lucco
baac6d8a60
Merge pull request #2450 from Microsoft/tsconfigServer
...
Add support to TypeScript server for tsconfig.json files.
2015-03-24 14:38:26 -07:00
CyrusNajmabadi
62b5ffafea
Merge pull request #2446 from Microsoft/findReferences
...
Add a new findReferences API that buckets results with the definition th...
2015-03-24 14:32:46 -07:00
Ron Buckton
e6ccaf0329
Updated typecheck for property, method, and parameter decorators
2015-03-24 14:27:36 -07:00
Ron Buckton
70bd582965
Changed emit for decorators
2015-03-24 14:16:52 -07:00
Cyrus Najmabadi
927e60d592
Merge branch 'master' into findReferences
2015-03-24 14:11:20 -07:00
steveluc
48482071f6
Moved findConfigFile to program.ts. Addressed pull request comments.
2015-03-24 14:03:21 -07:00
Ron Buckton
695c50bd78
Disallow decorators on multiple get/set accessors of the same name
2015-03-24 13:03:10 -07:00
Cyrus Najmabadi
8d55fe00dd
PR feedback.
2015-03-24 12:28:41 -07:00
Vladimir Matveev
f0cbcd6782
addressed PR feedback
2015-03-24 12:28:05 -07:00
CyrusNajmabadi
9141bfca3f
Merge pull request #2470 from Microsoft/noEmitOnDeclarationErrors
...
Revert "Emit, even in the presence of declaration errors and noEmitOnError
2015-03-24 12:25:00 -07:00
CyrusNajmabadi
8e2b7d0568
Merge pull request #2473 from Microsoft/getSemanticDiagnosticsDeclarations
...
Fix issue where getSemanticDiagnostics was returning undefined on a .d.ts file.
2015-03-24 11:14:34 -07:00
Vladimir Matveev
0fdb2071ce
addressed PR feedback
2015-03-24 10:09:33 -07:00
Cyrus Najmabadi
a5bd9196f2
PR feedback.
2015-03-24 01:10:03 -07:00
Cyrus Najmabadi
4802b4b2d6
CR feedback.
2015-03-24 00:35:30 -07:00
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
steveluc
7b824bac41
Make completion prefix matching case insensitive.
2015-03-23 17:25:45 -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
Ron Buckton
5b988cdbe4
Some emit cleanup for ES6 classes, comments.
2015-03-23 14:09:38 -07:00
Ron Buckton
bf383b5b54
Simplified check for decorators.
2015-03-23 12:08:15 -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
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
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