Skip to content

Commit

Permalink
chore: edit files
Browse files Browse the repository at this point in the history
  • Loading branch information
daodaolee committed Aug 28, 2023
1 parent 0398423 commit e7f9c61
Show file tree
Hide file tree
Showing 10 changed files with 1,218 additions and 16 deletions.
5 changes: 4 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"extends": "@antfu"
"extends": "@antfu",
"rules": {
"no-cond-assign": "off"
}
}
1 change: 0 additions & 1 deletion .github/FUNDING.yml

This file was deleted.

47 changes: 37 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,42 @@
# ext-name
# Tree Log

<a href="https://marketplace.visualstudio.com/items?itemName=antfu.ext-name" target="__blank"><img src="https://img.shields.io/visual-studio-marketplace/v/antfu.ext-name.svg?color=eee&amp;label=VS%20Code%20Marketplace&logo=visual-studio-code" alt="Visual Studio Marketplace Version" /></a>
<center>

## Sponsors
<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&amp;label=VS%20Code%20Marketplace&logo=visual-studio-code" alt="Visual Studio Marketplace Version" /></a>

<p align="center">
<a href="https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/antfu/static/sponsors.png'/>
</a>
</p>
</center>

## License

[MIT](./LICENSE) License © 2022 [Anthony Fu](https://github.com/antfu)

A plugin that automatically generates console.log statements in tree format. The default tree header is a random emoji, which can be customized.

<center>

![shot](res/shot.png)

</center>

## Features

<center>

![shot](res/shot.gif)

</center>

You can select the variable and use the shortcut key `alt`+`c` to automatically generate the console statement, or use `ctrl`+`alt`+`c` to delete the console statement of the file.

You can also use the `Command Palette`, search for `Add Tree Log` to generate them, and `Delete Tree Log` to delete.

Of course, you can also right-click and select `Tree Log` to operate it after selecting the variable.



## Settings

You can customize the tree head by adding text to settings.json (Command Palette -> Preferences: Open Settings (JSON))

For example:

* `tree-log.suffix`: "a custom text"

Loading

0 comments on commit e7f9c61

Please sign in to comment.