HvyIndustries / crane

PHP Intellisense/code-completion for VS Code

Home Page:https://hvy.io/crane

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Autocomplete not working within a try/catch

MortimerCat opened this issue · comments

$a = new Project();
$a->retrieveJobs();  //This autocompleted

try {
      $a->retrieveJobs();  //This autocompleted
} 

try {
   $b = new Project();
   $b->?????????   // Not working
}

When I create a new object within the try section, the auto complete does not work. Instead I get a large list of unconnected methods and commands, not including the ones from the Project class. Otherwise it works fine, I just get a list of methods within the Project class, nothing else.

Running latest version: Vscode V1.14.2 on Ubuntu, Intellisense v0.3.7