You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changed the title [-]Address editor in RustRover's Memory View tab trigger LSP requests[/-][+]Address editor in RustRover's Memory View tab triggers LSP requests[/+]on Oct 3, 2024
Is it possible for you to debug LSP4IJ to check if the VirtualFile implements VirtualFileWindow .
I'm inexperienced with the LSP4IJ codebase and IntelliJ's UI-related components in general, so I wouldn't be able to debug LSP4IJ as efficiently as you can (I don't even know what VirtualFileWindow and EditorWindow are).
Activity
angelozerr commentedon Oct 3, 2024
I have seen in some code base from intellij-community that they check if
VirtualFileimplementsVirtualFileWindowlike https://github.com/JetBrains/intellij-community/blob/513f3fa1ee2db78cf63d6f5b38fe0192deeb2861/platform/testFramework/src/com/intellij/testFramework/FileTreeAccessFilter.java#L21I wonder if it is the case with this editor?
Is it possible for you to debug LSP4IJ to check if the
VirtualFileimplementsVirtualFileWindow. If it is the case, perhaps we should check that?angelozerr commentedon Oct 3, 2024
Another test that I have seen too is https://github.com/JetBrains/intellij-community/blob/513f3fa1ee2db78cf63d6f5b38fe0192deeb2861/platform/analysis-impl/src/com/intellij/codeInsight/completion/CompletionAssertions.java#L90 perhaps we should check if Editor doesn't implement EditorWindow? It is perhaps the case of this Rust view editor?
[-]Address editor in RustRover's Memory View tab trigger LSP requests[/-][+]Address editor in RustRover's Memory View tab triggers LSP requests[/+]InSyncWithFoo commentedon Oct 3, 2024
I'm inexperienced with the LSP4IJ codebase and IntelliJ's UI-related components in general, so I wouldn't be able to debug LSP4IJ as efficiently as you can (I don't even know what
VirtualFileWindowandEditorWindoware).angelozerr commentedon Oct 3, 2024
You have created an lsp4ij user defined language server with rust mapped with the rust language?
Is that?
InSyncWithFoo commentedon Oct 3, 2024
Yes, I simply used the default template without any changes.
angelozerr commentedon Oct 3, 2024
OK it will be difficult for me to undestand the problem since RustRover is not free and we have no sources.
angelozerr commentedon Oct 3, 2024
Do you know if https://github.com/intellij-rust/intellij-rust provide this same memory view?
InSyncWithFoo commentedon Oct 3, 2024
I'm not sure; I never used it before it was converted to closed-source. Probably not, since a search for Memory View returns 0 results.
InSyncWithFoo commentedon Oct 3, 2024
I take that back. There's this
debuggermodule.angelozerr commentedon Oct 3, 2024
Have you the same problem?
InSyncWithFoo commentedon Oct 3, 2024
I'm not sure I understand. What same problem?
angelozerr commentedon Oct 3, 2024
The same problem that you have with the editor from RustRover.
If you the same problem I will install intellij rust and debug LSP4IJ to try to find a fix
InSyncWithFoo commentedon Oct 3, 2024
I just told you I never used the plugin. Also, RustRover is free for non-commercial use.
angelozerr commentedon Oct 3, 2024
Sorry I read your answer too quickly. I will investigate this problem when I will find time.
angelozerr commentedon Nov 19, 2024
@InSyncWithFoo I don't know if it will fix your issue but could you please install build zip that you can download at https://github.com/redhat-developer/lsp4ij/actions/runs/11918076983
See instruction at https://github.com/redhat-developer/lsp4ij?tab=readme-ov-file#testing-the-ci-builds
Thanks for your feedback
InSyncWithFoo commentedon Nov 19, 2024
I can no longer reproduce the problem on 0.8.0. Thanks a lot! Consider this issue fixed.
angelozerr commentedon Nov 19, 2024
@InSyncWithFoo thanks for your feedback. Could you please install nighty build to check if you have the problem.
I would like to check if the PR that I did fix really the problem.
Thanks
InSyncWithFoo commentedon Nov 19, 2024
The latest nightly version (
0.8.0-20241119-164305) has the problem, so your PR did fix it (good job!).fix: Address editor in RustRover's Memory View tab triggers LSP requests
angelozerr commentedon Nov 19, 2024
Thanks for your feedback.
I have just some luck to discover this method and you did the test. Thats very cool.
fix: Address editor in RustRover's Memory View tab triggers LSP requests