Skip to content
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

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

Closed
Artur- opened this issue Feb 16, 2023 · 12 comments
Closed

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

Artur- opened this issue Feb 16, 2023 · 12 comments

Comments

@Artur-
Copy link

Artur- commented Feb 16, 2023

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
@jdneo
Copy link
Collaborator

jdneo commented Feb 16, 2023

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?

@Artur-
Copy link
Author

Artur- commented Feb 16, 2023

The same happens with v1.15.2023021503

@snjeza
Copy link
Contributor

snjeza commented Feb 16, 2023

@Artur- Could you attach a project example?

@Artur-
Copy link
Author

Artur- commented Feb 22, 2023

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?

@jdneo
Copy link
Collaborator

jdneo commented Feb 22, 2023

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

@pbloigu
Copy link

pbloigu commented Mar 3, 2023

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

@Artur-
Copy link
Author

Artur- commented Mar 3, 2023

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

@MarcSerret51
Copy link

Its similar to my problem. #2933

@martinlippert
Copy link

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.

@ohueter
Copy link

ohueter commented Mar 7, 2023

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!

@MarcSerret51
Copy link

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

@jdneo
Copy link
Collaborator

jdneo commented Mar 8, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants