eclipse / mita

mita
Eclipse Public License 2.0
56 stars 20 forks source link

Problem when entering variables for functions and problems with print command interpretation #269

Closed XDK-Support closed 5 years ago

XDK-Support commented 5 years ago

Mita in general seems to struggle with interpreting variables and brackets in certain functions, here are a few examples i stumbled upon using the XDK 3.5 workbench

wegendt-bosch commented 5 years ago

Hi,

indeed, referencing variables is not supported everywhere intentionally. We might extend this in the future but for now in some places static values must be used.

We will look into your println-bugs, thanks for the report!

rherrmannr commented 5 years ago

I can reproduce the UI freeze

tkutz commented 5 years ago

The UI freeze looks like an Xtext bug for me. Still trying to break it down to something small and reproducible. It is related to syntax highlighting: if the string-like highlighting is removed (ProgramDslSemanticHighlightingCalculator) the UI does not freeze anymore.

tkutz commented 5 years ago

The UI freeze is fixed with PR https://github.com/eclipse/mita/pull/294

tkutz commented 5 years ago

The last issue with in and as within println statements will be fixed with PR https://github.com/eclipse/mita/pull/322

tkutz commented 5 years ago

Closing due to fixes in #294 and #322