Repository navigation
When renaming module, ensure rename span is just the last component of the path - #27151
1 commit merged into
Conversation
9a2938c to
95aae9f
Compare
|
Does this mean that I can trigger a rename anywhere on an import but that we should only actually rename the last component of the path? Or can I now only trigger a rename on the last component of the path. In the first case, I believe VS Code will need to know the range of the last component of the path (we could add logic on our side to calculate it too but it would be better if this information came from TS). Adding a |
|
This PR modifies exactly the property you need, |
Sequel to #24702
Discussed with Matt Bierner (@mjbvz) that editors don't want to handle changing complex paths, but changing just the last component is easier.