Created attachment 125766 [details]
screenshot (sorry for GTK...)
I don't know if this is intended, but
- if you try Find Usage in PHP bundle, the results are not separated by file so you cannot tell which usage is where and it is pretty uncomfortable.
- The same happens with ALL bundle where ONLY PHP is activated
- Once I activate Java SE, the results are again separated by file.
Product Version: NetBeans IDE Dev (Build 201210110002)
Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b03
System: Linux version 3.2.0-31-generic-pae running on i386; UTF-8; en_US (nb)
Interesting :) Really don't know what affects that...
It behaves somehow strangely...if I deactivate J2SE then it works still properly...under the file node...
Lado can you test it in 7.2? Or in some earlier version? I think that it will work in the same way.
I tried PHP bundle of 7.2 and it works fine here
7.2 PHP bundle? With clean user dir? It's strange...afaik we did nothing in refactoring modules...
Ralph, what do you think? What can we do to fix it? I don't have a clue...
yep, clean user dir. I noticed this about a week or two back and I thought it is some "nice" improvement :) But I don't use it that often so it might be older...
Hmm...I got it. Probably it needs a whole new implementation of TreeElementFactoryImplementation and something like FileTreeElement. I think that its more likely enhancement, because many new classes will have to be implemented :/ I think that it's a side effect taht it works now... Nice but side effect :)
So what do you mean? I can implement it, but not sure if it will be safe.
Indeed a nice side effect :) I'm fine with turning it into enhancement(and thus not targetting it to 7.3, right)?
Created attachment 125779 [details]
Ok, so here is the patch and I'll integrate it as an enhancement for next release.
Fixed in web-main #7d680889832f
(it's on branch for php 7.4 features ;)
*** Bug 224061 has been marked as a duplicate of this bug. ***
*** Bug 224926 has been marked as a duplicate of this bug. ***
Integrated into 'main-golden', will be available in build *201301300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Ondrej Brejla <firstname.lastname@example.org>
Log: #219904 - Find Usages does not separate results by file
Thanks, verified with PHP bundle
Product Version: NetBeans IDE Dev (Build 201302070001)
Java: 1.7.0_13; Java HotSpot(TM) Client VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_13-b20
System: Linux version 3.2.0-35-generic-pae running on i386; UTF-8; en_US (nb)
*** Bug 226265 has been marked as a duplicate of this bug. ***
*** Bug 226539 has been marked as a duplicate of this bug. ***