3 ms·
Not quite an answer to your question, but I think what you’re getting at is, “I want a better way to visualize the file structure.” I agree, the table of conte
by syndicatedjelly 3y ago
Not quite an answer to your question, but I think what you’re getting at is, “I want a better way to visualize the file structure.”
I agree, the table of contents style is not well-suited. As part of my coding workflow, I recently started opening a terminal and running ranger inside it, and just tabbing over to that terminal to navigate the left-to-right directory structure. So have VSCode open, and open a split terminal window with the regular terminal at top, and Ranger running in the bottom pane. Midnight Commander would work as well - any TUI file explorer really.
I also have started including a “code map” in the architecture.md files of my projects. You can get a nice output by running `tree -L <levels>`, to load a markdown-embeddable tree diagram of the file structure, however many <levels> deep. I add the output to my markdown, and add a comment after each file/folder explaining what it’s for (in less than 10 words each)
Ranger - https://github.com/ranger/ranger https://github.com/ranger/ranger
Midnight Commander - https://midnight-commander.org/ https://midnight-commander.org/