Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

Move to (existing) file #74

Open
uloco opened this issue May 31, 2023 · 1 comment
Open

Move to (existing) file #74

uloco opened this issue May 31, 2023 · 1 comment

Comments

@uloco
Copy link

uloco commented May 31, 2023

I am not sure if this is the scope of this plugin but VSCode recently added "move to existing file" refactor for variables functions etc. with changing the imports accordingly. (it's in insiders build)

Not sure if this is something we can directly use from typescript-language-server or need to implement this in a plugin like here.

I've seen that there is also no "move to new file" action implemented in this plugin.

@jose-elias-alvarez
Copy link
Owner

While it's theoretically possible to implement something like this here using Treesitter, I think the right approach would be to implement it upstream in typescript-language-server and then add support here. I'd open a ticket over there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants