Commit Graph

1389 Commits

Author SHA1 Message Date
Kagami Sascha Rosylight
cbfbfe1aa6 make rules optional 2016-06-27 16:04:53 +09:00
Kagami Sascha Rosylight
378c6b5fc7 format jsx expression 2016-06-26 15:17:05 +09:00
Kagami Sascha Rosylight
9dfcb4419c do not format comma/closeparen in jsxelement 2016-06-25 19:23:46 +09:00
Paul van Brenk
cca7000032 Merge pull request #9342 from Microsoft/typoinbracecompletion
Fix typo
2016-06-24 14:41:10 -07:00
jramsay
8312168e91 Merge pull request #9236 from Microsoft/BaseIndentationSupport
[Salsa] Adding base indentation for script block formatting and smart indent
2016-06-24 14:22:58 -07:00
Jason Ramsay
8c503207be Add fourslash tests & address CR comments 2016-06-24 13:16:58 -07:00
Andy Hanson
6a60d8bb90 Merge branch 'master' into range_tests 2016-06-24 09:17:57 -07:00
Andy Hanson
6bc8db031c Remove unnecessary parameter 2016-06-24 09:16:39 -07:00
Andy
999ac0add3 Merge pull request #9270 from Microsoft/this_references
Allow to find all references of the 'this 'keyword
2016-06-24 06:24:12 -07:00
Paul van Brenk
6346fc1168 Fix typo 2016-06-23 17:36:59 -07:00
Andy Hanson
1aafc553dd Change reference tests to verify actual ranges referenced and not just their count 2016-06-23 10:48:35 -07:00
Andy Hanson
07437a6e7c Make goto-definition work for this parameter 2016-06-21 05:56:18 -07:00
Andy
4d5d152788 Merge pull request #9220 from Microsoft/navbar_refactor_3000
Refactor navigation bar
2016-06-20 13:16:40 -07:00
Andy Hanson
c0eb472b62 Classify this in parameter position as a keyword 2016-06-20 08:28:55 -07:00
Andy Hanson
e7acef125d Allow to find all references of the 'this 'keyword 2016-06-20 07:13:53 -07:00
Andy Hanson
166bc49f0c Refactor navigation bar 2016-06-17 07:42:26 -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