Skip to content

Commit

Permalink
feat: 2.0.4 PasteCss 新增默认快捷键 ctrl(control) + alt(option) + v
Browse files Browse the repository at this point in the history
  • Loading branch information
gucovip committed Aug 23, 2021
1 parent 49ac504 commit f1e23f2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ windows: `Alt + insert`, Mac: `control + Enter`
注意:可以在 keymap 中配置自己喜欢的快捷键,后续如果可以将默认自动设置好快捷键(InsertClass: command + \; PasteCss: control + option + v)。

#### 最近更新
* 2021.08.23 2.0.4 PasteCss 新增默认快捷键 ctrl(control) + alt(option) + v。
* 2021.08.17 2.0.3 GoCss 修复 非驼峰式 无法跳转的 bug。

##### PS
Expand Down Expand Up @@ -58,6 +59,7 @@ windows: `Alt + insert`, Mac: `control + Enter`
QQ:11563928

#### 更新日志
* 2.0.4 PasteCss 新增默认快捷键 ctrl(control) + alt(option) + v。
* 2.0.3 GoCss 修复 非驼峰式 无法跳转的 bug。
* 2.0.2 GoCss 也将生成 驼峰式 的 class
* 2.0.1 InsertClass 不再格式化为短横线间隔,而是驼峰式。GoCss 依然支持查找短横线间隔的class。
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

pluginGroup = vip.guco.stylusassist
pluginName = Stylus Assist
pluginVersion = 2.0.3
pluginVersion = 2.0.4

# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
# for insight into build numbers and IntelliJ Platform versions.
Expand Down
10 changes: 6 additions & 4 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<idea-plugin>
<id>vip.guco.stylusassist</id>
<name>Stylus Assist</name>
<version>2.0.3</version>
<version>2.0.4</version>
<vendor email="gucovip@gmail.com" url="https://github.com/gucovip/stylus-assist">MaiYa</vendor>

<description><![CDATA[
Expand Down Expand Up @@ -41,6 +41,7 @@

<change-notes><![CDATA[
<ul>
<li>2.0.4 PasteCss 新增默认快捷键 ctrl(control) + alt(option) + v。</li>
<li>2.0.3 GoCss 修复 非驼峰式 无法跳转的 bug。</li>
<li>2.0.2 GoCss 也将生成 驼峰式 的 class。</li>
<li>2.0.1 InsertClass 不再格式化为短横线间隔,而是驼峰式。GoCss 依然支持查找短横线间隔的class。</li>
Expand All @@ -60,15 +61,16 @@

<actions>
<action id="vip.guco.jumpCssCode" class="JumpAction" text="GoCss"
description="vip.guco.jumpCssCode">
description="GoCss, jump to css class">
<add-to-group group-id="GenerateGroup" anchor="first"/>
</action>
<action id="vip.guco.insertCssCode" class="InsertAction" text="PasteCss"
description="vip.guco.insertCssCode">
description="PasteCss, paste class copy from browser or others">
<add-to-group group-id="GenerateGroup" anchor="after" relative-to-action="vip.guco.jumpCssCode"/>
<keyboard-shortcut keymap="$default" first-keystroke="ctrl alt v"/>
</action>
<action id="vip.guco.insertClass" class="InsertClassAction" text="InsertClass"
description="vip.guco.insertClass">
description="InsertClass, create class with selection and insert into last of style tag">
<add-to-group group-id="GenerateGroup" anchor="after" relative-to-action="vip.guco.insertCssCode"/>
</action>
</actions>
Expand Down

0 comments on commit f1e23f2

Please sign in to comment.