title: How to open a directory in PHPStorm or IntelliJ (or any JetBrains IDE) from the command line?
body: <p>Is there a way to open up a directory in PHPStorm or an equivalent Jetbrains IDE from the command line? For example, in Textmate, I would just do:</p>
  
  <pre><code>mate .
  </code></pre>
  
  <p>to open the working directory.</p>