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

Show function argument names on the right hand side? #56

Open
juj opened this issue Aug 10, 2017 · 2 comments
Open

Show function argument names on the right hand side? #56

juj opened this issue Aug 10, 2017 · 2 comments

Comments

@juj
Copy link
Contributor

juj commented Aug 10, 2017

When looking at a function call, like in

10kcubes_2

the right hand side reads

command Arguments

    0: 0
    1: 3
    2: 5126
    3: 0
    4: 24
    5: 12

It would be great if that read

command Arguments

    index: 0
    size: 3
    type: 5126
    normalized: 0
    stride: 24
    offset: 12

since it's easy to forget which parameter means what, so the second form would show that clearly (btw, the links to the spec in the API call is a great idea!)

@sebavan
Copy link
Member

sebavan commented Aug 10, 2017

This would imply referencing all the functions with their signature in the tool. I agree it would be nice but not sure I will have time. It would be great if you could create a simple class using .d.ts file as the reference which could help adding this information.

I would then integrate it with pleasure.

@Kuranes
Copy link
Contributor

Kuranes commented Oct 31, 2017

FYI, before someone try to do it "manually" docs.gl has a tool to extract those, maybe modifying the outpout to some usable json could make it automated:
https://github.com/BSVino/docs.gl#how-to-build-it

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

No branches or pull requests

3 participants