New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Directory tree listing #1448
Comments
Sounds like an interesting suggestion... and it should be easy to implement. Before starting, few questions:
|
It probably should not sort the file names, I think it should use the same order as they are written, then it is up to the users to write them in his desired order if he want them sorted or not. On the other hand, maybe the implementation would be easier if it were sorted, then that would be fine too. I don't know how files or directories that does not start with a slash should be rendered, but I think all files in the same directory should be rendered together in the same directory since directory names must be unique.
Would be rendered as:
|
Ok, thanks. Another simple question:
Maybe we should have:
Any though? |
Good point! There could also be different file icons rendered depending on the file extension. |
It's really a pre-alpha version that does not work as specified yet. But I wanted to let you know that some work have been started. Thanks for suggestion and stay tuned :-) |
We've made some progress :-) Any though? Icons are not perfect (especially the colors). Do you know any free svg files we could use for files and folder icons? |
Here is a possible example: |
There needs to be some space between the icon and the file name. Bootstrap icons are available under the MIT License. |
Really love this as I need something like this for my documentation. |
So with last snapshot, you can have this:
This is still an early version, we are not satisfied with the syntax. |
Hi, A mean question will be:
Regards |
Maybe each file could have a separate comment to the right of the file name.
|
is it possible to have multi color folders? |
Files and folders starting with a dot, example |
Good request...
For a new enhancement... (and group of all new wanted features). Regards, |
For a new enhancement... (and group of all new wanted features). Regards, |
Any news? |
Hi @davide1995, and all, It is due to the Creole management, see this funny example: @startfiles
/tests/__init_file__.py
/tests/~__init_file__.py
/**creole_test**/~~wave~~
/**creole_test**/**bold**
/**creole_test**/""monospaced""
/**creole_test**/--stricken-out--
/**creole_test**/__underlined__
/**creole_test**/~__not underlined__
/**creole_test**/~~wave-underlined~~
/**creole_test**///not italics :)//
/**creole_html_test**/<b>bold
/**creole_html_test**/<i>italics
/**creole_html_test**/<font:monospaced>monospaced
/**creole_html_test**/<s>stroked
/**creole_html_test**/<u>underlined
/**creole_html_test**/<w>waved
/**creole_html_test**/<s:green>stroked
/**creole_html_test**/<u:red>underlined
/**creole_html_test**/<w:#0000FF>waved
/**creole_html_test**/<color:blue>Blue
/**creole_html_test**/<back:orange>Orange background
/**creole_html_test**/<size:20>big
@endfiles Enjoy... :-) |
Hello, |
Funny indeed :-) |
Hi, Ok: to disable all Creole temporary. But perhaps it will be interesting to have commands to highlight some folder or file, why not with the HTML creole form (where you are sure that those folder or filename don't include this HTML form inside there names... ). Regards, |
It could even use different icons for different file extensions. |
Hi, |
Hi, |
Hi, |
Hi @MySpamKit
Yes, currently only below a file (not for directory) you can see this: Regards, |
Thank you :-) |
To me what would be useful is to be able to connect individual tree entries to other graphs. Specifically, adding this dimension to component diagrams to see how application fits into filesystem is what I am trying to do now. map {} seems to fit ok for this purpose, except can't find how to align key text. |
Are themes not supported? !theme crt-amber from https://raw.githubusercontent.com/plantuml/plantuml/master/themes other diagrams are rendered in the specified theme, but if I try to do the same with directory listing, it's white background, blue folders, gray files. |
Hello @AlexCzar, [Just for traceability] Awaiting style improvement, |
Is your feature request related to a problem? Please describe.
I want a directory listing.
Describe the solution you'd like
PlantUML should render this prettily!
or:
The text was updated successfully, but these errors were encountered: