DSL auto-formatting #251
-
Hi @simonbrowndotje, is there somewhere in the structurizr world a library/interface to (programmatically) auto-format / pretty-print a DSL file ? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
@torsten-systemticks that discussion, where we talked about using Antlr4 or something similar, was based on my desire to have the same feature. I was planning to develop some kind of prettier plugin to be able to format Structurizr DSL files in all IDEs that prettier is supported. But all Prettier examples that I found require an AST Parser. :S |
Beta Was this translation helpful? Give feedback.
-
Nothing that I know of, although I did come across this -> https://github.com/Colin-TUE/prettier-plugin-structurizr |
Beta Was this translation helpful? Give feedback.
Nothing that I know of, although I did come across this -> https://github.com/Colin-TUE/prettier-plugin-structurizr