Skip to content
dobkeratops edited this page Apr 13, 2014 · 31 revisions

overview-of-codebase

cross-crate-map - describes the ".rfx" files- node dumps used to link between crates

ideas-for-rust-ide

brainstorm

callgraphs

Commandline use

rustfind crate_root.rs [-x where_to_find_library_source]
... - emit html &.rfx file .. eg generate these in the root of rust source tree, then generate in current project dir

rustfind -r crate_root.rs
// just create a .rfx ast/jump def file //(need for showing defs between crates)

currently it writes a compiled-in default css (incbin), selectable styles is a todo, i'd like at least light & dark themes as compiled-in defaults if not more elaborate than that.

IDE component ??

could this be extended to make a component for integrating rust support to an ide..

'interactive mode' was intended to be a step in this direction,eg something that can be fired up by an editor plugin currently this responds to queries of :: with the location of the definition. If you dont specify 'sourcefile', it uses the last sourcefile mentioned. TODO if you dont specify column-number, lookup all useful defs' on that line?

TODO

  • modify its protocol to match an existing tool for a different language (eg emacs clang autocomplete?) look at vi youcompleteme?

  • query type information of symbols

  • find definition by name, and return all possible definitons with their containing scope

  • query methods/member variables suppported by a type

  • autocomplete, like the clang plugins .. possibly supporting the same protocol as the emacs clang plugin?

Clone this wiki locally