Zhengbo Li
e8862a7168
Merge pull request #8504 from zhengbli/i8334
...
Tolerate non-existing files specified for tsserver
2016-05-19 16:52:55 -07:00
Ryan Cavanaugh
dd02c11e3a
Merge pull request #8369 from zhengbli/jsModuleExportsNotWorking
...
Support module.exports.name = expr format for JavaScript module
2016-05-19 15:47:08 -07:00
zhengbli
30718144ec
Merge branch 'master' of https://github.com/Microsoft/TypeScript into i8334
2016-05-19 15:42:06 -07:00
Nathan Shively-Sanders
8e668441b3
Mark IIFE signature with anySignature during contextual typing
...
Avoids recursion -- during batch compilation, `checkCallExpression` already
sets the signature to `anySignature` as a sentinel value, the services
layer calls directly into `checkParameter`, skipping `checkCallExpression`
entirely. So `getContextuallyTypedParameterType` also needs to set this
sentinel value.
2016-05-19 12:33:37 -07:00
Andy
c62b6cb6fc
Merge pull request #8603 from Microsoft/hover_over_comment
...
Fix bug: getTouchingPropertyName does not return undefined, but it may return the source file node
2016-05-17 12:39:50 -07:00
Andy
cb6e444158
Merge pull request #8595 from Microsoft/declaration_expressions
...
Declaration expressions
2016-05-17 12:36:39 -07:00
Andy
42f25b3b1f
Merge pull request #8645 from Microsoft/navbar_export_type
...
Add type aliases to navigation bar
2016-05-17 11:23:04 -07:00
Mohamed Hegazy
66dd91bb76
Merge pull request #8640 from mihailik/patch-3
...
Extra test for #8364 - non-breaking of one-liners
2016-05-17 11:18:11 -07:00
Andy Hanson
eabafc4b09
Add type aliases to navigation bar
2016-05-17 10:45:04 -07:00
Andy Hanson
cdc00086b2
Add printNavigationBar declaration
2016-05-17 07:59:41 -07:00
Andy Hanson
bbbe3666b6
Rename "getScriptLexicalStructureList" to "navigationBar" in fourslash test helpers and remove unnecessary duplicate helpers
2016-05-17 07:59:41 -07:00
Andy Hanson
df8e7409c1
Add test for #7301
2016-05-17 07:59:41 -07:00
mihailik
d541d434ea
Extra test for #8364 - non-breaking of one-liners
2016-05-17 09:09:46 +01:00
Zhengbo Li
3fb16f5930
Merge pull request #8364 from zhengbli/i7503
...
Fix indentation for array items
2016-05-16 21:53:27 -07:00
Andy Hanson
3a896d8ee7
Remove broken test
2016-05-16 09:20:42 -07:00
Andy Hanson
b91d14fd6c
Test expressions with no name
2016-05-16 06:41:39 -07:00
Andy Hanson
8c5fe7d733
Change other uses of getTouchingPropertyName to check for node === sourceFile instead of undefined.
2016-05-16 06:37:49 -07:00
Andy Hanson
a1cc88b080
Fix bug: getTouchingPropertyName does not return undefined, but it may return the source file node
2016-05-13 14:44:15 -07:00
Andy Hanson
67beb00299
Improve test
2016-05-13 12:56:52 -07:00
Andy Hanson
81a43f0c7e
Look for declaration expressions in nested expressions
2016-05-13 08:38:52 -07:00
Andy Hanson
3e32a6131b
Include declaration expressions (class expressions and function expressions) in named declarations
2016-05-13 08:26:41 -07:00
Andy Hanson
b1cd3de89c
Use NodeFlags.ParameterPropertyModifier rather than NodeFLags.AccessibilityModifier to detect parameter properties.
...
This is a continuation of #8555 .
2016-05-12 13:26:35 -07:00
Andy Hanson
3334134243
Fix #7966 : A non-anonymous type can still fail to have a symbol. For example, an intersection type.
...
(We still need the check for the Anonymous flags or else anonymous function tooltips will look like `var lambdaFoo: (Anonymous function)(a: number, b: number) => number'` instead of `var lambdaFoo: (a: number, b: number) => number`)
2016-05-12 07:28:06 -07:00
zhengbli
269416d675
Add test
2016-05-10 16:04:59 -07:00
Mohamed Hegazy
02bae234c6
Merge branch 'master' into Fix8415
2016-05-08 15:31:48 -07:00
Yui
72c19ec806
Fix 7304: show correct quickinfo on "this" in type position ( #8508 )
...
* Show correct quickinfo when using this in type position
* Split quickinfo test into smaller files and add test case
2016-05-07 09:12:53 -07:00
František Žiačik
ba2a33049c
Formatting space vs tabs tests added
2016-05-05 23:35:36 +02:00
Mohamed Hegazy
1af576b064
Fix #4808 : Follow target symbols
2016-05-04 12:06:51 -07:00
Mohamed Hegazy
baa56290ed
Enable find all refs and rename for computed property names with literal expressions
2016-05-03 22:40:40 -07:00
Mohamed Hegazy
13aff17975
Fix #8415 : Add method declaration to contextually typed locations when searching for symbols
2016-05-03 17:08:06 -07:00
Anders Hejlsberg
dbfe80b348
Fix fourslash test
2016-05-02 16:24:21 -07:00
Mohamed Hegazy
0c507747c8
Add a contextual type in test case
2016-05-02 10:18:13 -07:00
Mohamed Hegazy
0cd0e0b5ea
Code review comments
2016-04-29 17:04:53 -07:00
zhengbli
42c94885d6
Support module.exports.name = expr format
2016-04-29 00:41:38 -07:00
Mohamed Hegazy
423503c883
Fix #7611 : Add support for String Literal Types in find all refs and occurances
2016-04-28 23:29:10 -07:00
zhengbli
b85b0046c3
Fix indentation for array items
2016-04-28 17:32:20 -07:00
Anders Hejlsberg
65edb527f5
Adding fourslash test
2016-04-27 09:08:45 -07:00
Mohamed Hegazy
39d64a2709
Add configured projects to the list of projects when searching
2016-04-23 14:10:26 -07:00
Anders Hejlsberg
5ed6f30f1f
Merge pull request #8010 from Microsoft/controlFlowTypes
...
Control flow based type analysis
2016-04-22 14:18:56 -07:00
Zhengbo Li
b05a2304aa
Merge pull request #8236 from zhengbli/i8222
...
Treat TS-only keywords as identifiers in jsdoc comments
2016-04-21 16:28:01 -07:00
Anders Hejlsberg
4fb31acf2f
Update fourslash test
2016-04-21 16:06:21 -07:00
zhengbli
8709975f0b
Merge branch 'master' of https://github.com/Microsoft/TypeScript into i2531
...
# Conflicts:
# src/server/session.ts
2016-04-21 14:47:31 -07:00
Zhengbo Li
350f62ff29
treat TS only keywords as identifiers in jsdoc comments
2016-04-20 19:49:48 -07:00
Mohamed Hegazy
d0cfe43d88
Merge pull request #8210 from Microsoft/Fix8162
...
Fix #8162 and #8173 : Add root symbols to search in find all referecnes
2016-04-20 09:27:57 -07:00
Mohamed Hegazy
b85f34ba59
Fix #8162 and #8173 : Add root symbols to search in find all referecnes
2016-04-19 19:30:11 -07:00
Zhengbo Li
3a8ebf109f
Merge pull request #7954 from zhengbli/supportScriptKindOnServer
...
Add API support for LS host to specify script kind of a file to open
2016-04-19 15:41:47 -07:00
zhengbli
cc58e2d7eb
Use string literal type for script kind names
2016-04-19 15:20:05 -07:00
Vladimir Matveev
80df773c77
fix formatting for lines that start with continuation of multiline comments
2016-04-19 14:16:43 -07:00
Daniel Rosenwasser
a07e25a0a8
Added another fourslash test.
2016-04-16 19:18:03 -07:00
Daniel Rosenwasser
5814261d6c
Added tests for quick-info on string-named enum members.
2016-04-16 12:57:26 -07:00