title: VS Code & PHP: No Autocomplete for variables from included files?
body: <p>I have just jumped on the Visual Studio Code bandwagon, but have hit my first deal-breaker: I can't get it to autocomplete variables that I've set inside of an included "config.php" file, where I would set variables like:</p>
  
  <pre><code>$some_var = 'something';
  </code></pre>
  
  <p>Then in another file I would include:</p>
  
  <pre><code>&lt;?php
  include 'config.php';
  
  // etc.......
  </code></pre>
  
  <p>Then, in this file I should be able to start typing <code>$som</code> and hit TAB or ENTER and <code>$some_var</code> would be completed (possibly need to type more letters or select what I actually want if others matched the first few characters...)</p>
  
  <p>With all this editor can do I'm BLOWN away this isn't something that works right out of the box!?  really makes me wonder if maybe I am missing something...obviously it prevents errors/typos...not to mention the time saved just typing.</p>
  
  <p>Anyways, here's what I've done:</p>
  
  <p>On the welcome screen there's common options for "what I do" I used the php and javascript options; no keybindings </p>
  
  <p>I then started to install several other extensions that looked promising from youtubers, and at some point noticed this issue...</p>
  
  <p>I uninstalled ALL extensions and just picked the PHP option, no dice.</p>
  
  <p>So then I started adding several "PHP ________" extensions, including; IntelliSense, Intelephense, Autocomplete, etc... ONE-BY-ONE and uninstalling if it didn't work, just in case there was a conflict - still no luck (obviously).</p>
  
  <p>What am I missing guys!?  I have not seen anyone else asking about this...I hope I'm just over-complicating it and there's something simple I've overlooked...</p>
  
  <p>THANKS.</p>
  
  <hr>
  
  <p>For what it's worth:</p>
  
  <p>If I open the test file in a browser and echo the included variables, they're there.</p>
  
  <p>I'm running Mint xfce, with LAMP:</p>
  
  <pre><code>php -v
  PHP 7.2.15-0ubuntu0.18.04.1 (cli) (built: Feb  8 2019 14:54:22) ( NTS )
  Copyright (c) 1997-2018 The PHP Group
  Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
      with Zend OPcache v7.2.15-0ubuntu0.18.04.1, Copyright (c) 1999-2018, by Zend Technologies
  </code></pre>
  
  <p>My settings.json has a couple custom things I've added/tried along the way:</p>
  
  <pre><code>// PHP TROUBLESHOOTINGS:
  //"files.associations": {"*.php": "html"},
  "files.autoGuessEncoding": true,
  "files.defaultLanguage": "php",
  "php.suggest.basic": true,
  
  "editor.quickSuggestions": {
      "other": true,
      "comments": true,
      "strings": true
  },
  </code></pre>