dan-t / rusty-tags

Create ctags/etags for a cargo project
Other
408 stars 32 forks source link

Support for rust core #61

Closed janaakhterov closed 5 years ago

dan-t commented 5 years ago

I really need a bit more information.

janaakhterov commented 5 years ago

I'm following Phil Opperman's Blog OS, and rusty-tags works great for almost everything except things under core. For instance when attempting to follow &PanicInfo located under use core::panic::PanicInfo; I get a "tag could not be found".

dan-t commented 5 years ago

For instance when attempting to follow &PanicInfo located under use core::panic::PanicInfo; I get a "tag could not be found".

I can't reproduce this. PanicInfo is contained in the tags file under $RUST_SRC_PATH/rusty-tags.vi or $RUST_SRC_PATH/rusty-tags.emacs.

Are you sure that your editor is using the tags file under $RUST_SRC_PATH. The tags for the rust std are NOT automatically contained in the tags file of the cargo project.

janaakhterov commented 5 years ago

It was my mistake. I thought the rust source ctags file was automatically contained. As soon as I added the rust source tags file everything works. Thanks!