Mohamed Hegazy
17b5415f8c
Merge pull request #8428 from Microsoft/stringLiteralCompletions
...
Add support for completions inside string literals
2016-06-08 14:42:48 -07:00
Mohamed Hegazy
9027da4d17
Merge branch 'master' into stringLiteralCompletions
2016-06-08 13:19:12 -07:00
Nathan Shively-Sanders
179d42323a
Merge pull request #9010 from Microsoft/merge-jsdoc-of-assignment-and-function-expression
...
Merge JSDoc of assignments from function expressions
2016-06-08 13:03:03 -07:00
Nathan Shively-Sanders
1fe6626efa
Remove TODO comments
2016-06-08 11:07:42 -07:00
Nathan Shively-Sanders
9832f62f48
Split commentsFunction test into expr/decl
...
And renumber.
2016-06-08 10:56:52 -07:00
Nathan Shively-Sanders
6bf5f115b6
Improve order of parameter's merged jsdoc
2016-06-08 08:42:38 -07:00
Nathan Shively-Sanders
17cc206271
Merge JSDoc of assignments from function expressions
2016-06-07 16:22:18 -07:00
Andy
849ab7c5ec
Merge pull request #8942 from Microsoft/param_trailing_commas
...
Allow trailing commas in function parameter and argument lists
2016-06-07 07:35:30 -07:00
Anders Hejlsberg
a5e9071a2f
Fix fourslash test
2016-06-03 17:31:16 -07:00
Andy Hanson
e412f52b33
Include indent in navigation bar protocol
...
Previously navbar01 test had indents when run in the browser but not when run from node. Now they run the same.
2016-06-03 10:04:03 -07:00
Andy Hanson
4281bf5752
Allow trailing commas in function parameter and argument lists
2016-06-02 08:18:21 -07:00
zhengbli
0e96c5eaf1
Run fixupParentReferences when parsing isolated jsDocComment
2016-06-01 22:57:25 -07:00
zhengbli
630517b8ad
Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc
2016-05-31 15:30:42 -07:00
zhengbli
58fdd011df
avoid eating all preceding empty lines
2016-05-31 14:11:39 -07:00
zhengbli
3433a7800a
Fix formatOnEnter for double newlines
2016-05-31 12:35:12 -07:00
Zhengbo Li
e93f9df955
Fix broken test
2016-05-31 10:48:25 -07:00
Zhengbo Li
5261467a32
Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc
2016-05-31 10:39:23 -07:00
zhengbli
59b188d4ca
Add navigationTo test for jsdoc typedef
2016-05-31 02:05:26 -07:00
Andy Hanson
f3d1b46dcb
Add tests for private and readonly parameter properties in navbar
2016-05-27 10:40:28 -07:00
Sheetal Nandi
35156527a3
Merge pull request #8789 from Microsoft/getSymbolAtAliasLocation
...
Do not resolve alias when getting symbol of import equal's right hand side
2016-05-27 09:27:23 -07:00
Andy Hanson
b2664e7f84
Use a JSON.stringify replacer function instead of changing the value beforehand
2016-05-27 06:27:13 -07:00
zhengbli
e69976c4b7
Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc
...
# Conflicts:
# src/services/utilities.ts
2016-05-26 14:50:09 -07:00
Andy Hanson
63b5790dcd
Merge branch 'master' into navbar_root
2016-05-26 13:29:33 -07:00
Nathan Shively-Sanders
6304d79536
Merge pull request #8844 from Microsoft/create-symbol-for-assignments-in-javascript-constructors
...
Symbol for property assignments in Salsa/ES6 constructors
2016-05-26 13:26:48 -07:00
Nathan Shively-Sanders
abfcdd2cfd
Symbol for property assignments in Salsa/ES6 constructors
...
Previously no symbol at all was created, meaning that Salsa didn't track
properties in ES6 code.
2016-05-26 12:42:35 -07:00
Andy Hanson
fdd5c06b63
Include type aliases as childItems in navigation bar
2016-05-26 12:18:19 -07:00
Andy Hanson
fe970abc81
Change tests to use the full JSON output of the navigation bar.
...
This reduces the confusion of verify.navigationBarCount() counting duplicate items.
2016-05-26 08:40:35 -07:00
Andy Hanson
1be09c9c57
Merge branch 'navbar_class_child_item' into navbar_modules
2016-05-26 06:23:01 -07:00
Andy Hanson
5c23b3bc20
Fix more tests
2016-05-26 06:04:42 -07:00
Andy Hanson
1bae2c4982
Merge branch 'master' into navbar_class_child_item
2016-05-25 13:49:31 -07:00
Andy Hanson
109c05863e
Include modules as childItems in navigation bar
2016-05-25 07:49:56 -07:00
Andy Hanson
91b473389b
Include interfaces as childItems in navigation bar
2016-05-25 07:34:35 -07:00
Andy Hanson
dbd30542a6
Include classes as childItems in navigation bar
2016-05-25 07:16:23 -07:00
zhengbli
5f9fa69587
Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc
...
# Conflicts:
# src/services/services.ts
# tests/cases/unittests/jsDocParsing.ts
2016-05-24 21:06:00 -07:00
Sheetal Nandi
b8b38f3b86
Do not resolve alias when getting symbol of import equal's right hand side
...
Fixes #5501
2016-05-24 12:11:15 -07:00
Andy Hanson
11d51867f2
Include enums in childItems in navigation bar
2016-05-24 05:58:14 -07:00
Andy
5035df665d
Merge pull request #8756 from Microsoft/no_navigate_to_import
...
Don't include imports in navigateTo if the imported declaration is also in the items and has the same name
2016-05-23 13:07:14 -07:00
Andy Hanson
db65724330
Make fourslash tests actually test parentName for navbar items
2016-05-23 09:44:28 -07:00
Andy Hanson
5e799b8773
Don't include imports in navigateTo if the imported declaration is also in the items and has the same name
2016-05-23 07:01:16 -07:00
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