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

VS Code: Import Java projects as part of the prebuild #12448

Closed
OLibutzki opened this issue Aug 26, 2022 · 6 comments
Closed

VS Code: Import Java projects as part of the prebuild #12448

OLibutzki opened this issue Aug 26, 2022 · 6 comments
Labels
aspect: performance anything related to performance editor: code (browser) editor: code (desktop) meta: stale This issue/PR is stale and will be closed soon team: IDE type: feature request New feature or request

Comments

@OLibutzki
Copy link

Is your feature request related to a problem? Please describe

Currently Java projects are imported whenever I open a Gitpod workspace. That takes some time and leads to a delay until I can start coding. This issue can be reprduced using the spring-petclinic example.

Here is a little video demonstrating the current behaviour:

gitpod-io_spring-petclinic-Java-import.mp4

After about 30 seconds the IDE is ready including the extensions...
It takes another 14 seconds until the Java project is imported. Please keep in mind that the petclinic is a small project. Bigger projects (like Maven Multi-Module projects) take more time to be imported into VS Code.

Describe the behaviour you'd like

It would be great if the Java project import could be moved into the prebuild phase.

Describe alternatives you've considered

Using the JetBrains stack might be an alternative, but I have not tried it yet.

Additional context

//cc @svenefftinge the result of our conversation today

@OLibutzki
Copy link
Author

I assume that it's an issue how vscode-java works...

Every Reload window leads to a reimport of the Java projects.

@axonasif
Copy link
Member

Hey @OLibutzki, thanks for rising this. Does #10185 seem related to you?

@OLibutzki
Copy link
Author

From a user's point of view it seems to be related, but I doubt that it's related from a technical point of view as IntelliJ and the RedHat VS Code implementations are completely different.

@akosyakov
Copy link
Member

Thank you for the issue. It is an interesting idea. @fbricon I wonder is there some way to prerun java LS on CI that it opens the project quicker on the startup in VS Code?

@akosyakov
Copy link
Member

I opened the issue in VS Code Java: redhat-developer/vscode-java#2724

@stale
Copy link

stale bot commented Jan 7, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Jan 7, 2023
@stale stale bot closed this as completed Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aspect: performance anything related to performance editor: code (browser) editor: code (desktop) meta: stale This issue/PR is stale and will be closed soon team: IDE type: feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants