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.
If I have a window (A) and make a clone (B) then I can do things like: (if it is a JSP) select "show code in servlet" on window B and it will happen on window A. (if it is Java code) If I have a compilation error and I have B selected, then I click on the error in the output window, the source is shown in A rather than B.
*** Bug 8479 has been marked as a duplicate of this bug. ***
Version: 'Dev' -> 3.2
reassigned to Marek, this bug is something in CloneableTopComp + editor supports.
Target milestone -> 3.3
I checked that in Netbeans dev build 189: The popup menu item is ViewServlet and is available on JSP (html) node in Explorer - Filesystem. It is NOT available in popup menu in Source Editor. If you select item ViewServlet on node it is not clear where should be servlet code opened. By design editor top component is opened in Source Editor. If we would think about opening servlet code elsewhere following scenarios are possible: 1. Nothing is opened -> open servlet in Source Editor. 2. JSP is opened in Source Editor -> open servlet in Source Editor 3. JSP is opened elsewhere but only once -> probably open servlet at the same window as JSP is opened 4. JSP is opened more than once -> how to select 'correct' place? This can include a number of cases. I think this enhancement would require a lot of effort to solve just special case of JSP. I would suggest simple workaround: After servlet is opened you can dock it into preferred window. Any comments? Any other actions do not work as expected?
No response so I close this issue. If you have any suggestion how to improve behaviour more generaly please give it here and reopen issue.
I checked compilation action and it works fine. I opened java source and cloned it. When I press F9 to compile and some errors are in source when I click on error message in Output window correct source window is selected (according what source window was selected when I pressed F9). I checked it with dev build 192.
Resolved for 3.4.x or earlier, no new info since then -> verified.
Resolved for 3.4.x or earlier, no new info since then -> closing.