dan-t / rusty-tags

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

No generated file in library with only lib.rs #38

Closed Ploppz closed 7 years ago

Ploppz commented 7 years ago

In a library with only lib.rs (specifically this https://github.com/pdf-rs/pdf_derive), rusty-tags vi doesn't generate any file.

dan-t commented 7 years ago

It's because pdf_derive only defines a procedural macro, so there aren't any symbols (structs, enums, functions, ...) defined which might be referenced by other crates.

Ploppz commented 7 years ago

I had hoped to jump around private functions in that library though (while developing it). Is it only in binary projects that private things get tagged?

dan-t commented 7 years ago

On Thu, Aug 31, 2017 at 05:36:28PM +0000, Erlend Langseth wrote:

I had hoped to jump around private functions in that library though (while developing it). Is it only in binary projects that private things get tagged?

Ok, I've just pushed a change that should allow this with the current github version.

Ploppz commented 7 years ago

Great, thanks. When does cargo install get the new version? It' not urgent for me, just wondering.

dan-t commented 7 years ago

rusty-tags 2.2.0 is released.