Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add folder filter in server capabilities for willRename #814

Merged
merged 2 commits into from
Nov 17, 2023

Conversation

luckasRanarison
Copy link
Contributor

typescript-language-server does support willRenameFiles on folder but it only provides filter for file, other servers like rust-analyzer explicitly specify this filter. The absence of this filter also causes issues in willRenameFiles implementation on the client side if the client only tracks things specified by the filters, i.e it doesn't send requests on folder renamed.

@rchl rchl changed the title Add folder filter to willRename in server capabilities fix: add folder filter for willRename in server capabilities Nov 16, 2023
@rchl
Copy link
Member

rchl commented Nov 16, 2023

Please cherry pick d9c102d from this repo. I've added tests and fixed linting issues.

@rchl rchl changed the title fix: add folder filter for willRename in server capabilities fix: add folder filter in server capabilities for willRename Nov 17, 2023
@rchl rchl merged commit fe3d21b into typescript-language-server:master Nov 17, 2023
7 checks passed
@rchl
Copy link
Member

rchl commented Nov 17, 2023

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants