-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
No delegateCommandHandler for vscode.java.startDebugSession when starting #1018
Comments
@dsyer We will update Gitpod to latest java support. For time being you can upload latest version of extensions into your repo to enable them, see https://www.gitpod.io/docs/vscode-extensions/#installing-an-extension |
Duplicate of #886 |
Thanks for the link. Actually I’m not sure I know where to get a .vsix file from (also drag and drop is rubbish for anyone without a file explorer). Normally I just click on the “Install” button. Why can’t Gitpod do it the normal way? Where do you find those files? |
@dsyer yes, it is not very convenient right now :( Unfortunately MS does not let us to access VS Code marketplace: https://www.gitpod.io/docs/vscode-extensions/#where-do-i-find-extensions We are working on the open marketplace which will be hosted under Eclipse Foundation: |
Thanks. Found it. Unfortunately it doesn't seem to fix anything. How do I know if that extension is active? |
@dsyer It should be like that: You need to reload the page to enabled latest versions. I've opened a bug in Theia to make it work automatically in the future: eclipse-theia/theia#6777 |
OK now I have this in
The first one is supposed to be a collection of extensions that include the rest, but using it on its own didn't seem to work at all. I was able to run the app. But I get this on the tests:
Nothing very helpful there. |
Got it working almost:
(Adding more extensions from the The next thing that breaks is that when the tests run you don't get feedback about whether it was successful or not, just a placeholder (see screenshot). Also, when you run the app there is no way to stop it (usually in vscode there is a little floating dialog with play/stop/refresh type buttons). |
@dsyer please replace vscode:
extensions:
- [email protected]:3ARqL3kPh1J1SwpVjYUjqw==
- [email protected]:Q60n5quUtfd1EcwzkRq96A==
- [email protected]:BlvjRRJyZszeJzIS+xEHIA== I don't see that |
In Theia, it is always docked in the debug view. |
Got it thanks. Finding it hard to figure out how to force Gitpod to close and reopen the workspace. Is there an action for that? I also found that I need the Maven extension, otherwise the run/debug links are not rendered.
Your screenshot shows the |
In the top right corner there is your account icon, if you click on it then you can stop the workspace or open the dashboard from there: You can see all your workspaces here: https://gitpod.io/workspaces
Thanks! I will bring it to Theia.
Do you mean code lens links? |
I guess. Is that what they call them? |
Deployed to production. Please verify. |
Nothing changed for me. What was it that was "deployed to production"? |
Describe the bug
No run links on Java source code. Running the project results in an error dialog "No delegateCommandHandler for vscode.java.startDebugSession". Apparently this would be fixed with a new version of https://github.com/microsoft/vscode-java-debug.
To Reproduce
Open any Java project, e.g. https://gitpod.io/#https://github.com/spring-projects/spring-petclinic
Expected behavior
Tests and main classes have"Run" links. Debug->Start Debugging should run the main class.
Additional Information
microsoft/vscode-java-debug#728
The text was updated successfully, but these errors were encountered: