Commit Graph

1374 Commits

Author SHA1 Message Date
Andy Hanson
e7acef125d Allow to find all references of the 'this 'keyword 2016-06-20 07:13:53 -07:00
Andy
a1e0504ed4 Merge pull request #9189 from Microsoft/js_property_declaration
Allow property declarations in .js files
2016-06-15 12:20:41 -07:00
Andy Hanson
dd0411a2f3 Allow property declarations in .js files 2016-06-15 09:42:52 -07:00
Andy Hanson
8a025fcff4 Use helper functions to simplify range tests 2016-06-15 09:05:15 -07:00
Nathan Shively-Sanders
7890fd58b9 Merge pull request #9088 from Microsoft/add-members-to-variable-declarations-initialised-with-function-expressions
Add members to variable declarations initialised with function expressions
2016-06-14 11:37:36 -07:00
Nathan Shively-Sanders
57f66b8efa Merge pull request #9148 from Microsoft/add-isDefinition-to-references
Add isDefinition to references
2016-06-14 11:12:53 -07:00
Andy Hanson
6b05ecab5b Fix bug: do unescaping in the right place, so that it only affects escaped javascript identifiers 2016-06-14 09:39:48 -07:00
Nathan Shively-Sanders
7bf40c4935 Add more isDefinition tests and fix computed property bug 2016-06-14 09:39:30 -07:00
Andy Hanson
1b4b01eed5 Unescape identifiers used in code completion 2016-06-14 08:13:55 -07:00
Andy
29b1e796c3 Merge pull request #9140 from Microsoft/navbar_jsdoc
Add test for jsdoc in navigation bar
2016-06-14 05:43:45 -07:00
Nathan Shively-Sanders
ac9e617e5e Test isDefinition 2016-06-13 13:23:32 -07:00
Andy Hanson
89488f8317 Add test for jsdoc in navigation bar 2016-06-13 12:08:31 -07:00
Ryan Cavanaugh
576f09f531 Merge 2016-06-10 15:47:51 -07:00
Ryan Cavanaugh
9827b638b4 Implicit type inclusion changes 2016-06-10 15:44:11 -07:00
Nathan Shively-Sanders
4a9b1209ae Test adding members to JS variables whose initialisers are functions 2016-06-10 14:11:31 -07:00
Andy Hanson
077dfff93b Add tests 2016-06-10 08:03:41 -07:00
Andy Hanson
b08fe6f4f6 Use proper method of not resolving alias 2016-06-09 08:00:21 -07:00
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