tagbar
tagbar copied to clipboard
Using tagsfile for tags from other files
So, Tagbar is really pretty, slick, etceteras; I'm a big fan, so far.
Problem is, I write very modularized C code; lots of smaller files (comes from working in JavaScript too much these last few years, I'm sure -_-
); and showing only the tags for the current file … doesn't really show much.
At the very least, I'd love to be able to use Tagbar to display, and quickly jump to, definitions from the current file's header-file; but ideally, I'd really like the entire project to be imported.
I see there's already #196, which is partially about this; but his focus seems to be on performance: I've already got easytags managing my tagsfile in the background, asynchronously; so I'm really not worried about the performance-hit of loading from the file. In that issue, however, you talk about it being difficult to integrate Tagbar's design with Vim's exposure of tagsfile-contents.
So, even though it sounds like this is out-of-scope for your goals on this project, I'd really like to throw in my :+1: on this feature: even if it's disabled by default, even if it has to include a completely separate tagsfile-parser than Vim's built-in one … it'd be great. <3
Adding the information from a file's header file is something I've thought about as well, but haven't gotten around to yet. Showing tags from other files in a project is rather out of scope though, Tagbar is meant to show an outline of just the current file like most IDEs.