Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Copy Class NameNew to Visual Studio Code? Get it now.
Copy Class Name

Copy Class Name

mouday

|
284 installs
| (0) | Free
copy class name for html vue react
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

copy-class-name README

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

github代码地址:https://github.com/mouday/copy-class-name

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

使用方式:

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

示例

<div class="test">
    <div class="text-children"></div>
</div>

或者

<div className="test">
    <div className="text-children"></div>
</div>

输出

.test {}

.text-children {}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft