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

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

问题描述

我是 Arch Linux 的用户,我的问题是我无法安装扩展.我按照微软的页面说我应该点击 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.

点击安装扩展"后什么也没发生,这就是为什么我尝试了几次其他扩展都没有成功.安装"栏已经显示,但当我点击它时也没有发生任何事情.我的视觉工作室代码是通过 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:如何在 OSX 上从命令行打开 Visual Studio 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天全站免登陆