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
When opening a workspace, the project build is started. When the project is large it takes time to complete the build which is same in Eclipse as well. But in vscode the search operations such as reference and call hierarchy are blocked until the build is finished. In eclipse this works fine. As I remember a search operation is only blocked for indexing operations. It would be nice to support the same behavior as in Eclipse IDE from the LS as well so editors like VSCode can simulate the same behavior like Eclipse IDE.
The text was updated successfully, but these errors were encountered:
This should be related with the timing of registering these capabilities. At the moment we delay the registration until the build job has finished. It makes sense to enable earlier if some features don't conflict with build job.
Is this really the case ? I just tried re-importing eclipse.jdt.ls into a fresh Eclipse workspace, and a call hierarchy search still seemed to block until the build was completed.
For what it's worth, with #2341, the time it takes for the index to load could be improved quite a bit. With that said, I agree that we should look into registering capabilities sooner if it allows users to take advantage of more functionality sooner.
When opening a workspace, the project build is started. When the project is large it takes time to complete the build which is same in Eclipse as well. But in vscode the search operations such as reference and call hierarchy are blocked until the build is finished. In eclipse this works fine. As I remember a search operation is only blocked for indexing operations. It would be nice to support the same behavior as in Eclipse IDE from the LS as well so editors like VSCode can simulate the same behavior like Eclipse IDE.
The text was updated successfully, but these errors were encountered: