title: How can I setup webstorm to automatically add semi-colons to javascript functions, methods, etc
body: <p>When I write Javascript, I use semi-colons. However when I write in webstorm/phpstorm, it auto completes braces and brackets, but doesn't auto-add a semicolon. I know that isn't required per the standards, etc., but that's the way that I code - and I'm not alone, many people code this way.</p>
  
  <p>Example:</p>
  
  <pre><code>var data = $.ajax({});
  </code></pre>
  
  <p>Normally, webstorm/phpstorm will do this, and leave the cursor inside the curly braces:</p>
  
  <pre><code>var data = $.ajax({})
  </code></pre>
  
  <p>All in the world that I want is to not have to add the semicolon manually and have it just auto-complete as I noted in my first example.</p>