Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to add automatic docblocks? #7

Open
Vince0789 opened this issue Jun 7, 2018 · 3 comments
Open

Possible to add automatic docblocks? #7

Vince0789 opened this issue Jun 7, 2018 · 3 comments

Comments

@Vince0789
Copy link
Contributor

Would it be possible to add automatic docblock expansion when you type /** above a function declaration? Ideally it'd create the tags too.

afbeelding

@Southclaws
Copy link
Owner

Possibly, I was working on something similar to this but without the verbosity of XML syntax and each parameter having a separate line.

Grabbing the params shouldn't be too difficult with some regular expressions though I am working (slowly) on a fully fledged parser.

The end goal of that is to generate markdown documentation of a package via sampctl, probably quite a long way off though.

@kristoisberg
Copy link

I have a semi-working code for this at home. Should there be anyone (@JustMichael) interested in finishing it, I can put it back on GitHub since I currently don't have the time myself.

@ADRFranklin
Copy link
Collaborator

@kristoisberg You still have this code? I remember we talked before about it, but I'd be interested in possibly doing something with it now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants