A syntax error occurs, when trying to use variables, that were defined in the puml config (within the PlantUML Settings in Intellij).
Steps to reproduce:
Add the following into your PlantUML config field in the plugin settings.
!define GreenArrow -[#green]->
Create a new puml (scratch) file:
@startuml
class c1
class c2
c1 GreenArrow c2
@enduml
**Result:**
Syntax highlighting complains, but the live preview works.
![Screenshot from 2024-02-21 11-38-29](https://github.com/esteinberg/plantuml4idea/assets/23554726/99da949d-f3e5-496d-afe3-9d273641951a)
I'd not see this as an big issue, but the syntax checking isn't working at all in Intellij, after the "broken" line of code.
A syntax error occurs, when trying to use variables, that were defined in the puml config (within the PlantUML Settings in Intellij).
Steps to reproduce:
Add the following into your PlantUML config field in the plugin settings.
!define GreenArrow -[#green]->
Create a new puml (scratch) file:
c1 GreenArrow c2
@enduml