Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Update _shouldShowInTree to only hide specified hidden files. #1165

Merged
merged 1 commit into from
Jun 27, 2012
Merged

Update _shouldShowInTree to only hide specified hidden files. #1165

merged 1 commit into from
Jun 27, 2012

Conversation

TuckerWhitehouse
Copy link
Contributor

Solution for #1133

@ghost ghost assigned peterflynn and jasonsanjose Jun 27, 2012
@jasonsanjose
Copy link
Member

Assigned to me. Reviewing.

}

return true;
return [".git", ".svn", ".DS_Store", "Thumbs.db"].indexOf(entry.name) === -1;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This solution is good enough for now (or at least it's better than before). Our preferences stories haven't been refined enough, so I went ahead and captured the need for custom file filtering in the backlog. https://trello.com/c/OmPlSisf.

@jasonsanjose
Copy link
Member

Review done. @TuckerWhitehouse be sure to sign the CLA before I merge this pull request http://dev.brackets.io/brackets-contributor-license-agreement.html. Also, if you haven't already, run the unit tests on this branch. In Brackets, Debug > Run Tests.

@TuckerWhitehouse
Copy link
Contributor Author

Already signed the CLA and ran the unit tests, passed 100%. I know it's just a temporary solution, but it at least is a little more extensible than the current implementation.

@jasonsanjose
Copy link
Member

Can you try filling it out again? @adrocknaphobia is out at Google I/O, he'd normally handle CLA questions. I suspect the Github username field is case sensitive.

@jasonsanjose
Copy link
Member

Nevermind. It is case sensitive. I'll have @adrocknaphobia fix it. Merging now.

jasonsanjose added a commit that referenced this pull request Jun 27, 2012
Update _shouldShowInTree to only hide specified hidden files.
@jasonsanjose jasonsanjose merged commit e3b51d5 into adobe:master Jun 27, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants