-
Notifications
You must be signed in to change notification settings - Fork 51
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: Rename file doesn't send didClose / didOpen LSP notification #1153
Conversation
37b4885
to
af28e53
Compare
@angelozerr please match the commit message to the new PR title |
af28e53
to
859755a
Compare
859755a
to
f966a69
Compare
I did that but rename the title with |
8bcecff
to
9ad6171
Compare
src/main/java/com/redhat/devtools/intellij/lsp4ij/LanguageServerWrapper.java
Outdated
Show resolved
Hide resolved
Works beautifully. You can merge after fixing that one minor thing |
Fixes redhat-developer#1097 Signed-off-by: azerr <[email protected]>
9ad6171
to
94fe2cf
Compare
Kudos, SonarCloud Quality Gate passed! |
Thanks @fbricon for your review! |
@gastaldi I think this PR should fix all your problems that you had when you switch to another branch. Once you will test it, please give us feedback. |
More this PR doesn't send a didSave event every time you type something in the editor. In the Java editor with MicroProfile LS, it revalidates all Java files every time there is a didSave. Now didSave is only called when you do Ctrl+S and not when you are typing something, which avoid revalidating each time all opened Java editors, which is very good for performance. |
Rename file doesn't send didClose / didOpen LSP notification
Fixes #1097
Fixes #836