Bogdan-Lyashenko / codecrumbs

Learn, design or document codebase by putting breadcrumbs in source code. Live updates, multi-language support and more.
https://codecrumbs.io
BSD 3-Clause "New" or "Revised" License
2.71k stars 101 forks source link

only entry shown #45

Closed aaronjensen closed 5 years ago

aaronjensen commented 5 years ago

Hi there, I've tried running this on multiple codebases and I only ever see the entry.

For example, from a pretty close to vanilla create-react-app:

Codecrumbs: better way to navigate the code maze! 2019-03-14 20-46-04

Is this the expected behavior or am I doing something wrong? Thanks!

Bogdan-Lyashenko commented 5 years ago

Hi there) First of all, you need to enable “Source” toggle and “Codecrumbs” toggle. The idea is that it shows only “active” nodes, that means: from the cold start - it’s only entry point, then when you start putting codedrumbs in code (//cc:test) it will expand source tree and show files with codedrumbs as well. But you always can open all folders manually (by clicking on folders icons on diagram). Let me know if this helps, thanks.

aaronjensen commented 5 years ago

@Bogdan-Lyashenko Thank you, that helps. I was expecting the explorer to show everything, not just the nodes that were currently visible. I get it now, but it was definitely confusing at first, for what it's worth.

Cheers!