3285 Commits

Author SHA1 Message Date
Sheetal Nandi
a67b375d0e Handle module specifiers 2019-06-06 13:39:04 -07:00
Sheetal Nandi
a120c59015 Handle Lable 2019-06-06 12:04:48 -07:00
Sheetal Nandi
768c9ed8d7 Handle jsx Opening, Closing and Self closing tags 2019-06-06 11:48:45 -07:00
Sheetal Nandi
edad317395 Fourslash server tests 2019-06-06 10:41:33 -07:00
Sheetal Nandi
018026ad52 More tests 2019-06-06 10:05:28 -07:00
Sheetal Nandi
e4a2dd510f Handle export keyword of export assignment 2019-06-06 09:09:39 -07:00
Sheetal Nandi
64de998356 More tests 2019-06-06 09:01:58 -07:00
Sheetal Nandi
1163a93ed6 Handle default keyword of default export 2019-06-05 16:35:29 -07:00
Sheetal Nandi
e1e1603547 More tests 2019-06-05 16:07:25 -07:00
Sheetal Nandi
6dc2ba7939 Take optional string of range text for singleReferenceGroup 2019-06-05 14:43:22 -07:00
Sheetal Nandi
edffcce785 Take optional texts to verify parameter for rangesWithSameTextAreRenameLocations 2019-06-05 13:52:41 -07:00
Sheetal Nandi
35c049949f More tests 2019-06-05 12:57:09 -07:00
Sheetal Nandi
004488c0c9 Set declaration span only if its not same as own span 2019-06-04 15:37:43 -07:00
Sheetal Nandi
cc1cb54e4b More tests 2019-06-04 15:11:48 -07:00
Sheetal Nandi
424f2c9e00 More tests 2019-06-04 13:06:34 -07:00
Sheetal Nandi
34624a0587 More Tests 2019-06-04 12:05:41 -07:00
Sheetal Nandi
e41533acc7 Handle computed property names 2019-06-03 14:06:30 -07:00
Sheetal Nandi
01bbc4de2e More tests 2019-06-03 13:55:02 -07:00
Sheetal Nandi
0fee3b023d Handle destructuring assignments 2019-06-03 13:42:55 -07:00
Sheetal Nandi
c0537d9bad More tests 2019-05-31 16:19:27 -07:00
Sheetal Nandi
dfb613c6d6 Use for-of declaration list + expression as span for preview 2019-05-31 16:02:31 -07:00
Sheetal Nandi
b61813ea1d More test cases 2019-05-31 15:58:11 -07:00
Sheetal Nandi
9703b3d6c1 Show property assignment for special property assignments in js files 2019-05-31 14:05:15 -07:00
Sheetal Nandi
bcf7752c1f More tests 2019-05-31 11:57:43 -07:00
Sheetal Nandi
6c04a0d14e For property name of binding element use binding element as preview node 2019-05-31 11:33:36 -07:00
Sheetal Nandi
bbd2d00b35 More tests 2019-05-31 11:32:25 -07:00
Sheetal Nandi
15ce996cf5 Export assignment identifier use ExportAssigment as declaration 2019-05-31 11:09:22 -07:00
Sheetal Nandi
2fc1143fe7 More tests 2019-05-31 10:23:07 -07:00
Sheetal Nandi
bbfbf8fa95 Use import export sepcifier as declaration for the property name of import export as well 2019-05-30 14:55:25 -07:00
Sheetal Nandi
f37ae23f7e More test fixes 2019-05-30 13:17:57 -07:00
Sheetal Nandi
8948fe415f Rename declarationRange to declarationRangeIndex 2019-05-30 12:45:11 -07:00
Sheetal Nandi
6a961b5bc5 More tests 2019-05-28 16:14:44 -07:00
Sheetal Nandi
1d830ffe7a Start fixing fourslash tests 2019-05-24 16:29:27 -07:00
Sheetal Nandi
38f689d19e
Merge pull request #31484 from microsoft/completionsSorting
Add sortText depending scope of symbols
2019-05-21 12:59:01 -07:00
Wesley Wigham
07d850cf1c
Prevent type parameter printing from recuring on the same symbol (#31453) 2019-05-20 16:43:55 -07:00
Sheetal Nandi
00cea41b65 Add sortText depending scope of symbols
Fixes #15024
2019-05-20 15:53:51 -07:00
Nathan Shively-Sanders
9052804576
Test docCommentTemplate for prototype methods (#31477)
This works in 3.5, but didn't in 3.2. Adding a test to make sure it
stays working.
2019-05-20 12:50:29 -07:00
Andrew Branch
15daf42b2c
Merge pull request #31028 from andrewbranch/feature/smart-select
Smart Select language service API
2019-05-16 09:45:05 -07:00
Daniel Rosenwasser
d484163d0f
Merge pull request #31262 from rpgeeganage/new_keyword_consistent_resolve
Quick info on 'new' keyword should be the same as that of resolved expression
2019-05-15 00:36:38 -07:00
Anders Hejlsberg
a65f35b5fb Remove fourslash test 2019-05-13 12:42:44 -07:00
Wenlu Wang
714821fc97 add refactor of extract type (#30562)
* add basically implement

* add rename location and add testcase

* collection type arguments

* disallow infer type

* add support for typedef convert

* refactor info to make type safe

* disallow type pred

* avoid unnecessary branch

* disallow type query

* haha😂

Co-Authored-By: Kingwl <kingwenlu@gmail.com>

* Update src/services/refactors/extractType.ts

Co-Authored-By: Kingwl <kingwenlu@gmail.com>

* Update src/services/refactors/extractType.ts

Co-Authored-By: Kingwl <kingwenlu@gmail.com>

* add more tests

* add template tag support in jsdoc

* add support of type parameters constraint

* add more tests

* merge branch

* add more tests

* refactor and update function name
2019-05-07 08:26:53 -07:00
rpgeeganage
8f209be149 fixed the comments 2019-05-06 21:21:37 +02:00
rpgeeganage
9959ce449e added test 2019-05-05 19:01:14 +02:00
amaksimovich2
5b79b942e8 add action for enabling experimentalDescorators option in user config… (#30484)
* add action for enabling experimentalDescorators option in user config file, change error message for this case #29035

* add missing changes in tests

* Add "experimental decorators" tests for jsconfig file
2019-04-25 14:55:04 -07:00
Andy Hanson
6e4c150d6b When function parameters span multiple lines, make the function span start at the ( (#26907)
* When function parameters span multiple lines, make the function span start at the `(`

* Undo unnecessary change
2019-04-25 10:53:39 -07:00
Andrew Branch
e28b9b2ba2
Copy smartSelect tests to fourslash 2019-04-23 16:41:59 -07:00
Andrew Branch
6fc2e4a32e
Add custom baseline format for smart selection 2019-04-23 15:34:01 -07:00
Wenlu Wang
27075555c8 fix generate typenode from negative numerical literal (#30610) 2019-04-23 14:20:53 -07:00
Ryan Cavanaugh
885d4d63c8
Remove "generate types" code (#31075) 2019-04-23 13:51:47 -07:00
Andrew Branch
cd56398a53
Merge pull request #30743 from andrewbranch/bug/30675
Make anonymous function formatting apply to anonymous generators too
2019-04-23 09:35:35 -07:00