-
Notifications
You must be signed in to change notification settings - Fork 28
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
Missing extension command in VSCode #680
Comments
Do you have a Quarkus project opened? |
Hi, I think the http client from "axios", which is used in requestUtil.ts has some problem with https over http proxy. The problem is mentionend here: axios/axios#4531 For me it also the reason why the vscode-quarkus extension is failing in the last step of "Generate a Quarkus project" with the same message mentioned here: #292 It was working for me eigth month ago. |
For me the problem still persists. |
@datho7561 have you an idea why we have this issue? |
|
For me, it happens in single and multi root workspaces. |
Thanks @mproep |
Yes, the screenshot from above is from a single-root workspace. |
I'll see if I can reproduce |
What I'm seeing currently is that the Java extension is stuck activating. Until it finishes activating, we cannot properly detect that the current project is a Quarkus project. We'll need to figure out what's causing this. It could be either vscode-quarkus or vscode-java itself.
This is probably a separate issue given I can reproduce the first issue without using a proxy. Hopefully #711 (using the NodeJS built-in fetch instead of axios) can fix it. I'll clean up that PR. |
I retried it after closing and reopening VS Code, and now I get "no quarkus projects were found in the current folder". |
It suddenly started working again for me. |
@mproep from this screenshot it seems that vscode-quarkus cannot detect that the project is a Quarkus project since vscode-java never finishes starting. Is vscode-java running? There should be something that says "☕ Java: Ready" in the bottom bar if it has started properly. Unfortunately, I haven't been able to reproduce this failure reliably. Maybe try closing and reopening VS Code? Sometimes if vscode-java gets stuck importing the project the first time around, it works the second time. |
Thank you @mproep
|
@mproep have you support
|
Hi,
It was just to note that I can not see the command "Quarkus: Add extensions to current project:" in the drop down list.
OS: MacOS
VSCode:
Version: 1.86.2 (Universal)
Commit: 903b1e9d8990623e3d7da1df3d33db3e42d80eda
Date: 2024-02-13T19:42:13.651Z
Electron: 27.2.3
ElectronBuildId: 26908389
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Darwin x64 23.2.0
Quarkus Extension version: 1.17.0
The text was updated successfully, but these errors were encountered: