microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.15k stars 28.83k forks source link

RISC-V Support #206766

Open garrdbyrd opened 7 months ago

garrdbyrd commented 7 months ago

With the rise of popularity for RISC-V processors, and now especially with Scaleway now offering RISC-V instances, it seems that support for RISC-V is becoming more essential. For me and (anecdotally) many others, remote connections to RISC-V machines is becoming the primary way of interacting and developing on the architecture. vim is sufficient, but I would love to remote connect VS Code these machines.

Yoyokrazy commented 6 months ago

@alexdima feel free to reassign to a more relevant person for the remote feature request

VSCodeTriageBot commented 3 months ago

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

deepak1556 commented 3 months ago

Thanks for the interest, adding support for this architecture to remote requires upstream Node.js to officially support which hasn't happened yet https://github.com/nodejs/build/issues/2876. I will keep this issue open to track.

VSCodeTriageBot commented 3 months ago

:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

benz0li commented 1 month ago

ℹ️ Currently, vscode-reh can be successfully built using unofficial Linux/RISC-V Node.js binaries from https://unofficial-builds.nodejs.org, e.g. v20.15.1.

(playwright/chromium is not (yet) available for Linux/RISC-V[^1]. And electron [therefore] also lacks RISC-V support[^2])

[^1]: Chromium: https://issues.chromium.org/issues/42050595 [^2]: https://github.com/electron/electron/issues/38892; points to [^1]

archanox commented 1 month ago

(playwright [browsers] are not (yet) available for Linux/riscv64.

From what I understand is that there's a lack of upstream support in chromium? Perhaps the relevant projects require issues to track this.

kxxt commented 5 days ago

FYI I maintain a fork^1 of electron with riscv64 support, with up-to-date releases published in a separate repo^2, which could be used until chromium and electron officially supports riscv64. And VSCodium supports riscv64 client^3 and reh build, which could be used with open-remote-ssh^4 plugin as a replacement for microsoft's proprietary remote-ssh plugin.

[^5]: