RubyMine 6.3.0 Web Help

This helpful feature analyses your text in the visible scope and suggests to complete a word with a keyword, class name, method or variable. So doing, the prototype is highlighted in the source code.

To expand a string at caret to an existing word
  1. Type the initial string.
  2. Press Alt+SlashAlt+SlashAlt+SlashAlt+SlashAlt+SlashAlt+SlashCtrl+Shift+KAlt+SlashAlt+SlashAlt SlashAlt SlashControl PeriodAlt Slash. The editor shows the first suggested value.
  3. Press EnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnter to accept the suggested word, or continue pressing Alt+SlashAlt+SlashAlt+SlashAlt+SlashAlt+SlashAlt+SlashCtrl+Shift+KAlt+SlashAlt+SlashAlt SlashAlt SlashControl PeriodAlt Slash until the desired word is found.

Example:

img