知易行难

Posts Tagged ‘eclipse’

Ruby Content Assist with Emacs Key Scheme

Jul 2, 2007

Tags




In Aptana(or Eclipse) with RadRails, if you use the Emacs keybinding Scheme, you would find that the Content Assist shortcut Alt+/ doesn’t work (as the Ctrl + Space under Default Scheme). Apparently this shortcut was left out by the RDT. So here’s the way to add it manually:

  1. Go to Window > Preferences > General > Keys
  2. Make sure the Emacs Scheme is selected under Modify tab
  3. Under Command, select Edit in the Category list and select Ruby Content Assist in the Name list
  4. Under Key Sequence, focus on the Name field, press “Alt + /”, then select Ruby Editor in the When list

    aptana-emacs-key

  5. Click Add, then click OK to close the Preferences dialog
  6. Open a ruby source file to confirm that the Alt + / works

    ruby-content-assist

Archives: Monthly or