generated from antfu/starter-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
60 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Tree Log | ||
|
||
<center> | ||
|
||
<img src="res/icon.svg" width=80> | ||
|
||
</center> | ||
|
||
<center> | ||
|
||
<a href="https://marketplace.visualstudio.com/items?itemName=daodaolea.tree-log" target="__blank"><img src="https://img.shields.io/visual-studio-marketplace/v/daodaolea.tree-log.svg?color=eee&label=VS%20Code%20Marketplace&logo=visual-studio-code" alt="Visual Studio Marketplace Version" /></a> | ||
|
||
</center> | ||
|
||
一个自动生成树形格式的 console.log 语句的插件。默认的树头是随机 Emoji 符号,可以自定义。 | ||
|
||
<center> | ||
|
||
![shot](res/shot.png) | ||
|
||
</center> | ||
|
||
## 特性 | ||
|
||
<center> | ||
|
||
![shot](res/shot.gif) | ||
|
||
</center> | ||
|
||
你可以选择变量后使用快捷键 `alt` + `c` 自动生成控制台语句,也可以使用 `ctrl` + `alt` + `c` 删除文件的控制台语句。 | ||
|
||
你还可以使用 `命令面板`,搜索 `Add Tree Log` 来生成它们,或者搜索 `Delete Tree Log` 来删除。 | ||
|
||
当然,你也可以在选择变量后右键,选择 `Tree Log` 进行操作。 | ||
|
||
|
||
|
||
## 设置 | ||
|
||
你可以通过 `Settings.json` 添加文本,来自定义树头(命令面板 -> 首选项:打开设置 (JSON)) | ||
|
||
比如: | ||
|
||
* `tree-log.suffix`: "a custom text" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters