-
Notifications
You must be signed in to change notification settings - Fork 15
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
JavaFileTextDocumentService doesn't gracefully handle lack of rename support #700
Comments
I think if |
tried this, don't think it works. I'll take a look into this issue though |
Indeed it is a bug, JavaFileTextDocumentService should implement this rename method which should do nothing. |
I just added the |
Closes redhat-developer#700 Signed-off-by: David Thompson <davthomp@redhat.com>
Indeed you can do that but it is not consistent with other methods. If you prefer doeing that, please update other methods. |
Closes #700 Signed-off-by: David Thompson <davthomp@redhat.com>
Try to rename some element in a Java file when the Quarkus extension is started.
We retrieve the
TextDocumentService
and call rename on it. HoweverJavaFileTextDocumentService
doesn't support rename, and will throw anUnsupportedOperationException
. The rename will still succeed.quarkus-ls/qute.ls/com.redhat.qute.ls/src/main/java/com/redhat/qute/ls/QuteTextDocumentService.java
Lines 233 to 235 in 635bedf
The text was updated successfully, but these errors were encountered: