Cool!!!, thanks for sharing your experience :D 2016-04-09 3:02 GMT-03:00 Christof Stocker <[email protected]>:
> To be blunt I never really bothered to investigate the "right way" to use > ctags. I simply looked for a way that works for my use case. That being > said, I can tell you how I use ctags. > > Some page somewhere (I found it again, see the end of my post) suggested > to use the .git directory of a project to store the tags file, which I > thought was the best solution, given that then the tags would always be > project specific. I use the Tags to move between files with CtrlP, so I > liked this approach. Basically it uses local githooks to produce the tag > file on every major git operation like commit etc. > > This is the website that I followed the instructions of: > http://tbaggery.com/2011/08/08/effortless-ctags-with-git.html > It also addresses your question about one way to call ctags (which works > for me at least). > > > On 2016-04-09 04:33, El suisse wrote: > > Sorry for the noise, which it is the right way to generate the file tags? > in .julia/ ? > with the command: > > `ctags -R .` > > 2016-03-16 10:38 GMT-03:00 Christof Stocker <[email protected]>: > >> Makes sense. I don't use C-], I use the CtrlP plugin to jump around in a >> project. I included the first parameter, so that CtrlP has an easier time >> finding the unique match >> >> >> On 2016-03-15 20:41, Daniel Arndt wrote: >> >> I gave this ago and my experience was: >> >> TagBar worked and looked great! >> >> jump to tag (C-] in vim) did not work. This seemed to be a result of >> including the parameters in the tag. If I manually removed them from the >> tags file, tag jumping would start working again. I won't pretend to know >> the internals of what VIM and TagBar are doing differently here. I haven't >> had time to dig any deeper. >> >> Cheers, >> Dan >> >> On Monday, 14 March 2016 15:34:16 UTC-3, Daniel Arndt wrote: >>> >>> Thanks Christof, >>> >>> I've been meaning to get around to doing this myself, so you've saved me >>> some time. I'm testing it out right now. >>> >>> Cheers, >>> Dan >>> >>> On Sunday, 13 March 2016 13:50:00 UTC-3, Christof Stocker wrote: >>>> >>>> I made myself a custom one based on the one from the julia repo. >>>> Basically I seperated the big one into multiple categories and also allow >>>> functions to be marked inline >>>> >>>> I posted a gist of it for those interested >>>> >>>> https://gist.github.com/Evizero/e1595c35611c15ebf8f9 >>>> >>>> Am Freitag, 12. Februar 2016 14:38:42 UTC+1 schrieb Christof Stocker: >>>>> >>>>> Hi! >>>>> >>>>> Are there any VIM users here who have a nice >>>>> [tagbar](https://github.com/majutsushi/tagbar) going? >>>>> >>>>> For the tagbar to work properly one needs to have a Julia language >>>>> definition for [ctags]( <http://ctags.sourceforge.net/> >>>>> http://ctags.sourceforge.net/). I have found one >>>>> [here](https://github.com/JuliaLang/julia/blob/master/contrib/ctags) >>>>> that nicely lists all the functions, which is great, but I wonder if >>>>> anyone has already put in the additional effort and created a custom >>>>> one >>>>> that also lists types, and macros etc. Would be much appreciated. >>>>> >>>> >> > >
