Closed quintesse closed 9 years ago
Hm, first time I’m seeing those files – I’d have spoken up against the ; comment
syntax if I’d known earlier :/
So what do I do? Include a CeylonFormatTool
class in ceylon.formatter
and point to it with the plugin file?
They are property files, I wasn't going to come up with a different format for the fun of it ;)
It doesn't have a Tool
yet? Ok, I didn't know that. It would be the nicest solution though as it would integrate best into the tool chain. But if it's too difficult or too much work we can add the scripts themselves to the distribution as well I guess.
Well, AFAIK properties files are usually commented with #
… but it’s not a standardized format.
And no, there’s no Tool
yet, but I’ll be very happy to get rid of the ugly batch script :)
I’ll probably have to generate the tool to get the options right…
I’ll probably have to generate the tool to get the options right…
Nope, I cheesed it with Rest
:D
Great! Now we only need to integrate this with the distribution (your https://github.com/ceylon/ceylon-dist/issues/43 issue)
See
ceylon-compiler/bin
for examples. We can then copy it toceylon-dist/dist/bin
during the build so it's available by default.