question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

collapse top level index folder

See original GitHub issue

its weird to have a folder called index so just bring up all the files in it one level

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
benawadcommented, Aug 18, 2020

that’s a good point, I think merging is probably the right choice, but I’ll think on this.

0reactions
AnatoleLucetcommented, Aug 18, 2020

Or else, we can detect if there’s one single file at top level. It seems pretty obvious but it didn’t click until now…

src/
├── [name]
└── [name].*

Then why not. But with this, I think we should also give an option to the user so he can disable this feature if he wants to.

But I’m not sure how we’ll deal with shared deps. Shall we do this only if there’s no shared folder at top level, or merge it with the one that will be moved to top? If we merge them, what about duplicated files name? Shall we throw a warning that we can’t bring everything to top level because two files have the same name? Or maybe we can rename one of the two?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Quickly collapse all opened subfolders - MSOutlook.info
To do this, simply click on the arrow or the – (minus) icon in front of the top level folder of your mailbox....
Read more >
Video: Collapsible headings - Microsoft Support
You can quickly add an outline level and make part of your document collapsible by adding a heading using Word's built-in styles. Collapse...
Read more >
Collapse all :glob:-discovered files into one TOC entry
I'd like all the documents found in the tools directory to collapse into one expandable sidebar TOC entry. Should be possible, but I...
Read more >
Collapse and Expand Results :: Apache Solr Reference Guide
To ensure document co-location, you can define the router.name parameter as ... Collapse on group_field with a hint to use the top level...
Read more >
Expand and Collapse Folders
Expand/collapse symbols (+/-) appear next to folders that contain subfolders. A plus (+) symbol means that the folder is collapsed and the subfolders...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found