appledoc icon indicating copy to clipboard operation
appledoc copied to clipboard

The method declaration line break

Open ErazerControl opened this issue 2 years ago • 1 comments

Hi, AppleDoc, Current, the doc generated by appledoc show the method declaration as below image

But I hope it has line break after every paramet, like apple official doc. How can I do? image

ErazerControl avatar Jun 27 '22 14:06 ErazerControl

It's been a long time since I've touched this code base and also since I last wrote a line of code in any Apple language, so writing generally - take a look at parsing and data storage code to first see if it already parses and stores indovidual method parameters (I think it should). Then take a look at output generation code, you'll need to replace the part where method declaration is generated with your code which will output newlines. If I remember correctly output generation uses templates so you'll need to change both, the template and code that generates the data for it.

You can open the project in Xcode, set cmd line parameters for debugger and breakpoint and run it to investigate the data during runtime. It will be the simplest way to get familiar with the code and later change it.

Good luck!

tomaz avatar Jun 28 '22 05:06 tomaz