无法在Visual Studio代码中安装扩展 [英] Cannot install extensions in visual Studio code

查看:166
本文介绍了无法在Visual Studio代码中安装扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Arch Linux的用户,我的问题是我无法安装扩展程序.我遵循了Microsoft页面,其中说我应该单击ctrl + P,然后编写 ext install(打包我要寻找的内容),所以我做到了.

I am an user of Arch Linux and my problem is that I am unable to install extensions. I followed the Microsoft pages which says that I should click ctrl+P and then write ext install (package what I'm looking for) so I did that.

单击安装扩展"后,没有任何反应,这就是为什么我尝试使用其他扩展几次而没有成功的原因.显示了安装"栏,但是当我单击它时也什么也没有发生.我的visual-studio-code是通过aur安装的 Visual-Studio-Code aur页面.

After clicking "install extension" nothing happend that is why I tried several times with other extensions with no success. The bar "install" has shown but when I clicked on it nothing happend as well. My visual-studio-code was installed via aur Visual-Studio-Code aur page.

我不认为它与visual-studio-code的安装有关.我非常感谢您对安装扩展的帮助.遗憾的是,如果以其他方式显示错误,我将其放在此处.请原谅我我的英语.我不是本地人.

I do not think it is connected with installation of visual-studio-code. I will be really thankful for a help with installation of extansions. Sadly no errors where shown in other way I would put it there down here. Please forgive me my english. I am not a native.

推荐答案

在gui中失败后,我可以使用 code 命令行选项安装它.

After it failed in the gui, I was able to install it with the code command line option.

code --install-extension lukehoban.Go

这不是一个明确的答案,只是对我有用".

This is not a definitive answer, just "it worked for me."

对于有此问题的OS X用户,请在此处安装 code :

For OS X users who have this issue, install code here: How to open Visual Studio Code from the command line on OSX?

这篇关于无法在Visual Studio代码中安装扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