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 134082 - Allow switching off the error highlighting
Summary: Allow switching off the error highlighting
Status: VERIFIED WONTFIX
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-28 16:25 UTC by David Strupl
Modified: 2008-08-22 12:03 UTC (History)
3 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
IDE log file (82.74 KB, text/plain)
2008-06-03 11:37 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Strupl 2008-04-28 16:25:08 UTC
As the error highlighting does not work properly there should be a system property to switch it off.
Comment 1 David Strupl 2008-04-28 16:30:09 UTC
The related issue is #133894. BTW should I also try to allow to disable the code completion (e.g. by the same system
property) since it is rather fluky now?
Comment 2 David Strupl 2008-04-28 16:38:57 UTC
Please write here during today what should be disabled - I will implement it tomorrow morning my time. After that you
will only have to make sure you will take a build where this will be done.

Any preferences for the sys prop name? Will adding e.g. the following line to netbeans.conf be ok for you

-J-Dorg.netbeans.modules.javafx.editor.unstable.disable=true

I can disable any feature of the editor, just name them. I suggest error underlining and code completion. Other things
should hopefully not disrupt the presentations ...

Please reply during today ... Thanks.
Comment 3 Martin Brehovsky 2008-04-28 22:25:47 UTC
Ok - let's disable both, underlining and the code completion for the time being (until it gets fixed to a reasnoable
state). The suggested property is ok. 
Comment 4 David Strupl 2008-04-29 08:34:40 UTC
Fixed by 
12611:e95248932bb9
Comment 5 Lark Fitzgerald 2008-04-30 19:00:55 UTC
Verfied using:
Product Version: NetBeans IDE 6.1 RC2 (Build 200804170002)
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)
Plugin & Samples: Milestone 2 RC2 
Comment 6 David Strupl 2008-04-30 21:11:20 UTC
Attention, attention. David Kaspar requires the parameter to be 

-J-Dorg.netbeans.modules.javafx.editor.unstable.enable=true

so it should be disabled by default. So I will change it to turn off the errors highlighting for J1 and change the
system property name.
Comment 7 David Strupl 2008-04-30 21:25:27 UTC
Fixed by changeset

12697:0f4a8fea54b0
Comment 8 Alexandr Scherbatiy 2008-06-03 11:36:28 UTC
I tried to use the property with the latest build and it seems that it does not work for me:
-J-Dorg.netbeans.modules.javafx.editor.unstable.enable=false 
Comment 9 Alexandr Scherbatiy 2008-06-03 11:37:17 UTC
Created attachment 62309 [details]
IDE log file
Comment 10 David Strupl 2008-06-03 12:24:16 UTC
I have removed it. Do we still need it?
Comment 11 Alexandr Scherbatiy 2008-06-03 12:34:27 UTC
Probably not. But incorrect errors are still shown for the Weather App. See issue 123014 
Comment 12 David Strupl 2008-08-11 14:39:19 UTC
Resolving as this is not needed any more.
Comment 13 Alexandr Scherbatiy 2008-08-22 12:03:16 UTC
verified