VSCode推荐插件:Copy Class Name快速复制html中的类名

插件地址:https://marketplace.visualstudio.com/items?itemName=mouday.copy-class-name

复制Vue和React中HTML代码的类名,实现快速复制

使用方式:

选中代码,右键复制类名,再粘贴到文件中即可

示例

html 复制代码
<div class="test">
    <div class="text-children"></div>
</div>

或者

html 复制代码
<div className="test">
    <div className="text-children"></div>
</div>

输出

.test {}

.text-children {}
相关推荐
五花肉村长12 小时前
数据结构-队列
c语言·开发语言·数据结构·算法·visualstudio·编辑器
嵌入式小能手13 小时前
开发环境搭建之VScode的安装及使用
vscode·编辑器
N1cez15 小时前
vscode 连接服务器 不用输密码 免密登录
服务器·vscode
yufei-coder16 小时前
C# Windows 窗体开发基础
vscode·microsoft·c#·visual studio
电子科技圈17 小时前
IAR全面支持国科环宇AS32X系列RISC-V车规MCU
人工智能·嵌入式硬件·mcu·编辑器
white.tie20 小时前
vscode配置golang
ide·vscode·golang
mashagua1 天前
本地访问autodl的jupyter notebook
ide·python·jupyter·autodl
DaphneOdera171 天前
Jupyter | jupyter notebook 使用 conda 环境
ide·jupyter·conda
一只积极向上的小咸鱼1 天前
jupyter本地配置
ide·python·jupyter
4v1d1 天前
Jupyter的使用分享
ide·python·jupyter