VS Code openHAB Extension - Syntax highlighting problem

If I understood the naming convention of java right, then all variables should be begin with an lower case character.

In a lot of examples this is used in OH too.

But the syntax highlighting does not work for lower case as first character. Only if I use an upper case it will recognized as a variable or item. Is this a bug?

grafik

I think the suntan highlighting is working.

The convention in Rules DSL, which is not Java is:

  • Items start with upper case and use camel case and/or _
  • variables Stewart with lower case and use camel case and/or _
  • constants (i.e.val) use all caps

So when you start a var with a capital letter it is highlighting it like it is an Item.