2020-08-15

<Aaliya> I have tried created the .ctags config file in my home directory and my project as well, but seems like ctags doesn't pick that file up
<havenwood> Aaliya: What seems to be the problem with Vim + Ctags?
<havenwood> Aaliya: Welcome! I don't know much at all about ctags, but others here do and might chime in if you hang around for an answer. Ctags are referenced a fair amount in the channel logs: https://freenode.irclog.whitequark.org/ruby/search?q=ctag
<Aaliya> I have been trying to set up Vim with Ctags to work with Ruby/Rails project, but it is still not working. I am wondering if I can find some help in this channel. This is my first time here

2019-08-28

<cjohnson> Last I used it, it was marginally better than just running ctags. Has that improved?

2019-04-14

<skarlso> ferrrr RubyMine, vim, vscode with solargrapp for language server, sublime text with ctags

2019-04-10

<mhlei> Exactly, the ctags is not very firendly while go to the definition of a tag.

2019-01-10

<bijan_> Hi is anyone using Textmate2 for Rails with ctags? Wondering how to get gems also included...

2018-03-15

<ule> Yeah, in my case there I'm creating ctags based on all installed gems. "bundle --list"
<ule> it updates all ctags
<ule> phaul: I use ctags

2018-03-13

<za1b1tsu> dminuoso, regarding tags, I am using ripper-tags, with gutentags(auto generates tags) with deoplete autocomplete. Everything was great, but as usual I wanted more, I wanted tags from the gemfiles, so I got gem-ripper-tags which is basically tpopes' ctags but with ripper-tags, that generates tag files for the gems. To include those tag files, I use vim-bundler, but now deoplete does not use the tags in my main project folder. Did you ever try to setup

2018-02-05

<jhass> how do you do that in the background? ctags db?

2018-02-02

<za1b1tsu> Let me try again: So I browsing for an answer to the best setup regarding ctags for ruby in vim, to get method definition. I found this answer on stackoverflow: "So it turns out the better option (better than ctags) is either Robe for Emacs or a combination of vim + tmux + vmux + pry (to get show-source and edit)."
<za1b1tsu> So I browsing for an answer to the best setup regarding ctags for ruby in vim, to get method definition. I found
<za1b1tsu> So it turns out the better option (better than ctags) is either Robe for Emacs or a combination of vim + tmux + vmux + pry (to get show-source and edit)

2017-10-06

<RickHull> in a reasonable codebase, you can probably cover 99% of the bases with grep and something like ctags. and testing covers the rest. but what about unreasonable codebases that land in your lap?
<teatime> ctags is one of those useful PITAs, heh
<RickHull> i think Ctags have been used to good effect in some Ruby codebases

2017-09-21

<RickHull> dumb question, asked sincerely: what is a very good way to find all calls to Dir::Tmpname.make_tmpname? git clone ruby and git grep? something with CTAGS?

2017-08-13

<pavelz> ctags seems to work ok
<pavelz> should i use ctags ir rtags to get tags from my project

2017-08-10

<quuxman> seems ruby syntax is just too complex for reasonable implementation with ctags
<quuxman> Does anyone have a reasonable implementation of ctags for Ruby? Simple class definitions like "module Foo \n class Bar" don't create a "Foo::Bar" tag with universal-ctags and even ruby gem ripper-tags

2017-07-20

<dminuoso> Though. I think Im using universal-ctags
<dminuoso> yorickpeterse: Mmm, perhaps its just exuberant-ctags having issues?
<yorickpeterse> dminuoso: works fine with universal-ctags
<dminuoso> Ruby breaks the shit out of ctags.

2016-09-14

<Alayde> mehwork: Indeed it is. Did a bit of google searching, use 'gd' instead. That takes you to the first occurance of the method in a file, which is typically the definition (I guess). It's that or a lot of folks recommend ctags

2016-05-20

<adaedra> use ripper-tags to generate tags, as it handles ruby better than the default ctags for tag-based navigation.

2016-05-01

<lxsameer> is there any ctag or gtags task for ruby around ?

2016-04-20

<lxsameer> Ox0dea: but I'm looking for a solution to create ctags after each bundle install

2016-01-22

<adaedra> shevy: you can use ctags for that.
<Ox0dea> ctags is fine ~90% the time for MRI.

2016-01-05

<dwfait> though TIL that ctags matches cucumber step definitions fairly well, which is pretty nice
<dwfait> ctags sometimes fails in some places, for example idSize, which is generated at compile time from the makefiles
<Ox0dea> DEA7TH: ctags + a decent editor

2015-10-27

<baweaver> and ctags

2015-10-13

<warriorkitty> Well, I have ctags vim. :D
<Ox0dea> warriorkitty: You want ctags.

2015-07-30

<blahwoop> shevy: vim ctags

2015-06-16

<Ox0dea> shevy: Ctrl-P? ctags? Such problems are essentially solved for decent editors.

2015-06-05

<dfockler> Hey! Ctags! It's pretty nice

2015-06-04

<zenspider> emacs/vim + ctags + other organization / navigation tools

2015-05-15

<simpleuser> Hi there. I'm trying to use guard-ctags-composer (https://github.com/everzet/guard-ctags-composer). Usually it works great but on my new machine when I try guard init ctags-composer, it says: https://gist.github.com/Einenlum/1ec950ac75ab306d7dfe

2015-04-30

<terrellt> ...I mean, vim's vim. It has rails.vim, ctags, ctrl+p, vim-rspec, tslime, etc etc.

2015-03-24

<workmad3> baash05: all the more convoluted methods that involve generating ctags or similar... I've never found them worth the effort of integrating properly, and they slow down the autocomplete lookup to the point of uselessness for me :)

2014-12-22

<epitron> ooo.. sublime ctags works decently with ruby now

