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 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_13 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01 When pasting a class name into a comment, it asks the user to import it (despite it being just a comment): hitting Yes on the confirmation dialog actually adds the import (which is then highlighted as a warning since it's not used anywhere). I'd say that such auto-importing feature shouldn't be triggered at all when pasting into a comment.
http://hg.netbeans.org/jet-main/rev/6ecf845c42ac
Integrated into 'main-golden', will be available in build *201302252300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/6ecf845c42ac User: Jan Lahoda <jlahoda@netbeans.org> Log: #226447: do not resolve imports when pasting into comments.
*** Bug 226822 has been marked as a duplicate of this bug. ***
*** Bug 230490 has been marked as a duplicate of this bug. ***