crystal-lang-tools/scry

Add support to find classes and modules implementation

faustinoaq opened this issue ยท 5 comments

Add support to find classes and modules implementation

This is not supported by crystal tool implementations yet

I guess we can use something like symbol search to get class and modules location,

@crystal-lang-tools/scry WDYT?

Related to #109

Interesting, we can try to use crystal tool hierarchy for this

bew commented

Huh how? cr tool hierarchy doesn't give you the files where each class (no module iirc) is implemented

@bew Oh, I just realize, so, I guess this feature is not possible yet ๐Ÿ˜…

I have been thinking of changing method db more to something like a store of everything we need to help out in a file.
we could use it to store the locations of the class and module definitions which could be used for this.

@laginha87 Well, for now, workspace symbols feature is working pretty well ๐Ÿ˜‰