-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLOSED] Show hidden ".htaccess" files #1122
Comments
Comment by njx Hi Tucker--good point! I think we're primarily hiding dot files to avoid including things like the ".git" folder in a repo, but it makes sense that you should be able to edit ordinary dot files. I suspect we'll want to generalize this beyond .htaccess specifically, though. We might want to have the notion of an exclusion list for the file tree, and add SCC folders like .svn/ and .git/ to the list by default. |
Comment by EinLama
|
Comment by robbl I always feel most comfortable with a combination of exclusion and inclusion, though it has to be clear which is stronger. You might would stick with "in order of definition" in that case. |
Comment by TuckerWhitehouse If the original premise was to hide things such as the default .DS_Store and Thumbs.db in addition to the generic .git and .svn folders, couldn't these be added to a specific exclusion list, and then show all other hidden files? For example, function _shouldShowInTree(entry) {
return [".git", ".svn", ".DS_Store", "Thumbs.db"].indexOf(entry.name) === -1;
} |
Comment by njx Yup, I think we might want to start there. |
Comment by TuckerWhitehouse Is there anything else that needs to be added to that initial block list? And should I submit a new pull request with that change reflected? |
Comment by peterflynn That seems like a good set to me. (CVS doesn't have any dotfiles, does it?) Submitting a new pull request would be a little cleaner in terms of numbers of commits, but it also seems ok to just push up a new change to this existing request since it's pretty small. |
Issue by TuckerWhitehouse
Saturday Jun 23, 2012 at 15:22 GMT
Originally opened as adobe/brackets#1133
Issue #98 addressed hidden files being shown, and as a result, filtered all files, excluding any that began with ".", making it very difficult to edit an .htaccess file.
TuckerWhitehouse included the following code: https://github.com/adobe/brackets/pull/1133/commits
The text was updated successfully, but these errors were encountered: