-
Notifications
You must be signed in to change notification settings - Fork 0
Home
could this be extended to make a component for an IDE ?
'interactive mode' was intended to be a step in this direction,eg something that can be fired up by an editor currently this responds to queries of :: with the location of the definition
- query type information of symbols
- find definition by name, and return all possible definitons with their containing scopes
- query methods/member variables suppported by a type
to allow crates to reference eachothers definitions, 'rustfind' spits out a .rfx file holding ast node &definition information; when compiling html for a given crate, it reads in any availalbe .rfx files for the library crates it references, and uses those to figure out correct jump-to-def info
This is seemingly needed because the crate metadata doesnt (to my knowledge) include source information.. just whats needed to figure out correct function calls and generic function expansions
its possible the rust toolchain has this data somewhere for debugging? but at the time it wasn't conviniently accessible to me