title: Is there a shortcut for inserting PHP's object operator upon code completion in PhpStorm?
body: <p>Let's say I want to type the following in PhpStorm:</p>
  
  <pre><code>$longObjectName-&gt;propertyName = 'some value';
  </code></pre>
  
  <p>Seems innocent enough, no? If I start typing <code>longOb</code>, code completion kicks in and helpfully provides <code>$longObjectName</code> as a suggestion, since it exists elsewhere in my project. I think to myself, "Ah perfect, that's exactly what I wanted", so I hit <kbd>Enter</kbd> or <kbd>Tab</kbd> to accept the suggestion. At this point, I'm feeling pretty happy.</p>
  
  <p>But now I want to insert <code>-&gt;</code>, PHP's awkward but familiar object operator. If I type it manually, that's <strong>three whole keystrokes</strong> (including <kbd>Shift</kbd>), which makes me feel just a bit sad. A distant, nagging doubt begins to enter my mind. "<em>Three</em> keystrokes? What kind of evil IDE is this? Who are these ruthless dictators at JetBrains??"</p>
  
  <p>The emotional roller coaster continues when I see the following in PhpStorm's Tip of the Day dialog, bringing a minuscule but insistent glimmer of hope to my dark, Monokai-schemed world:</p>
  
  <blockquote>
    <p>When using Code Completion, you can accept the currently highlighted
    selection in the popup list with the period character (<code>.</code>), comma (<code>,</code>),
    semicolon (<code>;</code>), space and other characters. </p>
    
    <p>The selected name is
    automatically entered in the editor followed by the entered character.</p>
  </blockquote>
  
  <p>In JavaScript, this means I can type <code>longOb</code> and hit <kbd>.</kbd> to both accept the first code completion suggestion and insert the JS object operator, resulting in <code>longObjectName.</code>, at which point I can keep typing a property name and go on autocompleting all day long without ever hitting <kbd>Enter</kbd>. Amazing. Revolutionary even.</p>
  
  <p>Now for some devastating news: it doesn't seem to work in PHP. (Fret not children—this harrowing tale is almost at its end.) </p>
  
  <p>If I type <code>longOb</code> and then hit <kbd>-</kbd>, I get this:</p>
  
  <pre><code>longOb-      // :(
  </code></pre>
  
  <p>I'm pretty sure the PHP interpreter wouldn't like me very much if I tried to execute that.</p>
  
  <p>(Side note: <kbd>.</kbd>, <kbd>,</kbd>, and <kbd>;</kbd> exhibit pretty much the same behavior, contrary to the quoted Tip of the Day above.)</p>
  
  <p>So here's what I would get if I were to make my fantasy world a reality:</p>
  
  <pre><code>$longObjectName-&gt;[handy dandy code completion list, primed and ready for action]
  </code></pre>
  
  <p>Wouldn't that be <em>flipping awesome</em>?</p>
  
  <p>So finally, we arrive at the ultimate question, with some redundant stuff added for those who didn't bother to read my action-packed, heartwrenching story:</p>
  
  <p><strong>Is there a single keyboard shortcut in PhpStorm for "Accept the currently highlighted code completion suggestion and insert the PHP object operator (<code>-&gt;</code>)"?</strong></p>
  
  <p>Or is this just a bug?</p>