Minimum VSCode Version for `vscode-r` v2.0.0
See original GitHub issueI am installing vscode-r from openvsx in a centralized installation which currently makes use of code-server v 3.10.2 which again ships vscode 1.56.1.
While vscode-R v1.6.8 can be installed, I get an error for v2.0.0. Do you know what the minimum vscode version required is for v2.0.0?
This is mainly for me knowing how long I need to pin the old version to prevent the installation failures.
VSCODE_R_VERSION=1.6.8
curl -sL https://open-vsx.org/api/Ikuyadeu/r/${VSCODE_R_VERSION}/file/Ikuyadeu.r-${VSCODE_R_VERSION}.vsix -o Ikuyadeu.r-${VSCODE_R_VERSION}.vsix && /usr/bin/code-server --extensions-dir /usr/lib/code-server/lib/vscode/extensions --install-extension Ikuyadeu.r-${VSCODE_R_VERSION}.vsix && rm Ikuyadeu.r-${VSCODE_R_VERSION}.vsix
Installing extensions...
Extension 'Ikuyadeu.r-1.6.6.vsix' was successfully installed.
VSCODE_R_VERSION=2.0.0
curl -sL https://open-vsx.org/api/Ikuyadeu/r/${VSCODE_R_VERSION}/file/Ikuyadeu.r-${VSCODE_R_VERSION}.vsix -o Ikuyadeu.r-${VSCODE_R_VERSION}.vsix && /usr/bin/code-server --extensions-dir /usr/lib/code-server/lib/vscode/extensions --install-extension Ikuyadeu.r-${VSCODE_R_VERSION}.vsix && rm Ikuyadeu.r-${VSCODE_R_VERSION}.vsix
Installing extensions...
Unable to install extension 'ikuyadeu.r' as it is not compatible with VS Code '1.56.1'.
[2021-07-13T15:59:50.187Z] error vscode Failed Installing Extensions: file:///Ikuyadeu.r-2.0.0.vsix
[2021-07-13T15:59:50.188Z] error vscode Error: Failed Installing Extensions: file:///Ikuyadeu.r-2.0.0.vsix
at O.installExtensions (/usr/lib/code-server/lib/vscode/out/vs/server/entry.js:19:42)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async /usr/lib/code-server/lib/vscode/out/vs/server/entry.js:36:90861
at async M (/usr/lib/code-server/lib/vscode/out/vs/server/entry.js:36:94206)
at async process.<anonymous> (/usr/lib/code-server/lib/vscode/out/vs/server/entry.js:36:103823)
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (9 by maintainers)
Top Results From Across the Web
Requirements for Visual Studio Code
Requirements for Visual Studio Code. Hardware. Visual Studio Code is a small download (< 200 MB) and has a disk footprint of <...
Read more >November 2022 (version 1.74) - Visual Studio Code
Learn what is new in the Visual Studio Code November 2022 Release (1.74)
Read more >May 2022 (version 1.68) - Visual Studio Code
Welcome to the May 2022 release of Visual Studio Code. There are many updates in this version that we hope you'll like, some...
Read more >Visual Studio Code September 2022
Learn what is new in the Visual Studio Code September 2022 Release (1.72)
Read more >August 2022 - Visual Studio Code
August 2022 (version 1.71) ; Merge editor improvements - Easier transition between text and merge editors. ; Expanded codecs support - To help...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Here is another place we rely on
1.57.0
, and indirectly anywhere in the code, where we use functions that are present for v1.57 but not the older ones.Also, sometimes the contributions declared in package.json depend on a certain version of vscode. E.g. the
"editor/title/run"
menu was introduced somewhat recently and produces a warning in older versions of vscode.With this in mind, we should probably bump the vscode version only if we actually implement a feature or use an API that is not present in older vscode versions. After all it’s a minimum version, not a “recommended version”.
Does it make more sense to set to the previous 3 or 4 version as the minimum version in each release? Some user might not be timely upgrading to the latest release due to many causes, e.g. in a corporate environment where installation of external software is controlled, having some blocking issues introduced in the newer releases. I think these users perfectly deserve to use the latest vscode-R which does not really have a hard dependency on the most recent releases.