当前位置:网站首页>vscode 工作区配置插件 配置不同工作环境
vscode 工作区配置插件 配置不同工作环境
2022-07-30 01:05:00 【糖糖246】
背景:
公司中老项目都是用的vue2,新项目用的vue3,在vscode中,vue2用的插件是Vetur,vue3用的插件是Vue Language Features (Volar),这就导致打开vue2的时候需要禁用Volar,打开vue3的时候需要禁用Vetur。而vscode提供了工作区的概念,可以给每个工作区配置不用的插件,形成不同的工作环境。
使用:
1. 打开文件夹

2. 左上角【文件】-【将工作区另存为】-选择合适位置-【保存】

3. 左上角【文件】-【首选项】-【设置】可以看到工作区是否创建成功
4. 找到想要配置的插件,禁用/启用到对应工作区即可

建好工作区后,以后同配置的文件夹,可以直接拖到对应的工作区,即可享受相同的配置。
边栏推荐
- 自学HarmonyOS应用开发(53)- 获取当前位置
- 二叉排序树(C语言)
- 7.27
- Graph Theory: Bipartite Graphs
- What majors become more popular the older they get?
- npm ERR! code ENOTSUP npm ERR! notsup Unsupported engine for [email protected]: wanted: {“n
- "The lighthouse factory" of China path: smart roll out from point to surface
- CNN的粗浅理解
- Win11的WSL2系统更换磁盘和wsl使用简介
- 会议OA之待开会议&&所有会议
猜你喜欢

Detailed introduction of @RequestParam annotation

重建二叉树

How Navicat Connects to MySQL

He cell separation technology 丨 basic primary cell separation methods and materials

Reconstruction of binary tree

【LeetCode每日一题】——230.二叉搜索树中第K小的元素

Ubuntu中使用SQLite

Fabric 私有数据案例

canvas 中如何实现物体的框选(六)

CMake Tutorial 巡礼(1)_基础的起点
随机推荐
Linux-安装MySQL(详细教程)
Fabric Private Data Case
会议OA之待开会议&&所有会议
servlet执行详解
Linux - install MySQL (detailed tutorial)
2022-07-29:一共有n个人,从左到右排列,依次编号0~n-1, h[i]是第i个人的身高, v[i]是第i个人的分数, 要求从左到右选出一个子序列,在这个子序列中的人,从左到右身高是不下降的。
Worthington Papain & Chymotrypsin & DNase I
多AZ双活容灾部署的云端系统架构设计说明书框架
How Filebeat ensures that the log file is still correctly read when the log file is split (or rolled)
Since the media increase play a short video?From the three aspects
QTableWidget usage example
Validation Framework-01
The solution to the bug, the test will no longer be blamed
测试员容易陷入的9大误区
Nacos配置中心用法详细介绍
重新定义分析 - EventBridge 实时事件分析平台发布
CMake Tutorial 巡礼(1)_基础的起点
Navicat如何连接MySQL
Self-study HarmonyOS application development (56) - Use Service to ensure that the application runs continuously in the background
循环神经网络(RNN)