You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm writing a matlab package where the docstring of the functions is written as header file, like EEGLAB style.
I saw that the current code automatically remove the header comments of the functions, but it keeps the header as docstring for the scripts.
I think it would be useful to add the option of having the docstring of the function as header. I don't know if the best option would be to make optional the removal of header docstring, or it might be considered as docstring only if the header starts with "%% functionName"
The text was updated successfully, but these errors were encountered:
Hello,
This is indeed definitely possible (perhaps even easy) to add as an option. I have mild concerns with the maintainability of supporting a wide range of formats e.g. what would be required for #140 which I plan on working on in the near future. I will probably combine this in with that work.
Hi,
thanks for the reply!
If you need some help I would be happy to contribute, I just need some hints on how the code is parsed because from the code I don't understand where header comments are removed in functions and where instead they are kept in scripts.
Hi,
I'm writing a matlab package where the docstring of the functions is written as header file, like EEGLAB style.
I saw that the current code automatically remove the header comments of the functions, but it keeps the header as docstring for the scripts.
I think it would be useful to add the option of having the docstring of the function as header. I don't know if the best option would be to make optional the removal of header docstring, or it might be considered as docstring only if the header starts with "%% functionName"
The text was updated successfully, but these errors were encountered: