Hold Alt click on text, Copy content, And supports different variable naming styles.
- Copy as plain text (
Alt
+ Click
)
- Copy as snake_case style (right
Alt
+ Click
)
- Copy as kebab-case style (
Alt
+ Shift
+ Click
)
- Copy as PascalCase style (
Alt
+ Ctrl
+ Click
)
- Copy the element's title attribute (
Alt
+ Ctrl
+ Shift
+ Click
)
When doing hard work, you can save some energy.
Let the action focus on the matter itself, rather than: mouse selection, right-click, copy, and you may even copy the styled one :(
Using this script will not have this trouble.
按住 Alt 键点击文本,复制文本内容,并且,支持不同变量命名风格。
- 复制为纯文本 (
Alt
+ Click
)
- 复制为 snake_case 风格 (右
Alt
+ Click
)
- 复制为 kebab-case 风格 (
Alt
+ Shift
+ Click
)
- 复制为 PascalCase 风格 (
Alt
+ Ctrl
+ Click
)
- 复制元素的 title 属性 (
Alt
+ Ctrl
+ Shift
+ Click
)
做体力活时,能节省点体力,让操作关注到事情本身,
而不是:鼠标刮选、右键、复制,指不定还复制了带样式的,
用本脚本就不会有这方面的烦恼了。