Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vtrbo committed Jul 15, 2022
1 parent 8e963ea commit caca450
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"cSpell.words": [
"vdlet",
"vrlet"
]
}
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,31 @@
| $label | 标签名 |
| $value | 输入值 |

<h3>顺便提一下,除了效果图,你还可以这么玩...</h3>

##### settings.json (这么玩,才是这个插件的灵魂)
```json
{
"dotThing.options": [
{
"keyword": "vdlet",
"formatter": "let $simple = $ref<$stamp>($value)",
"description": "vue setup $ref let 变量声明"
},
{
"keyword": "vrlet",
"formatter": "let $simple = ref<$stamp>($value)",
"description": "vue setup ref let 变量声明"
}
]
}
```
##### 效果 (更多快捷键入还等待着你们自己去挖掘)

<p align=center>
<img src="https://github.com/vtrbo/dot-thing/blob/main/res/effect-picture/dot-custom.gif?raw=true" alt="dot.custom" />
</p>

### 配置项 dotThing.languages
<p>类型是字符串数组</p>

Expand Down
Binary file added res/effect-picture/dot-custom.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit caca450

Please sign in to comment.