Skip to content

Address editor in RustRover's Memory View tab triggers LSP requests #560

Closed

Description

@InSyncWithFoo

Apparently that tiny editor is considered a Rust editor. I'm not sure if it is supposed to be one, but in any case, it shouldn't trigger LSP requests.

Activity

  1. angelozerr commented on Oct 3, 2024

    @angelozerr
    Contributor

    I have seen in some code base from intellij-community that they check if VirtualFile implements VirtualFileWindow like https://github.com/JetBrains/intellij-community/blob/513f3fa1ee2db78cf63d6f5b38fe0192deeb2861/platform/testFramework/src/com/intellij/testFramework/FileTreeAccessFilter.java#L21

    I wonder if it is the case with this editor?

    Is it possible for you to debug LSP4IJ to check if the VirtualFile implements VirtualFileWindow . If it is the case, perhaps we should check that?

  2. angelozerr commented on Oct 3, 2024

    @angelozerr
    Contributor
  3. added
    bug
    on Oct 3, 2024
  4. 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
  5. InSyncWithFoo commented on Oct 3, 2024

    @InSyncWithFoo
    ContributorAuthor

    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).

  6. angelozerr commented on Oct 3, 2024

    @angelozerr
    Contributor

    You have created an lsp4ij user defined language server with rust mapped with the rust language?

    Is that?

  7. InSyncWithFoo commented on Oct 3, 2024

    @InSyncWithFoo
    ContributorAuthor

    Yes, I simply used the default template without any changes.

  8. angelozerr commented on Oct 3, 2024

    @angelozerr
    Contributor

    Yes, I simply used the default template without any changes.

    OK it will be difficult for me to undestand the problem since RustRover is not free and we have no sources.

  9. angelozerr commented on Oct 3, 2024

    @angelozerr
    Contributor

    Yes, I simply used the default template without any changes.

    OK it will be difficult for me to undestand the problem since RustRover is not free and we have no sources.

    Do you know if https://github.com/intellij-rust/intellij-rust provide this same memory view?

  10. InSyncWithFoo commented on Oct 3, 2024

    @InSyncWithFoo
    ContributorAuthor

    Do you know if intellij-rust/intellij-rust provide this same memory view?

    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.

  11. InSyncWithFoo commented on Oct 3, 2024

    @InSyncWithFoo
    ContributorAuthor

    I take that back. There's this debugger module.

  12. angelozerr commented on Oct 3, 2024

    @angelozerr
    Contributor

    I take that back. There's this debugger module.

    Have you the same problem?

  13. InSyncWithFoo commented on Oct 3, 2024

    @InSyncWithFoo
    ContributorAuthor

    I'm not sure I understand. What same problem?

  14. angelozerr commented on Oct 3, 2024

    @angelozerr
    Contributor

    I'm not sure I understand. What same problem?

    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

  15. InSyncWithFoo commented on Oct 3, 2024

    @InSyncWithFoo
    ContributorAuthor

    I just told you I never used the plugin. Also, RustRover is free for non-commercial use.

  16. angelozerr commented on Oct 3, 2024

    @angelozerr
    Contributor

    I just told you I never used the plugin. Also, RustRover is free for non-commercial use.

    Sorry I read your answer too quickly. I will investigate this problem when I will find time.

  17. InSyncWithFoo commented on Nov 19, 2024

    @InSyncWithFoo
    ContributorAuthor

    I can no longer reproduce the problem on 0.8.0. Thanks a lot! Consider this issue fixed.

  18. angelozerr commented on Nov 19, 2024

    @angelozerr
    Contributor

    @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

  19. InSyncWithFoo commented on Nov 19, 2024

    @InSyncWithFoo
    ContributorAuthor

    The latest nightly version (0.8.0-20241119-164305) has the problem, so your PR did fix it (good job!).

  20. added a commit that references this issue on Nov 19, 2024
    13b708b
  21. self-assigned this
    on Nov 19, 2024
  22. added this to the 0.8.0 milestone on Nov 19, 2024
  23. angelozerr commented on Nov 19, 2024

    @angelozerr
    Contributor

    Thanks for your feedback.

    I have just some luck to discover this method and you did the test. Thats very cool.

  24. added a commit that references this issue on Nov 19, 2024
    281edaf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions