Skip to content

Command completion and quick fix stops working after "some time" #2941

Closed

Description

@Artur-

Edited by @jdneo

See: #2941 (comment) for workaround.


Starting from "some time ago", not sure when, within last 6 months(?), many of my VS Code projects stop working after a while. When trying to complete with fn-ctrl-space there is only a popup saying Loading..., cmd-mouseclick on a class only shows the animating loading indicator bar at the top of file. Some operations like organize imports through option-shift-o works fine and immediately.

If I do "Reload window", everything starts working properly again until some time has passed and I am back at the original problem.

Not sure what to check for where to find more clues about what is going wrong.

[provide a description of the issue]

Environment
  • Operating System: mac os Ventura 13.2.1
  • JDK version: 17
  • Visual Studio Code version: 1.75.1
  • Java extension version: v1.14.0
Steps To Reproduce
  1. No clue

Activity

  1. jdneo commented on Feb 16, 2023

    @jdneo
    Collaborator

    Completion via keyboard shortcut (ctrl + space) has a perf regression, the fix was merged yesterday: eclipse-jdtls/eclipse.jdt.ls#2453.

    Could you try the latest pre-release of VS Code Java and let us know if the problem still exists?

  2. Artur- commented on Feb 16, 2023

    @Artur-
    Author

    The same happens with v1.15.2023021503

  3. snjeza commented on Feb 16, 2023

    @snjeza
    Collaborator

    @Artur- Could you attach a project example?

  4. Artur- commented on Feb 22, 2023

    @Artur-
    Author

    I assumed this was happening on all projects but it seems it mostly occurs in one. Unfortunately it is a private project so I cannot share it. Any other way I can provide more info?

  5. jdneo commented on Feb 22, 2023

    @jdneo
    Collaborator

    @Artur- Is there any error logs for that failed project?

    Some other information might be helpful, like the installed extension list and the extension settings.

  6. pbloigu commented on Mar 3, 2023

    @pbloigu

    Is it possible that this is the same issue as #2947?

  7. Artur- commented on Mar 3, 2023

    @Artur-
    Author

    I disabled a lot of extensions and have not seen the problem since. One of the extensions was the Spring extension

  8. MarcSerret51 commented on Mar 6, 2023

    @MarcSerret51

    Its similar to my problem. #2933

  9. martinlippert commented on Mar 6, 2023

    @martinlippert
    Contributor

    We came across an issue in the Spring Tools that caused problems like this, so it might be spring-projects/spring-tools#968. The pre-release of the Spring Boot Tools extension contains a fix, so would be interesting to hear what happens if you switch to the pre-release of that extension and enable it again.

  10. ohueter commented on Mar 7, 2023

    @ohueter

    We came across an issue in the Spring Tools that caused problems like this, so it might be spring-projects/sts4#968. The pre-release of the Spring Boot Tools extension contains a fix, so would be interesting to hear what happens if you switch to the pre-release of that extension and enable it again.

    This fixed the issue for me, most prominently Cmd+Click to follow a reference not working. Finally, this was driving me mad 😂 Thanks!

  11. MarcSerret51 commented on Mar 8, 2023

    @MarcSerret51

    Its working great for me with this Spring Boot Tools update!

  12. pinned this issue on Mar 8, 2023
  13. jdneo commented on Mar 8, 2023

    @jdneo
    Collaborator

    Close since it looks like the root cause has been found, please check: #2941 (comment)

  14. unpinned this issue on Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions