All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.4.0 (2020-09-14)
1.3.4 (2020-09-14)
- use correct main file path (c50074f)
1.3.3 (2020-09-14)
1.3.2 (2020-09-14)
- activate extension for every event (20816f5)
1.3.1 (2020-09-14)
- use correct path to HTML template for webview (741b5e1)
- ✏️ traget to target (130d401)
- adjusts the docs
- adds
tree-generator.maxFilesInSubtree
andtree-generator.maxDirsInSubtree
configuration to limit the files / directories in each subtree
- adds
tree-generator.dirsOnly
configuration switch to be able to define that just directories should be used for the generated output (ignore files)
- updates the docs
- configuration for last directories in a tree was not respected (e.g.
"directory": { "default": "┣ #1/" , "last": "┗ #1/" }
produced┣ <DIRECTORY>/
for all directories including the last one with the default ASCII configuration
- Adds the possibility to configure custom tree generators by adding them to the configuration array in
tree-generator.targets
- Adds the possibility to modify defualt generator settings / output by adjusting the configuration array in
tree-generator.targets
Example:
/**
* Configure the masks for tree items
* Use the placeholders #0, #1 amd #2 which will be replaces as with the
* following content:
* #0 : Insert the tree level number
* #1 : Insert the name of the file or directory
* #2 : Insert the relative path to the file or directory starting from the selected directory
* @example
* - #0: [#1](.#2)
* - 1: [file1.txt](./path/to/file/file1.txt)
*/
"tree-generator.targets": [
{
"picker": {
"label": "ASCII",
"description": "Convert to ASCII Tree"
},
"beforeTree": "",
"afterTree": "",
"indent": "┃ ",
"masks": {
"root": "#1/",
"file": {
"default": "┣ #1",
"last": "┗ #1"
},
"directory": {
"default": "┣ #1/"
}
}
}
// ...
]
- Renamed generator button from
File Tree To Text
toGenerate Filetree...
- Refactored logic for tree generation
- Updates Docs
- Configure default setting via preferences
- Adds possibility to disable promt and use default configuration values instead
- let the user choose the max depth for the tree. Leaving the input in the prompt empty will lead to the same output as before (mo limit for depth)
- Generate file / directory trees into ASCII, LATEX and Markdown formats.
- nothing yet