Every programming language has own needs for formatting to better reflect structure. Oor grammar and syntax is somewhere in between of pascal, java and lisp with square brackets on top - so standart formatter is doing really poor job. We need better one! Anyway - tutroals of jetbrains are very scetchy on this topic so I will try to shine some light on it.
In the beginning our parser was pretty simple, but progrramming language is complicated, has operators and also expressions. Brute force approach does not work well for big files due to recursion.
Since out sources are deployed to database, and executerd from there - we would profit from proper module and facet providing configuration (database connection) and predefined directory structure.
GPDR Erklärung. Muss halt sein. Bitte aufmerksam lesen.
So, we have a plugin, and it recognizes files by extension. We can write parser now.
IntelliJ Idea is not a free IDE - but since 15 years (or longer) the are able to sell against free IDEs like eclipse.
Because it is just better and easy to expand. And sometimes there is a need for support of some awkward programming language - and you have to bite a bullet and roll your own plugin.