我在 PhpStorm 2016.3.2 工作。在我的 HTML 文件中,有时会<style>
在其中找到标签和缩小的 CSS。
是否可以创建一个快捷方式来取消此标签内的代码?
例如,这段代码:
<style>.arrow{fill:none;stroke:#231f20;stroke-linecap:round;stroke-miterlimit:10;stroke-width:20px;}</style>
应该是这样的:
<style>
.cls-1 {
fill: none;
stroke: #231f20;
stroke-linecap: round;
stroke-miterlimit: 10;
stroke-width: 20px;
}
</style>