volarjs / services

MIT License
134 stars 29 forks source link

Handle renameLocation from `getEditsForRefactor` #29

Closed zardoy closed 1 year ago

zardoy commented 1 year ago

ref https://github.com/vuejs/language-tools/issues/2425

However, instantiating position and uri is completely useless here for now (see linked pr)

zardoy commented 1 year ago

If you don't want to put much effort into it, its possible to omit these arguments (uri and position) for now, as all code actions replaces current range with extracted symbol itself, so its just matter or cursor positioning after code action applying. 😉