This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 139023 - Do not hide .htaccess by default
Summary: Do not hide .htaccess by default
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Options&Settings (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Skrivanek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-04 12:01 UTC by Petr Jiricka
Modified: 2008-12-22 10:19 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2008-07-04 12:01:17 UTC
Currently, the Ignored Files Pattern in Tools -> Options -> Miscellaneous -> Files hides all files starting with a dot (.).

However, the .htaccess files are commonly used by PHP developers, and should be shown by default. Please change the
pattern so it does not hide .htaccess files by default. Thanks - see also:
http://en.wikipedia.org/wiki/Htaccess
Comment 1 Petr Pisl 2008-07-11 07:41:07 UTC
The pattern can be written as ^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|\.(cvsignore|svn|DS_Store)|_svn)$|~$|^\.(?!htaccess$)

But I think this is too complicated for many users to write such pattern. Shouldn't be there a better UI, which will
allow     easily exclude/include exact files or folders?
Comment 2 jrojcek 2008-07-11 09:52:14 UTC
Sure, better UI would be fine. This issue is about defaults though. Even with better UI we should have the right defaults working for majority of users.
Comment 3 Antonin Nebuzelsky 2008-07-11 09:54:19 UTC
Agreed the UI could be improved, for next release. In 6.5 we'll simply fix the default pattern.
Comment 4 Jiri Skrivanek 2008-07-22 10:24:04 UTC
Default pattern is now ^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|_svn)$|~$|^\.(?!htaccess$).*$

http://hg.netbeans.org/core-main/rev/b444fceacce7
Comment 5 Petr Jiricka 2008-07-22 17:31:51 UTC
Thanks!
Comment 6 Lukas Hasik 2008-07-23 08:36:37 UTC
thanks means verified?
Comment 7 Quality Engineering 2008-07-23 11:43:02 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #339 build
Changeset: http://hg.netbeans.org/main/rev/b444fceacce7
User: Jiri Skrivanek <jskrivanek@netbeans.org>
Log: #139023 - Do not hide .htaccess by default.