Syntax highlighting in editor

About Forums Enhancement Requests Syntax highlighting in editor

Viewing 4 reply threads
  • Author
    Posts
    • #248
      Marco
      Guest

      Hi,

      It would be beneficial for first-starters like me to have some kind of syntax highlighting in the editor for the PlantUML Language.

      Thanks,
      Marco

    • #249
      Arwen Vaughan
      Keymaster

      I think that is a very good suggestion. I have received that request a bunch of times now and agree it would be great.I will put that high on the priority list. The Ace editor can do it but I need to find the syntax and grammer for plantuml. Perhaps, this is a start…

      https://github.com/bafolts/plantuml-code-generator#pegjs

      I am very will willing to work with someone else to figure it out and implement it together. If someone can just tell me how to do it, then I will too.

    • #6906
      Arwen Vaughan
      Keymaster

      This sounds interesting. Can you explain more specifically what you have done? Ideally there would be an Ace Editor syntax highlighter that I could drop in. I will do a little research to see if this exists now in a newer version. If so I can upgrade PlantText.com with it.

      Also, I think I found the VIM plugin you are referring to…

      https://github.com/aklt/plantuml-syntax

      This looks nice. I am going to play with in when I have a minute. Thanks!

    • #6888
      nicamlg
      Guest

      Hi!

      I did it (to an extent) when I was playing around with Atom editor, although I never finished the work. If you’re interested, I can leave the files somewhere so you can finish the work.

      About the syntax and grammar, there is a vim syntax plugin for plamntuml to assist you.

    • #21891
      Nica Mlg
      Guest

      About this, another PlantUML based online diagrammer has an ACE instance with syntax highlighting:
      http://sujoyu.github.io/plantuml-previewer/

Viewing 4 reply threads
  • You must be logged in to reply to this topic.