qjebbs / vscode-plantuml

Rich PlantUML support for Visual Studio Code.
MIT License
1.1k stars 159 forks source link

syntax highlighting: manage full online block comment #418

Open The-Lum opened 3 years ago

The-Lum commented 3 years ago

Hello vscode-PlantUML team,

[Ref. or related issues #96, #285]

Examples (where the syntax highlighting is not good... 😪 ):

1/ Example on component/deployment diagram

@startuml
' Simple online comment
/' this is a block comment
/' until this '/

[c1]
[c2] /' block comment '/
/' block comment '/ [c3]
node n #palegreen /' block comment '/ 
@enduml

2/ Example on sequence diagram

@startuml
/' comment '/ a->b
a->b /' comment always KO '/
autonumber 11 /' 11 '/
a<-b /' comment always KO '/
/' 13 '/ autonumber 13 
/' comment '/ a->b
@enduml

I can propose a PR fixing the first example; but not for the second where the syntax highlighting errors remains (see /' comment always KO '/)

Regards.

The-Lum commented 3 years ago

Hello all, and all contributors or future contributors,

⚠️ This PR fixes the first example; but not all for the second where some syntax highlighting errors remain (see /' comment always KO '/)

🆘 Requesting assistance to complete the PR: any help is welcome...

Regards.