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

Resolve rename requests to null in Java files for qute-ls #701

Merged

Conversation

datho7561
Copy link
Contributor

Closes #700

Signed-off-by: David Thompson davthomp@redhat.com

Closes redhat-developer#700

Signed-off-by: David Thompson <davthomp@redhat.com>
@datho7561 datho7561 requested a review from rgrunber August 5, 2022 18:11
@@ -167,6 +169,11 @@ public CompletableFuture<List<InlayHint>> inlayHint(InlayHintParams params) {
return CompletableFuture.completedFuture(null);
}

@Override
public CompletableFuture<WorkspaceEdit> rename(RenameParams params) {
return CompletableFuture.completedFuture(null);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you wish to use this stragegy which implement method in AbstractTextDocumentService.java, please do that for other methods (like inlayHint).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's already implemented this way

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, it is perfect.

@angelozerr angelozerr merged commit 11c5583 into redhat-developer:master Aug 5, 2022
@angelozerr
Copy link
Contributor

Thanks @datho7561 !

@angelozerr angelozerr added this to the 0.13.0 milestone Aug 5, 2022
@rgrunber rgrunber removed this from the 0.13.0 milestone Nov 8, 2022
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.

JavaFileTextDocumentService doesn't gracefully handle lack of rename support
3 participants