I think the confusion arises because the IBM PC ASCII (code page 437) included comprehensive box-drawing characters between hexidecimal character positions B3 and DA. These weren't adopted into Unicode in the same character positions, but the box-drawing characters were definitely part of the commonly understood ASCII character set.
But I think that this ASCII tree editor should have a toggle option for basic vs extended ASCII, by utilising +, -, and | characters.
Indeed! I was disinclined to even look at this project because it said ASCII when the box-drawing characters are obviously a lot more suitable. It should say “text-only” or “plain-text” or similar instead.
Seems like a cool project !! Can you implement auto-parse as soon as the tree is pasted? Right now we can use arrow keys to reorder files, would love drag and drop ability for that too.
That's pretty neat! My motivation is to manipulate tree structures to provide them to LLM. Retree does the opposite, taking tree text as input to create a real file system hierarchy. Next time I want to create a new project based on the tree I edited through ASCII Tree Editor, I can use retree to do this.
I’m sure lots of people will think this, so I’ll say it—
Box-drawing characters (U+2500–U+257F) are not ASCII (U+0000–U+007F).
There, got it out of my system. :-)
(I know, “ASCII art” colloquially means more than just the ASCII range.)
They sort of are.
I think the confusion arises because the IBM PC ASCII (code page 437) included comprehensive box-drawing characters between hexidecimal character positions B3 and DA. These weren't adopted into Unicode in the same character positions, but the box-drawing characters were definitely part of the commonly understood ASCII character set.
But I think that this ASCII tree editor should have a toggle option for basic vs extended ASCII, by utilising +, -, and | characters.
Indeed! I was disinclined to even look at this project because it said ASCII when the box-drawing characters are obviously a lot more suitable. It should say “text-only” or “plain-text” or similar instead.
Both your link, and the “Live Demo” link in the GitHub readme, are dead links.
Seems like a cool project !! Can you implement auto-parse as soon as the tree is pasted? Right now we can use arrow keys to reorder files, would love drag and drop ability for that too.
Would love to have ASCII Tree Editor on https://www.superlaun.ch
You might find this a useful companion to your tool.
https://github.com/scottvr/retree
That's pretty neat! My motivation is to manipulate tree structures to provide them to LLM. Retree does the opposite, taking tree text as input to create a real file system hierarchy. Next time I want to create a new project based on the tree I edited through ASCII Tree Editor, I can use retree to do this.