eclipse-che / che

Kubernetes based Cloud Development Environments for Enterprise Teams
http://eclipse.org/che
Eclipse Public License 2.0
6.96k stars 1.19k forks source link

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

Open dmytro-ndp opened 1 week ago

dmytro-ndp commented 1 week ago

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 https://github.com/microsoft/vscode-python/issues/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 https://github.com/microsoft/vscode/issues/138048

ibuziuk commented 1 week ago

@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 - https://github.com/microsoft/vscode/issues/138048