[英]Complete Rust plugin install for VS Code via command line
I'd like for my students to program Rust from within VS Code under Windows 10. I hope to provide the IT department with a set of scriptable commands to set this up on each machine.我希望我的学生在 Windows 10 下从 VS Code 中对 Rust 进行编程。我希望为 IT 部门提供一组可编写脚本的命令,以便在每台机器上进行设置。
I have installed Rustup.我已经安装了 Rustup。 I also execute the following to install the "Rust (rls)" plugin:
我还执行以下操作来安装“Rust (rls)”插件:
code --install-extension rust-lang.rust
When I then open VS Code, I receive a popup message at the bottom right:当我打开 VS Code 时,我在右下角收到一条弹出消息:
RLS not installed. Install?
If I select "Yes" everything goes well.如果我选择“是”,一切都会顺利。 What I would prefer, is for this step to have been completed earlier via the command line (as above with
--install-extension
).我更喜欢的是,此步骤之前已通过命令行完成(如上使用
--install-extension
)。 Is this possible?这可能吗? Am I missing another extension?
我错过了另一个扩展吗? Can this be installed via the command line?
可以通过命令行安装吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.