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.
Product Version: NetBeans IDE Dev (Build 200806190009) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b06 Find Usages for php files has different behaviour. random. 1. Create PhpProject1 with default settings 2. Add php file and edit code f.e. <?php class a { } ?> 3. Click on this php file on Project view and invoke Find Usaged. result - all is Ok - there is Find Usage wnd for finding Calss a. 4. Press Find. result - all is ok - opened Usages view. try invoke "Find Usages" several times Can be so that after invocation Find Usage wnd is not appeared another sample af beheviour is 1. Create AirAlliance sample 2. Invoke Find Usages on flight.php Result is - There is "Find Usages" wnd with message: JavaScript Refactoring is approximate.... Can be so that after invocation Find Usage wnd is not appeared
Fixed: http://hg.netbeans.org/main/rev/9a2a9a2bbc8c "JavaScript Refactoring is approximate....", shouldn't be reported against php.refactoring
Integrated into 'main-golden', available in NB_Trunk_Production #271 build Changeset: http://hg.netbeans.org/main/rev/9a2a9a2bbc8c User: Radek Matous <rmatous@netbeans.org> Log: #137681 "Find Usages" action for php files has different behaviour. .
reopen for NB 6.5M1 Product Version: NetBeans IDE Dev (Build 200806260103) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b06 See attachment
Created attachment 63500 [details] Screen shot
Victoria, you probably disagree with my comment: "JavaScript Refactoring is approximate....", shouldn't be reported against php.refactoring. So, please explain what should be fixed in php.refactoring, thanks.
Sorry, may be I misunderstand. I see so result after an invocation Find Usages: 1. No action after the invocation 2. "JavaScript Refactoring is approximate...." 3. There was Find Usage wnd for finding Class a. (for i did not see that result 200806260103) Every time I have different results after an invocation Find Usages. Is it right?
expected behavior: 1. No action after the invocation - if invoked outside of editor (e.g. from logical/file view). If doesn't behave according expected behavior - please reopen. If you find improper behavior in javascript code, please report against javascript. If you don't agree, please comment and reopen.
Thanks for comments. I update the issue as veryfied. There is no Find Usage wnd for finding Calss ClassName (for php). But sometimes there is "JavaScript Refactoring is approximate...." wnd. I open new issue - 138550 for javascript.