Skip to content

Convert your file indented with space (or tab) to a .tree file

Notifications You must be signed in to change notification settings

clement-ux/tree-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

tree-builder

Convert your file indented with space (or tab) to a .tree file.

Installation

  1. Clone this repo.
  git clone https://github.com/clement-ux/tree-builder.git
  cd tree-builder
  1. Write your file (don't matter which extension).

  2. Run the script (don't forget to change the file name on the first line).

python tree-builder.py
  1. Generated .tree file will be on the same folder as your file name, with same name, but with .tree extension.

Usage/Example

Capture d’écran 2023-08-04 à 23 38 59 Capture d’écran 2023-08-04 à 23 39 05

Recommandations

Use this extension on vscode marketplace for a better syntax highlighting. https://marketplace.visualstudio.com/items?itemName=CTC.vscode-tree-extension

Comments

This script works well on major simple case but is still buggy on some edge case.

About

Convert your file indented with space (or tab) to a .tree file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages