CyrusNajmabadi
4f0dc28bdc
Merge pull request #2475 from Microsoft/completionEntryDetails
...
Share code between getCompletionsAtPosition and getCompletionEntryDetails.
2015-03-24 17:05:39 -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
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
Vladimir Matveev
f0cbcd6782
addressed PR feedback
2015-03-24 12:28:05 -07:00
Vladimir Matveev
0fdb2071ce
addressed PR feedback
2015-03-24 10:09:33 -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
a1cbfdf01d
Use the same logic for completion entry details that we do for getting completion entries.
2015-03-23 21:26: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
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
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
Cyrus Najmabadi
cbeeb519b1
Add a new findReferences API that buckets results with the definition they matched against.
2015-03-20 14:31:36 -07:00
Cyrus Najmabadi
791a0e4e39
Don't actually emit declarations when we just want the diagnostics for them.
2015-03-19 21:12:25 -07:00
Cyrus Najmabadi
85d71b2883
No emit should happen if there are declaration errors and noEmitOnErrors is specified.
2015-03-19 16:55:07 -07:00
Vladimir Matveev
79272d7cef
Merge pull request #2199 from Microsoft/enumCleanup
...
Fixes #2183 , #1797
2015-03-19 11:27:11 -07:00
Vladimir Matveev
49c4b5ac13
extract declaration emitter to separate file
2015-03-18 16:37:52 -07:00
Vladimir Matveev
371f2df90d
Merge pull request #2139 from Microsoft/DtsExports_all
...
Exports + .d.ts emit
2015-03-18 14:45:05 -07:00
Vladimir Matveev
2ad40c25c9
addressed PR feedback
2015-03-18 14:29:02 -07:00
Mohamed Hegazy
7462915baf
Expose setParentNodes on createCompilerHost
2015-03-18 14:11:50 -07:00
Cyrus Najmabadi
7bcd18fe28
Fix diagnostic codes.
2015-03-17 22:56:45 -07:00
Cyrus Najmabadi
035ad42c30
Simplify comment emit.
2015-03-17 19:25:40 -07:00
Cyrus Najmabadi
63e4420887
Simplify flow control.
2015-03-17 19:13:00 -07:00
Cyrus Najmabadi
9582d7cf28
Add test for pinned comments.
2015-03-17 18:43:39 -07:00
Cyrus Najmabadi
36b99511c6
Simplify code for emitting comments.
...
Also, always emit pinned comments, even when the 'removeComments' compiler
option is provided.
2015-03-17 18:34:42 -07:00
Vladimir Matveev
b82fd590d2
merge with master, accept baselines
2015-03-17 18:23:43 -07:00
Vladimir Matveev
c38e065b6b
do not emit non-exported import declarations that don't have import clause
2015-03-17 18:00:40 -07:00
Vladimir Matveev
e4f6f167f6
merge with master, accepted baselines
2015-03-17 17:05:30 -07:00
Vladimir Matveev
eb1160731e
use type annotation when emitting declarations
2015-03-17 14:02:19 -07:00
Mohamed Hegazy
a06ce61684
Merge branch 'master' into es6ImportExportEmit
2015-03-17 13:03:17 -07:00
Mohamed Hegazy
766cb68f7c
Add comments
2015-03-17 13:03:13 -07:00
Jason Freeman
3879d0ae9a
Merge branch 'master' of https://github.com/Microsoft/TypeScript into typeParameterFixing
2015-03-17 10:45:41 -07:00
Jason Freeman
f14abfefab
Add clarifying comment
2015-03-17 10:45:25 -07:00
Vladimir Matveev
a301ee3616
Merge pull request #2382 from Microsoft/mergingConstEnumOnlyModules
...
correctly merge const enum only and instantiated modules irregardless of order
2015-03-17 10:42:48 -07:00
Anders Hejlsberg
ad75193528
Merge branch 'master' into cleanupDiagnostics
...
Conflicts:
src/compiler/program.ts
2015-03-17 06:26:24 -07:00
Mohamed Hegazy
1932f720cb
Handel export name bindings in internal modules in ES6
2015-03-16 21:58:57 -07:00
Mohamed Hegazy
3d802438f1
Export classes defined wihtin internal modules correctelly
2015-03-16 21:18:31 -07:00
Mohamed Hegazy
99108694d5
Do not emit "export" for classes within modules, and do not write the name of an export default class
2015-03-16 20:54:28 -07:00
Mohamed Hegazy
cb012e01fd
Merge branch 'master' into es6ImportExportEmit
...
Conflicts:
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/diagnosticMessages.json
2015-03-16 20:47:08 -07:00
Vladimir Matveev
74eb96a5b9
correctly merge const enum only and instantiated modules
2015-03-16 19:51:22 -07:00
Mohamed Hegazy
eb954e1cb5
Respond to code review comments
2015-03-16 19:25:02 -07:00
Vladimir Matveev
9b62c2c407
Merge branch 'master' into DtsExports_all
2015-03-16 19:10:01 -07:00