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.
|Summary:||Editor does not take into account nearby source files|
|Product:||javafx||Reporter:||Martin Brehovsky <breh>|
|Component:||Editor||Assignee:||Petr Nejedly <pnejedly>|
|Issue Type:||DEFECT||Exception Reporter:|
Description Martin Brehovsky 2008-04-25 01:53:22 UTC
In the build from yesterday (080423), the editor is underlying expressions which are definitely correct. It looks like it does not take classes in the project to the account (libraries seem to be doing ok).
Comment 1 Martin Brehovsky 2008-04-25 01:54:23 UTC
Created attachment 60676 [details] editor screenshot
Comment 2 David Strupl 2008-04-25 08:15:56 UTC
Please don't attach .png as text/plain --- I cannot see it ... Reassigning to pnejedly as he is fiddling with the classpath for the editor. Petre, I hope I did not screw your commit by doing some incorrect merge in mercurial on tuesday - can you please check the classpath? As we don't see the expression we can only guess what is wrong for today ...
Comment 3 Petr Nejedly 2008-04-25 08:30:39 UTC
No, the editor is not taking into account nearby source files _yet_ (never did so far). As a workaround, you can build your project for the first time, it should at least take into account whatever ends up in the build dir. There are two things to be done for the editor to support this: 1. tell the JavafxcFileManager where to look for the source files (command line javafxc equivalent of -sourcepath) 2. support passing content of the dirty editors for the nearby files instead of the "old" disk files. Note: (2) is already implemented at least for the "current" source - the file you're editing. All in all this means copying the whole file manager implementation from retouche and updating it for javafx.
Comment 5 Martin Brehovsky 2008-04-25 16:13:47 UTC
attached png in a correct way ... BTW for me the build workaround somehow does not work :-(.
Comment 6 David Strupl 2008-04-28 09:03:15 UTC
*** Issue 133957 has been marked as a duplicate of this issue. ***
Comment 7 David Strupl 2008-04-28 09:45:32 UTC
*** Issue 133959 has been marked as a duplicate of this issue. ***
Comment 8 David Strupl 2008-04-28 16:27:33 UTC
FYI I have filed #134082 requesting the error underlining can be turned off because we don't have the classpath in place ... breh will show the plugins at J1.
Comment 9 Petr Nejedly 2008-05-26 14:10:40 UTC
Fixed around J1 time.
Comment 10 Lark Fitzgerald 2008-06-13 14:53:03 UTC
Verified using: Product Version: NetBeans IDE 6.1 (Build 200804211638) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) fx NB61 nighly plugin: 60