-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Allow to find modules and classes using crystal tool #4941
Comments
I think we can have the docs tool output JSON format and include location of types and methods. That way you can solve your use case by using that. |
#4746 implements this already. For types it is an array |
Hi @straight-shoota, Would be possible to output modules and classes in JSON using |
What command do you refer to? |
@straight-shoota I mean class and module location |
For the It should be easily doable to include this in the docs JSON. I don't know much about the |
Have someone looked into this yet? Otherwise I might to help the editor integrations out there. |
) * Refactor `ImplementationVisitor#visit(Call)` by early return * Implementation: allow to lookup implementations of class and module Closes #4941 * Implementation: add specs for looking up classes and modules implementations * Implementation: use target_type to lookup alias type implementation * Implementation: add const spec
Hi people!
Currently
crystal tool hierarchy
isn't showing class location.I think it is very useful to find clases using extensions like vscode-crystal-lang
This idea was suggested by @Qwerp-Derp
Some similar to #4766
/cc @makenowjust 😅
The text was updated successfully, but these errors were encountered: