linux下vscode推荐安装的插件
时间: 2023-11-02 14:51:43 浏览: 238
以下是我个人在Linux下使用VSCode时推荐安装的插件:
1. Remote Development:可以通过SSH、Docker等远程方式连接到远程服务器进行开发。
2. GitLens:可以在编辑器中直接查看Git仓库的历史记录、提交等信息。
3. ESLint:JavaScript代码检查工具,可以帮助你发现代码中的潜在问题。
4. Prettier - Code formatter:代码格式化工具,可以帮助你统一代码风格、减少手动调整代码格式的时间。
5. Bracket Pair Colorizer:给匹配的括号和花括号加上颜色,方便查看。
6. Code Runner:可以直接在编辑器中运行代码,并显示输出结果。
7. Path Intellisense:自动补全文件路径。
8. Markdown All in One:Markdown文件编辑器,可以预览、导出HTML、PDF等格式。
9. Remote - WSL:WSL远程开发工具。
10. Material Icon Theme:美化图标主题。
相关问题
linux系统vscode安装插件报错
### 解决 Linux 系统中 Visual Studio Code 安装扩展时报错的方法
#### 一、检查网络连接状况
确保当前环境下的网络连接正常,因为部分插件可能依赖于互联网资源下载。如果处于公司内部网络或有代理设置的情况下,则需配置好 HTTP/HTTPS_PROXY 环境变量[^1]。
#### 二、更新软件包列表并重新启动 VSCode
有时本地缓存可能导致安装失败,通过命令行执行 `sudo apt-get update` 更新系统中的软件源索引文件;之后关闭再打开一次编辑器尝试再次安装所需扩展程序[^2]。
#### 三、手动指定镜像站点加速获取远程资源
对于国内用户来说,可以考虑更换成速度更快的中国科学技术大学(TUNA)等开源项目托管平台作为默认仓库地址来加快加载过程。具体操作是在终端里输入如下指令更改全局配置项:
```bash
code --install-extension <extension-id> --force --verbose --log trace
```
#### 四、查看详细的日志信息排查原因
当遇到难以理解的具体报错提示时,可以通过增加 verbosity 参数让应用程序输出更多调试级别的消息帮助定位问题所在位置。上述命令已经包含了提高日志级别到跟踪模式(`trace`)以及强制覆盖现有同名组件(`--force`)两个选项用于辅助诊断。
#### 五、确认目标架构匹配度
某些特定版本号只适用于 x86_64 架构而非 ARM 或其他类型处理器芯片组,在选择要添加的功能模块之前应当先核实清楚自己所使用的硬件平台特性是否满足其最低运行需求。
linux下vscode添加插件
在Linux下,你可以通过以下步骤在VS Code中添加插件:
1. 打开VS Code。
2. 点击左侧的扩展图标(或使用快捷键`Ctrl+Shift+X`)打开扩展面板。
3. 在搜索框中输入你要安装的插件的名称或关键字。
4. 在搜索结果中找到你要安装的插件,并点击安装按钮。
5. 安装完成后,插件将会出现在VS Code的侧边栏中。
请注意,VS Code需要联网才能安装插件。如果你使用的是代理,请确保你已经正确配置了代理设置。
希望能帮到你!如果有任何问题,请随时提问。
阅读全文
相关推荐















