Ruby Navigation in Emacs

I am trying to use emacs for my rails project. I’m kind of tired of this navigation, its really dumb. So, is there any other way to navigate the source code for ruby ​​in emacs?

Note. I also use small rinari mode. What type is smart for moving between models, views ... But what I want is some kind of transition to a certain type of things that you can see in regular IDEs. Please do not offer me any IDEs, as I am very pleased with Emacs for everything else, but this

+4
source share
3 answers

ECB, or Emacs Code Browser ( http://ecb.sourceforge.net/ ), is great for this. I use it for Rails Development; when activated by default, you will get a window with three panels with a folder structure, a list of files and a browser of methods.

To jump to specific method definitions, check the TextMate Small mode . the sT command will give you a dialog that will take you to the specified method of the appropriate type.

+2
source

For a more advanced "transition to definition", robe .

+2
source

The best combination mode of Emacs and Rails is the rinari mode http://rinari.rubyforge.org/ and the rhtml mode

It is available at melpa. Just run

Mx list-packages 

And select rinari-mode and rhtml-mode

rinari-mode has an advanced navigation system. it also supports etags http://rinari.rubyforge.org/Navigation.html#Navigation

 (setq rinari-tags-file-name "TAGS") 
0
source

All Articles