2014-11-14

<wald0> centrx: hum... there's not something like "ctrl + ]" that simply jumps to the .rb code that contains the definition of an external-to-my-code class ? just like i do it with ctags in c
<wald0> for C with ctags i use ctrl + ] to go to the header declarations file, and ctrl + t to come back to my code

2014-09-21

<simpleuser> I can do a "guard init ctags-composer" in one dir, but not in another one.
<simpleuser> Hi. I’m a complete noob in ruby/gem and I’d like to use guard. I installed guard and ctags-composer with "sudo gem install guard" and "sudo gem install guard-ctags-composer".

2014-09-16

<raldu> what are the best code exploration plugins for ruby besides ctags?
<raldu> what are the best code exploration plugins for ruby besides ctags?

2014-08-07

<workmad3> _bart: and the other 20% hasn't yet been worth the effort of getting ctags or something similar sorted out :)
<jhass> oO Hanmac doesn't know ctags?
<Hanmac> hm is ctags a rails app?
<_bart> I'm using Exuberant Ctags 5.8 on a big project, and I get this after some time: [1] 10700 segmentation fault ctags -R .

2014-07-29

<wallerdev> vim has ctags

2014-04-27

<pipework> vim + ctags :D

2014-04-23

<tos9> Hi. Is there a thing that will make ctags generate tags for rake tasks?

2014-04-17

<frankS2> Hi, does anyone have a ctag config for embedded ruby? :)

2014-04-07

<Jamo> and with ctags

2014-02-15

<ddd> antelopesalad i might have mine misconfigured. idk. but ctags is supposed to give that to you on vim projects but it A) is definitely NOT intellisense-like, and B) seems to only do the current file

2014-02-09

<nfk> i think i'll go with that plan rather than ctags
<pipecloud> ctags is all you need to be happy

2014-01-10

<workmad3> wald0: tools exist to generate and keep them up to date though (guard-ctags, bundler.vim, etc have various things for extending ctag support)
<workmad3> wald0: you need to generate the ctags for whatever language you're using
<wald0> mmh, but i need to generate myself the ctags or something like this? from where i can get a ctags file for ruby ?
<workmad3> wald0: ctags can give you tags from ruby code
<wald0> maybe some ctags feature for vim for ruby ?

2013-11-08

<eph3meral> jalcine, sudo apt-get install exuberrant-ctags

2013-10-17

<lessless> folks anyone use ripper-ctags? I have an [#<Errno::EISDIR: Is a directory - .>, "."] running in the gems folder

2013-09-19

<xybre> I'm pretty sure ctags and ack are going to get me what I want as fast or faster than an IDE tool.

2013-09-10

<ericwood> hanmac: with ctags I believe so

2013-08-12

* wald0 loves ctags when editing C code

2013-08-06

<hackingoff> i think ctags and some other things offer similar functionality in vim & co

2013-07-21

<MrZYX> ctags has rudimentary ruby support

2013-03-13

<banisterfiend> you guys dont know what ctags is?
<epitron> sam113101: did you ever get ctags to work?
<epitron> it sounds like there aren't many people here who use ctags
<epitron> oposomme: this is really something that you'd have to discuss with the ctags or vim people :)
<oposomme> epitron: Yes but the problem is ctags parse a function called foo= and zhen I am on foo it don't know it
<epitron> Hanmac: hmm... that's true.. ctags wouldn't be that smart
<shevy> what is ctags
<oposomme> Hi, I have method definition like this def foo=; # do something; end and I want to go to the definition with ctags when I am on MyClass.foo = '' Is it possible with ctags?

2013-02-20

<justme1> Hanmac: I'm want to be able to go to definition in vim to ruby framework methods, such as .class.instance_methods. I ran 'ctags -R * ~/.rvm/rubies/ruby-1.9.3-p327/lib/ruby

2012-11-23

<ddd> you need to add gem-ctags
<gozes> If I generate ctags for ruby will it also ganerated the tags for the gemsets or will I have to append that to my tag file
<gozes> I just start it to use ctags with vim today and I was wandering.

2012-10-30

<rking> shevy: ctags

2012-10-25

<Morkel> darthdeus: bundle show --paths | xargs ctags -R
<darthdeus> i'm looking for a solution to generate ctags for all of my gems

2012-08-01

<workmad3> arietis: vim (or anything with ctags support), rubymine, aptana

2012-06-04

<eph3meral> ctags is pretty nice

2012-06-01

<workmad3> ctags... I really need to get the hang of that at some point
<dcope> st has pretty good autocomplete too, which was always hit or miss for me in vim. ctags for obj c was pretty much always borken.

2012-05-26

<diegoviola> bambanx: or ctags

2012-04-22

<banisterfiend> rking: not bad, but not everyone wants to use vim. But yeah our solution would use CTAGS 4 sure
<rking> (assumes you have the Ruby source tree unpacked into ~/pkg/ruby/, and that you've run 'ctags -R' from the top level)
<rking> (^ Oh yeah, this assumes you have the Ruby source tree unpacked into ~/pkg/ruby/, and that you've run 'ctags -R' from the top level)

2012-04-06

<rking> shevy: Well, that is part of the philosophical difference, yes. The Unix way is small tools that do their job well. So yes, to use vim you need to also use ctags, grep, etc.

2012-04-03

<rking> Hrm. Well, the idea behind tags is you run like "ctags -R ."...yes.
<shevy> you actually mean tags as in ctags?
<rking> Actually -- haha.. you could instrument /every/ method, run the test suite, then build the index from that. It would be like ctags but for invocations instead of definitions.

2012-03-28

<shevy> I forgot how they use the ruby colouring... I think via ctags

2011-12-18

<Tasser> any-key, have you ever used ctags?