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

Make it possible to persist recommended vsx extension version in extensions.json file #23138

Open
dmytro-ndp opened this issue Sep 10, 2024 · 2 comments
Labels
area/editor/vscode Issues related to the Code OSS editor of Che kind/enhancement A feature request - must adhere to the feature request template. severity/P1 Has a major impact to usage or development of the system. status/analyzing An issue has been proposed and it is currently being analyzed for effort and implementation approach team/B This team is responsible for the Web Terminal, the DevWorkspace Operator and the IDEs.

Comments

@dmytro-ndp
Copy link
Contributor

dmytro-ndp commented Sep 10, 2024

Is your enhancement related to a problem? Please describe

Sometimes latest available extension fails to install in VS Code Editor, e.g. "ms-python.python" extension v2024.14.0 (issue microsoft/vscode-python#24013).

In that case users are facing recommended extension installation error when run workspace in DevSandbox (e.g. issue https://issues.redhat.com/browse/CRW-7201).

Describe the solution you'd like

Make it possible to persist vsx extension version in .vscode/extensions.json file inside workspace, e.g.:

{
  // See https://go.microsoft.com/fwlink/?LinkId=827846
  // for the documentation about the extensions.json format
  "recommendations": {
    "redhat.java":"1.34.0",
    "vscjava.vscode-java-debug":"0.58.0"
  }
}

Describe alternatives you've considered

No response

Additional context

This issue depends on microsoft/vscode#138048

@dmytro-ndp dmytro-ndp added the kind/enhancement A feature request - must adhere to the feature request template. label Sep 10, 2024
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Sep 10, 2024
@dmytro-ndp dmytro-ndp added severity/P1 Has a major impact to usage or development of the system. area/editor/vscode Issues related to the Code OSS editor of Che and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Sep 10, 2024
@ibuziuk
Copy link
Member

ibuziuk commented Sep 10, 2024

@azatsarynnyy @vitaliy-guliy please, review but I do not think we can do anything on that on our end since it is not supported on vscode - microsoft/vscode#138048

@dmytro-ndp dmytro-ndp changed the title Make it possible to persist vsx extension version in extensions.json file Make it possible to persist recommended vsx extension version in extensions.json file Sep 10, 2024
@dmytro-ndp dmytro-ndp added the team/B This team is responsible for the Web Terminal, the DevWorkspace Operator and the IDEs. label Sep 10, 2024
@ibuziuk ibuziuk added the status/analyzing An issue has been proposed and it is currently being analyzed for effort and implementation approach label Sep 12, 2024
@azatsarynnyy
Copy link
Member

VS Code doesn't support specifying a particular version of the extension to install as a recommended one.
BTW, the problem with the Python extension is fixed in Che-Code.
You can find more details here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/editor/vscode Issues related to the Code OSS editor of Che kind/enhancement A feature request - must adhere to the feature request template. severity/P1 Has a major impact to usage or development of the system. status/analyzing An issue has been proposed and it is currently being analyzed for effort and implementation approach team/B This team is responsible for the Web Terminal, the DevWorkspace Operator and the IDEs.
Projects
None yet
Development

No branches or pull requests

4 participants