sjbach / lusty

LustyExplorer / LustyJuggler for Vim
http://www.vim.org/scripts/script.php?script_id=1890
257 stars 30 forks source link

Adding Tags to Search Options #28

Open milkypostman opened 13 years ago

milkypostman commented 13 years ago

It'd be really nice to be able to get tags as one of the lusty options. I started to work on this but I'm not really sure where to go from here. It seems like it should be fairly easy but I'm not sure how to get to the tags within the ruby code.

milkypostman commented 13 years ago

It looks like this is a much harder problem than I expected. From the looks of the code, things like the taglist plugin and fuzzyfinder use an internal searching method for finding tags. hopefully this is something we can incorporate sometime.

milkypostman commented 13 years ago

I hope it's OK I keep adding some stuff in here.

It looks like what happens in most cases is that there is a call to ctags and the data returned is parsed by the finder utility at runtime then cached. This seems like it would be fairly easy to do once I grasp a bit more ruby coding and the architecture of this plugin. I would stick with fuzzyfinder but I like this interface a lot more and like that it's in ruby.

sjbach commented 13 years ago

I think it's a useful idea, too. A year or so back someone volunteered to add a tagexplorer mode, but I haven't heard from him since and I imagine he's moved on. If you're feeling adventurous, I'd be happy to incorporate the product of your efforts.