GotoRubyGem
Quickly access the code of any installed gem.
Details
Installs
- Total 45
- Win 0
- Mac 26
- Linux 19
Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 |
Readme
- Source
- raw.githubusercontent.com
Goto Ruby Gem 0.3.0
This plugin is designed for Ruby projects and allows you to quickly access the code of any installed gem. It opens the gem's source code in a new Sublime Text window for easy inspection.
Installation
- Open Sublime Text.
- Press Ctrl + Shift + P (Linux) or Cmd + Shift + P (Mac) to open the Command Palette.
- Type Install Package and press Enter.
- Type “GotoRubyGem” and press Enter to install.
How to Use
- Press
Ctrl + Shift + P
(Linux) orCmd + Shift + P
(Mac) in Sublime Text. - Type “Goto Ruby Gem” and press enter.
- It will display a list of all installed gems.
- Select a gem from the list, and the plugin will open its source code in a new window.
Specifying Custom Directories (optional)
For specifying custom directories from which gems should be searched:
Store configurations directly in Sublime Text's settings: Open Preferences > Package Settings > GotoRubyGem and refer to Settings - Default for an example. You can customize GotoRubyGem using the following configurations:
- use_custom_gems_directories:
- Controls whether to use custom directories for gem searching.
- Default:
false
- Options:
true
: Enables searching in custom gem directories specified incustom_gems_directories
.false
: Uses the default gem directory for searching.
- custom_gems_directories:
- A list of absolute paths where gems should be searched.
- Usage:
- Specify paths only if
use_custom_gems_directories
is set totrue
. - If empty and
use_custom_gems_directories
istrue
, no gems will be searched.
Example Configuration:
Now Gems will only be searched inside /home/vals/.rvm/rubies/ruby-3.1.4/lib/ruby/gems/3.1.0/gems
{
"use_custom_gems_directories": true,
"custom_gems_directories": [
"/home/vals/.rvm/rubies/ruby-3.1.4/lib/ruby/gems/3.1.0/gems"
]
}
limitations
- Experimental support for Sublime Text for Linux/Mac with RVM/rbenv.
Enjoy exploring gem code easily with Goto Ruby Gem!
Feedback
Your feedback and suggestions are valuable! Feel free to open issues or contribute to the project.