# Eclipse Designer showing many false errors

**URL:** <https://community.openhab.org/t/eclipse-designer-showing-many-false-errors/19068>\
**Category:** Runtime\
**Created:** [December 30, 2016, 3:40am UTC](https://community.openhab.org/t/eclipse-designer-showing-many-false-errors/19068 "2016-12-30T03:40:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marty56](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/b5a626/32.png) [@Marty56](https://community.openhab.org/u/Marty56)\
**Post date:** [December 30, 2016, 3:40am UTC](https://community.openhab.org/t/eclipse-designer-showing-many-false-errors/19068/1 "2016-12-30T03:40:21Z")

</div>

I have been trying to use eclipse designer v 0.8 under Windows 10 and I am receiving tons of false errors which have the following causes:

1. “say”, “pushNotification” are flagged as error.
2. all statements using “as DecimalType” are also marked as error.

These tons of false errors makes the tool practically useless.  
Which is sad because wrong DSL syntax is not indicated on the karaf console when starting the parsing of the rule file.

Last not least on my high resolution screen the symbols are basically not readable (Windows 10).

I would be great if somehow could fix this!  
Shall I open an issue or is there something I am missing.

---

<div class="post-metadata">

**Author:** ![lipp\_markus](https://community.openhab.org/user_avatar/community.openhab.org/lipp_markus/32/56218_2.png) [@lipp\_markus](https://community.openhab.org/u/lipp_markus)\
**Post date:** [December 30, 2016, 7:00am UTC](https://community.openhab.org/t/eclipse-designer-showing-many-false-errors/19068/2 "2016-12-30T07:00:45Z")

</div>

Martin,  
I feel your pain, but it appears that 0.9 remains broken:

> [@Eclipse SmartHome Designer](https://community.openhab.org/t/eclipse-smarthome-designer/18734/2):
>
> Which version are you using? 0.9.0-SNAPSHOT is indeed currently broken, so I recommend using 0.8.0.

I believe having read somewhere on this forum that there are bigger fish to fry and that it will remain broken (with regard to syntax highlighting) for a while.

You may want to download the 0.8 version here:  
[https://hudson.eclipse.org/smarthome/job/SmartHomeDistribution-Nightly-0.8.x/](https://hudson.eclipse.org/smarthome/job/SmartHomeDistribution-Nightly-0.8.x/)  
it does recognize all commands and provides auto-complete and syntax help with ctrl-space, etc  
All the things that make my life as an amateur so much easier.

---

<div class="post-metadata">

**Author:** ![Marty56](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/b5a626/32.png) [@Marty56](https://community.openhab.org/u/Marty56)\
**Post date:** [December 30, 2016, 2:44pm UTC](https://community.openhab.org/t/eclipse-designer-showing-many-false-errors/19068/3 "2016-12-30T14:44:36Z")

</div>

Hi Markus,  
Thanks for the link. this version somehow improves the situation.  
Stlll some commands like say, pushNotification, sendEmail are not supported.  
Still not resolved is the “as DecimalType” bug.

a statement like

If ((number.state as DecimalType) == 1) …

is also flagged as an error.  
The workaround is

if (0+number.state as DecimalType) ==1) ,

is working.  
But honestly I am not happy inserting junk code to workaround buggy tools.

I looks like the tool is “almost” ready.  
I would be great if a developer could spend a “moment” and fix this little issues.

---

<div class="post-metadata">

**Author:** ![lipp\_markus](https://community.openhab.org/user_avatar/community.openhab.org/lipp_markus/32/56218_2.png) [@lipp\_markus](https://community.openhab.org/u/lipp_markus)\
**Post date:** [December 30, 2016, 2:47pm UTC](https://community.openhab.org/t/eclipse-designer-showing-many-false-errors/19068/4 "2016-12-30T14:47:31Z")

</div>

Right you are, but then again looking at some of the lists of bugs on github that are still to be solved for Eclipse and OH2, I am not holding my breath.

---

<div class="post-metadata">

**Author:** ![Marty56](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/b5a626/32.png) [@Marty56](https://community.openhab.org/u/Marty56)\
**Post date:** [December 30, 2016, 2:52pm UTC](https://community.openhab.org/t/eclipse-designer-showing-many-false-errors/19068/5 "2016-12-30T14:52:29Z")

</div>

you are right but sometime things are fixed or also newly introduced which are really only nice to have.  
The fundamental flaws of OH is the infamous, bad DSL und the buggy tooling.  
This should be a top priority to fix.
