https://github.com/technomancy/zossima
Jump to definition in Ruby driven by a live process
https://github.com/technomancy/zossima
Last synced: 8 months ago
JSON representation
Jump to definition in Ruby driven by a live process
- Host: GitHub
- URL: https://github.com/technomancy/zossima
- Owner: technomancy
- Archived: true
- Created: 2012-10-25T05:06:56.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-12-18T21:29:21.000Z (over 13 years ago)
- Last Synced: 2024-08-05T06:06:10.654Z (over 1 year ago)
- Language: Emacs Lisp
- Size: 146 KB
- Stars: 30
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Zossima
Jump to definition in Emacs, driven by a live Ruby subprocess.
This builds on `inf-ruby` to handle Ruby subprocesses from Emacs. Once
you've loaded your inf-ruby process with the code for your project and
its dependencies Ruby keeps track of where each method is defined, so
you can use M-. to jump to the definition of a given method
and M-, to jump back.
It prompts you with a list of all known classes and modules, and once you've
chosen one, narrows down to a list of methods.
## Install
Currently you should just check it out and add this to your emacs config:
```lisp
(add-to-list 'load-path "/path/to/zossima-checkout")
(autoload 'zossima-mode "zossima" "" t)
(add-hook 'ruby-mode-hook 'zossima-mode)
```
## Todo
* Package on Marmalade
* Support for multiple inf-rubies in one Emacs instance
* Using the class/method at point if applicable?
* Possibly use the same class/method selector for docs?
## Copying
Copyright © 2012 Phil Hagelberg
Copyright © 2012 Dmitry Gutov
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Emacs; see the file COPYING. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.