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 248464 - Some common .* files not visible
Summary: Some common .* files not visible
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Project (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-06 13:29 UTC by Tomas Mysik
Modified: 2015-07-08 11:32 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of IDE (340.49 KB, image/png)
2015-04-28 15:43 UTC, Trii
Details
Same issue with new user directory (296.06 KB, image/png)
2015-04-28 16:20 UTC, Trii
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2014-11-06 13:29:57 UTC
There is quite a lot of files (in JS/Node.js world) that matches .* convention (see e.g. [1]); unfortunately, these files are currently not visible in the Projects view.

[1] https://github.com/visionmedia/superagent
Comment 1 Tomas Mysik 2014-11-06 13:31:44 UTC
Do we want to display these files? Which ones?

.bowerrc
.npmignore
.travis.yml
.[any other file please?]

Thanks.
Comment 2 Vladimir Riha 2014-11-06 13:41:44 UTC
Maybe also

.jshintrc
Comment 3 Vladimir Riha 2014-11-06 13:44:00 UTC
Maybe it would be enough to display only those whose tools we somehow support: .bowerrc, .npmignore
Comment 4 Tomas Mysik 2014-11-07 06:21:57 UTC
I would vote for .travis.yml as well, it is very common to have such file in a Github project.
Comment 5 Tomas Mysik 2014-11-07 10:47:02 UTC
I found 2 places with the ignore-file regex [1][2]. Jardo, please do you know who maintains core.ui module? And whether I need to change both files?

Thanks.
[1] core.ui/src/org/netbeans/core/ui/options/filetypes/IgnoredFilesPreferences.java
[2] masterfs/src/org/netbeans/modules/masterfs/GlobalVisibilityQueryImpl.java
Comment 6 Tomas Mysik 2014-11-10 07:40:56 UTC
Ad .jshintrc: Petře, in which module we should add MIME resolver for .jshintrc? It is a JSON file.

Thanks.
Comment 7 Petr Pisl 2014-11-10 07:55:23 UTC
My guess is javascript2.editor
Comment 8 Tomas Mysik 2014-11-10 08:19:47 UTC
Done, please verify.

http://hg.netbeans.org/web-main/rev/20e7cc0a0b3b

Petře, please verify and improve patch for .jshintrc file:

http://hg.netbeans.org/web-main/rev/ca0c7e33f4ea

Thanks.
Comment 9 Quality Engineering 2014-11-11 03:52:15 UTC
Integrated into 'main-silver', will be available in build *201411110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/20e7cc0a0b3b
User: Tomas Mysik <tmysik@netbeans.org>
Log: #248464 - Some common .* files not visible
Comment 10 Quality Engineering 2014-11-12 03:57:28 UTC
Integrated into 'main-silver', will be available in build *201411120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/20e7cc0a0b3b
User: Tomas Mysik <tmysik@netbeans.org>
Log: #248464 - Some common .* files not visible
Comment 11 Quality Engineering 2014-11-13 03:48:41 UTC
Integrated into 'main-silver', will be available in build *201411130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/20e7cc0a0b3b
User: Tomas Mysik <tmysik@netbeans.org>
Log: #248464 - Some common .* files not visible
Comment 12 Vladimir Riha 2014-11-13 15:33:54 UTC
Verified, thanks

Product Version: NetBeans IDE Dev (Build 201411130002)
Java: 1.7.0_72; Java HotSpot(TM) Client VM 24.72-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_72-b14
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 13 Quality Engineering 2014-11-14 03:57:10 UTC
Integrated into 'main-silver', will be available in build *201411140002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/20e7cc0a0b3b
User: Tomas Mysik <tmysik@netbeans.org>
Log: #248464 - Some common .* files not visible
Comment 14 Trii 2015-04-28 14:23:19 UTC
I am running 201411181905 and I do not see .travis.yml in the project view. Is this a regression?
Comment 15 Vladimir Riha 2015-04-28 14:29:59 UTC
It works for me, maybe you could try newer build. If it will be reproducible, could you please describe (or attach screenshot) of your project structure and where do you have .travis.yml?

Thanks

Product Version: NetBeans IDE Dev (Build 201504240001)
Java: 1.8.0_40; Java HotSpot(TM) Client VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 16 Trii 2015-04-28 15:43:53 UTC
Created attachment 153441 [details]
Screenshot of IDE
Comment 17 Trii 2015-04-28 15:44:48 UTC
(In reply to Vladimir Riha from comment #15)
> It works for me, maybe you could try newer build. If it will be
> reproducible, could you please describe (or attach screenshot) of your
> project structure and where do you have .travis.yml?
> 
> Thanks
> 
> Product Version: NetBeans IDE Dev (Build 201504240001)
> Java: 1.8.0_40; Java HotSpot(TM) Client VM 25.40-b25
> Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25
> System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)

Here is the php project: https://github.com/Trii/http-headers

This ticket says it is available in build 201411140002 and I am running 201411181905 and when I check for updates, it says there are none.
Comment 18 Trii 2015-04-28 16:00:37 UTC
Additionally, this is the default ignore pattern provided by the IDE

^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|_svn)$|~$|^\.(?!(htaccess|git.+|hgignore)$).*$

