vscode-php-debug icon indicating copy to clipboard operation
vscode-php-debug copied to clipboard

Debug console IntelliSense

Open felixfbecker opened this issue 7 years ago • 1 comments

XDebug provides all the tools, just need to implement it.

  • Should suggest variables in the local scope (context_get)
  • Given a complex expression like $obj->prop->prop, strip away everything to and including the last ->. Then do a property_get on $obj->prop and suggest the properties

felixfbecker avatar Sep 18 '16 14:09 felixfbecker

Is the missing context also the reason why the console can not work with already imported classes?

# Context has a `use App\Enums\Environment`
Environment::LOCAL
*error evaluating code*

# When providing the FQCN it works
App\Enums\Environment::LOCAL
App\Enums\Environment

If so +1 for this issue, else I would open a dedicated issue. :D

func0der avatar Jan 24 '24 13:01 func0der