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.

Bug 213471 - Synchronize editor with views is not working as expected
Summary: Synchronize editor with views is not working as expected
Status: RESOLVED WORKSFORME
Alias: None
Product: php
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Tomas Mysik
URL:
Keywords:
: 215105 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-04 03:21 UTC by david.zapata
Modified: 2012-09-18 14:28 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description david.zapata 2012-06-04 03:21:39 UTC
The option "Synchronize editor with views" is not working as expected. The option is enabled, but the current file is not selected by default in the "Projects" window as in previous versions. I am in a PHP project (a Zend Framework MVC based app).

Product Version = NetBeans IDE 7.2 Beta (Build 201205031832)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.6.0_31
Runtime = Java HotSpot(TM) 64-Bit Server VM 20.6-b01
Comment 1 Tomas Mysik 2012-06-04 09:06:21 UTC
(In reply to comment #0)
> The
> option is enabled, but the current file is not selected by default in the
> "Projects" window as in previous versions. I am in a PHP project (a Zend
> Framework MVC based app).

Can you provide more information what you mean by that? Is the opened file part of the project (underneath Source or Test Files)? Or is it on the Include Path?

Simply reopen this issue and provide your comment.

Thanks.
Comment 2 PazsitZ 2012-07-31 11:10:00 UTC
I also have the same issue.
Product Version: NetBeans IDE 7.2 (Build 201207171143)
Java: 1.6.0_24; OpenJDK Client VM 20.0-b12
System: Linux version 2.6.38-15-generic running on i386; UTF-8; en_US (nb)

The file are in the project, under the Source Files and the Synchronize editor with views option is not working.
Comment 3 Tomas Mysik 2012-07-31 11:40:22 UTC
Likely a bug in the general Projects support. I will investigate more.
Comment 4 Tomas Mysik 2012-08-20 09:00:38 UTC
*** Bug 215105 has been marked as a duplicate of this bug. ***
Comment 5 Tomas Mysik 2012-09-14 05:25:24 UTC
Sorry, I cannot reproduce it. Perhaps it is random? Or do you have exact steps to reproduce?

Thanks.

Product Version: NetBeans IDE Dev (Build 20120914-a6bb09eb41e9)
Java: 1.6.0_35; Java HotSpot(TM) 64-Bit Server VM 20.10-b01
System: Linux version 3.2.0-30-generic running on amd64; UTF-8; cs_CZ (nb)
Comment 6 BullfrogBlues 2012-09-17 18:11:39 UTC
Synchronize editor with views does not work with files on the include path.

Is this expected behaviour?
Comment 7 Tomas Mysik 2012-09-18 07:47:41 UTC
(In reply to comment #6)
> Synchronize editor with views does not work with files on the include path.
> 
> Is this expected behaviour?

It is not implemented - please, submit a bug for it. Thanks.
Comment 8 BullfrogBlues 2012-09-18 14:28:44 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > Synchronize editor with views does not work with files on the include path.
> > 
> > Is this expected behaviour?
> 
> It is not implemented - please, submit a bug for it. Thanks.

Done and done. http://netbeans.org/bugzilla/show_bug.cgi?id=218557