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 7.2 (Build 201207171143) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.6.0_33 Runtime = Java HotSpot(TM) Client VM 20.8-b03 When having for example: $bar = $this -> uglyGet('bar'); /* @var $bar /Foo/Bar */ then i click ctrl+shift+i and "use" block is added: use Foo/Bar; [........] $bar = $this -> uglyGet('bar'); /* @var $bar Bar */ seems OK. but "use Foo/Bar" is shown as unused import in efect when i click ctrl+shift+i again it is removed and when i click ctr+shift+i again it is added back my temporary fix is adding: /** @global Bar $ */ but its only temporary i hope :) Sory if raport is wrong this is my first isue raport if im not wrong.
Created attachment 124355 [details] IDE log