Yui
14aa1323f5
[Release-2.0] Fix 9632 Auto-completion for quoted property in object literal expression ( #9745 )
...
* wip
* Add completion for quote property name in object literal expression
* Add fourslash tests for completion of quoted property in object literal expression
* Handle object-literal expression as an argument
* Add tests and baseline for object literal expression for arguments
* Undo wip
* Undo wip
2016-07-21 21:02:49 -07:00
Daniel Rosenwasser
3470ef5cbc
Fixed up tests that used 'string[]' instead of 'TemplateStringsArray'.
2016-07-20 18:00:17 -07:00
Andy
ea99262891
Merge pull request #9680 from Microsoft/format_tsx_release-2.0
...
Handle JSX bodies in formatter
2016-07-13 14:01:41 -07:00
zhengbli
606ac0e533
Port #9621 to release-2.0
2016-07-13 11:38:26 -07:00
Andy Hanson
122c47c035
Handle JSX bodies in formatter
2016-07-13 08:15:55 -07:00
Mohamed Hegazy
1102fa6bae
Merge pull request #9420 from Microsoft/formatting_loc
...
Do not scan nodes preceding formatted region, just skip over them
2016-07-05 14:40:48 -07:00
Zhengbo Li
494fada879
Merge pull request #9426 from zhengbli/fix9411
...
Add nullcheck when calculating indentations for implort clause
2016-06-30 14:21:11 -07:00
Andy Hanson
fee06acf84
Better name for test
2016-06-30 09:21:08 -07:00
Andy Hanson
0535d55a97
Show "<unknown>" if the name of a declaration is unavailable
2016-06-30 06:38:18 -07:00
zhengbli
adca77003e
Add test
2016-06-29 16:00:11 -07:00
Andy Hanson
0a61334677
Do not scan nodes preceding formatted region, just skip over them
2016-06-29 08:39:36 -07:00
Zhengbo Li
50177b14d0
Merge pull request #9396 from zhengbli/fix9186
...
Check getCurrentDirectory availability in getEffectiveTypeRoots
2016-06-28 13:01:51 -07:00
Mohamed Hegazy
ec020776c2
Merge pull request #9361 from SaschaNaz/noFormatInJsxElement
...
Fix formatting on JsxElement/JsxExpression
2016-06-28 12:13:10 -07:00
zhengbli
6ff91b84ab
Add getCurrentDirectory to ServerHost
2016-06-28 11:53:30 -07:00
Bill Ticehurst
8bf3d54524
Merge pull request #7075 from Microsoft/loadJsFromModules
...
Load JavaScript modules from Node packages
2016-06-27 18:42:12 -07:00
Kagami Sascha Rosylight
cbfbfe1aa6
make rules optional
2016-06-27 16:04:53 +09:00
Bill Ticehurst
0174bda004
Merge branch 'master' into loadJsFromModules
2016-06-26 23:24:26 -07: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
Kagami Sascha Rosylight
a8ac0efc1b
Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixExportImportFormatting
2016-06-25 17:57:55 +09:00
Kagami Sascha Rosylight
335737973e
Merge branch 'master' of https://github.com/SaschaNaz/TypeScript into fixExportImportFormatting
2016-06-25 17:53: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
Bill Ticehurst
d01d5b1cb2
Updated tests
2016-06-21 13:51:31 -07:00
Bill Ticehurst
4d4f679ec4
Merge branch 'master' into loadJsFromModules
2016-06-21 09:03:38 -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