Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Directory with hidden files doesn't collapse #670

Open

Description

@siriux

I have a directory with multiple files and subdirectories, where anything but one subdirectory is hidden (by IgnoredNames).

In this case I would expect the directory to collapse on the visible subdirectory, but it doesn't.

Cheers

Activity

  1. keskiju commented on Dec 10, 2015

    @keskiju

    If by collapse you mean squashing of directory names, I noticed the same problem. I'm currently working with an old Java project that still uses CVS. The package folders do not squash because each of them contain a CVS folder. I have configured CVS folders to be hidden in tree view and the squash directory names feature should respect that setting. I'm using Atom 1.3.0 on OS X and my configs are:

      core:
        ignoredNames: [
          "CVS"
          ...
        ]
    
      "tree-view":
        hideIgnoredNames: true
        hideVcsIgnoredFiles: true
        squashDirectoryNames: true
  2. siriux commented on Dec 10, 2015

    @siriux
    Author

    I mean exactly that, but the hidden directories are not CVS but some directories needed by my build system.

    Good to know there is interest on this.

  3. textbook commented on Jul 1, 2016

    @textbook

    I am having exactly this problem with a Java project - it was working fine until I used the Finder to navigate into the collapsed directories, adding a .DS_Store and forcing them to un-collapse in Atom:

    |____java
    | |____.DS_Store
    | |____tld
    | | |____.DS_Store
    | | |____org
    | | | |____.DS_Store
    | | | |____package
    | | | | |____.DS_Store
    | | | | |____etc
    | | | | | |____.DS_Store
    

    Removing these files with find . -name '.DS_Store' -type f -delete has fixed the immediate problem, but it's not ideal!

  4. imaress commented on Aug 19, 2016

    @imaress

    Yep, deleting .DS_Store files like says @textbook fix the problem, but by default atom must ignore this files for squash directories if the hideIgnoredNames feature is true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions