Replace path range instead of word range for some modes #78
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#77 was breaking
![Recording 2023-01-25 at 11 06 23](https://user-images.githubusercontent.com/6101998/214535945-596256a1-e731-4eff-8695-f73819645cac.gif)
new B|<String, String>();
use case:With this version:
![Recording 2023-01-25 at 11 08 19](https://user-images.githubusercontent.com/6101998/214535970-1e9818a4-7a5d-4084-acb4-2c7e1b469e7d.gif)
![Recording 2023-01-25 at 11 09 19](https://user-images.githubusercontent.com/6101998/214535979-46521cad-dc47-4dae-a277-c89f5a9d3fee.gif)
Update: I noticed some other cases had the original issue:
![Recording 2023-01-25 at 11 27 17](https://user-images.githubusercontent.com/6101998/214540841-0bf9cf35-ba99-4371-9512-e43501e03313.gif)
So I added
![Recording 2023-01-25 at 11 24 36](https://user-images.githubusercontent.com/6101998/214540969-6398c95f-17f0-473d-b71e-9a06729952e5.gif)
TypeHint
,TypeRelation
, and also (but not recorded)Implements
andExtends
to modes using path replace range: