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 201604080001) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.8.0_77 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.77-b03 Reproducibility: Happens every time STEPS: - point to any element - press ctrl+b (goto declaration) Expected: NB always shows declaration But if the declaration is surrounded by a editor-fold and is in collapsed state, NB does not expand the source (anymore, it did before). Thus the pointer is not placed onto the declaration. This is a VERY annoying behaviour, thus I declared it P2
Created attachment 159167 [details] IDE log
*** This bug has been marked as a duplicate of bug 259144 ***
Reopend: either bug 259144 is not resolved or it is something different bug 259144 deals with collpsed code fragments within one file this issue is a bout code within two different files. - file1 contains code with editor fold - file1 is not opened within the editor - file2 is opened within the editor and uses a method or anything else of file1 - point to such an element and press Ctrl-B --> NetBeans opens file1 at the appropriate element and the collapses the editor fold sections. Now the editor shows something complete different than the expected source - go back to file1 - point to such an element and press Ctrl-B --> now everything is fine to reproduce the problem, file2 needs to be closed before.
really annoying, if you commonly use the great code fold feature