title: VSCode autocomplete function *and method* parentheses (js/ts)
body: <p>This is a superset of <a href="https://stackoverflow.com/questions/55533379/vscode-add-parentheses-when-automcompleting-functions">VSCode add parentheses when automcompleting functions</a></p>
  <p>There is a setting in VSCode <code>javascript: complete function calls</code> that automatically adds in the parentheses and signature when you accept the autocomplete suggestion for a javascript function.  (The equivalent setting exists for Typescript.)</p>
  <p>For example, if you have the function <code>function test(a,b) {return a+b;},</code> and you type <code>tes</code> and accept the suggestion, you'll get the full <code>test(a,b)</code> completed, not just <code>test</code>.</p>
  <p>However (see gif at bottom for demos),</p>
  <ol>
  <li>it appears not to work in <code>&lt;script&gt;</code> tags</li>
  <li>it appears not to work for methods, e.g. <code>document.getElementById()</code></li>
  <li>it appears not to work for built-ins, like <code>new Date()</code></li>
  </ol>
  <p>thus restricting its usefulness.</p>
  <p>I'm wondering if anyone is aware of a way to extend the autocomplete functionality to include these scenarios.</p>
  <p>I've opened a Github issue, in case this is a bug, but it's also possible I'm just misunderstand something.  <a href="https://github.com/microsoft/vscode/issues/119035" rel="nofollow noreferrer">https://github.com/microsoft/vscode/issues/119035</a></p>
  <p>Finally, here's a gif to demo the cases above: <a href="https://gfycat.com/carefulvibrantblackbuck" rel="nofollow noreferrer">https://gfycat.com/carefulvibrantblackbuck</a></p>
  <p>This is all running latest VSCode with no extensions.</p>