Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 497988

Summary: Allow a preference to not show hidden files in file explorer
Product: [ECD] Orion Reporter: Sachin Kotwani <skotwani>
Component: ClientAssignee: Casey Flynn <caseyflynn>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: caseyflynn, kangy, Michael_Rennie, Silenio_Quarti, wilford, xinyij
Version: unspecified   
Target Milestone: 15.0   
Hardware: PC   
OS: Linux   
See Also: https://git.eclipse.org/r/91228
https://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=0cb356ecae9a994dc41b39505152dc19c124c5d4
Whiteboard:

Description Sachin Kotwani CLA 2016-07-15 14:20:56 EDT
For many users, seeing hidden files in their file explorer can be confusing. It would be fantastic to have a preference that allows users to enable or disable seeing hidden files in the explorer.

FYI - Here are a couple of similar or related bugs:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=387215
https://bugs.eclipse.org/bugs/show_bug.cgi?id=491456
Comment 1 Michael Rennie CLA 2017-01-10 15:37:52 EST
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg04002.html
Comment 2 Casey Flynn CLA 2017-02-15 16:42:33 EST
Reopening, assigning to myself.
Comment 3 Michael Rennie CLA 2017-02-15 18:58:32 EST
You should only have to add entries to the new resource filtering pref. 

For example see these two commits for examples:

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/diff/bundles/org.eclipse.orion.client.ui/web/orion/generalPreferences.js?id=7a45db959087ce7e3dd86dc44ca8f9caa67bae84

and 

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/diff/bundles/org.eclipse.orion.client.ui/web/orion/widgets/settings/GeneralSettings.js?id=7a45db959087ce7e3dd86dc44ca8f9caa67bae84

Unless you were thinking of something more along the lines of a checkbox style pref like: "Filter hidden files"
Comment 4 Eclipse Genie CLA 2017-02-15 19:10:29 EST
New Gerrit change created: https://git.eclipse.org/r/91228
Comment 5 Casey Flynn CLA 2017-02-15 19:28:51 EST
(In reply to Michael Rennie from comment #3)
That is exactly what I was thinking! :) Just a simple boolean flag that, when set, will ignore files that are prefixed with a '.'.
Comment 7 XinYi Jiang CLA 2017-04-04 12:25:19 EDT
the final implementation is accept * and ? wildcard to hide files in navigator.