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 {}
相关推荐
重生之小比特14 小时前
【Java SE】IDEA 调试 Debug 案例完整分析
java·ide·intellij-idea
Danny_姜16 小时前
Android Studio Quail 4 稳定版发布:本地 Gemma 4 + Android Skills
android·ide·android studio
withoutfear1 天前
IntelliJ IDEA卡顿内存分配不足和索引被频繁触发问题解决办法
java·ide·intellij-idea
寥落半伤感2 天前
在Pycharm中一键迅速安装包及查看虚拟环境中包名的方法
ide·python·pycharm
进击的炸酱面2 天前
如何在服务器中使用codex?代理配置一图详解
ide·vscode·ssh
持敬chijing2 天前
VSCode 远程开发环境完整搭建指南:汉化、SSH 免密连接与版本更新锁定
ide·vscode·ssh
郝学胜-神的一滴2 天前
C++11 工程级应用 09:告别无谓拷贝,解锁高性能移动语义
开发语言·数据结构·c++·vscode·软件工程·visual studio
weixin_402486342 天前
VS Code Codex/Claude Extension 无法安装 / 无法正常打开
linux·服务器·vscode
2501_915909062 天前
SwiftUI 和 UIKit 怎么选?两代 UI 框架的适用范围
vscode·ios·objective-c·个人开发·swift·敏捷流程
golang学习记3 天前
VS Code 新UI被曝重大bug:菜单栏消失了
vscode·bug