It is not the same as the one in this changeset:
http://hg.netbeans.org/web-main/rev/20e7cc0a0b3b#l2.8
Comment 19 Tomas Mysik 2015-04-28 16:04:43 UTC
(In reply to Trii from comment #18)
> Additionally, this is the default ignore pattern provided by the IDE
> 
> ^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|_svn)$|~$|^\.(?!(htaccess|git.
> +|hgignore)$).*$
> 
> It is not the same as the one in this changeset:
> http://hg.netbeans.org/web-main/rev/20e7cc0a0b3b#l2.8

Then you need a newer build. And maybe a clean userdir [1] if you manually changed the pattern.

Thanks.
[1] http://wiki.netbeans.org/FaqAlternateUserdir
Comment 20 Tomas Mysik 2015-04-28 16:04:59 UTC
Marking back as VERIFIED.
Comment 21 Trii 2015-04-28 16:20:46 UTC
Created attachment 153442 [details]
Same issue with new user directory

I am confused here. I have the latest released build. The version number is higher than the version number that this issues is Fixed in correct? When I click the button to tell Netbeans to use the default ignore pattern, it populates it with this:

^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|_svn)$|~$|^\.(?!(htaccess|git.+|hgignore)$).*$


I followed your recommendation and downloaded the "all" version from the download page here: https://netbeans.org/downloads/start.html?platform=macosx&lang=en&option=all

I started the app with an alternate user directory

Josh@kapbook:~$ /Applications/NetBeans/NetBeans\ 8.0.2.app/Contents/MacOS/netbeans --userdir ~/tmpnb
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=32m; support was removed in 8.0

When asked, I told NetBeans to NOT import prior settings. The default pattern is still not the one in the changeset link in this bug report.


Is this fix not released to the production version of NetbBeans 8.0.2?

I am sorry that I keep switching it back to REOPENED but either this bug is not fixed or I am not communicating properly.

Thanks for helping on this. I really enjoy the IDE and want to help find and fix bugs.
Comment 22 Tomas Mysik 2015-04-28 16:25:39 UTC
(In reply to Trii from comment #21)
> I followed your recommendation and downloaded the "all" version from the
> download page here:
> https://netbeans.org/downloads/start.html?platform=macosx&lang=en&option=all

That is wrong. The Target Milestone of this issue is DEV (and not 8.x) so you need to download a development version of NetBeans [1]. Or wait for the next stable/final version of NetBeans which will contain this change (likely 8.1).

Thanks.
[1] http://bits.netbeans.org/download/trunk/nightly/latest/
Comment 23 Trii 2015-04-28 16:28:22 UTC
That explains it then. Thank you.

I found this bug via google search and since a comment said "Integrated into 'main-silver', will be available in build *201411130002*" and my build number 201411181905  is higher than 201411130002 I assumed it made it into mainline already.
Comment 24 Tomas Mysik 2015-04-28 16:30:28 UTC
(In reply to Trii from comment #23)
> a comment said "Integrated into 'main-silver', will be available in build *201411130002*"

This applies only for the development builds, see the link [1] in the given comment c#13.

Thanks.
[1] on http://bits.netbeans.org/dev/nightly/
Comment 25 Jaroslav Havlin 2015-07-08 11:32:38 UTC
*** Bug 246521 has been marked as a duplicate of this bug. ***