vscode-intelephense
vscode-intelephense copied to clipboard
PHP intellisense for Visual Studio Code
Hello, I have been looking for this option in vscode and apparently doesn't exist, I also searched in the web without luck, currently only opened files are analyzed. Regards!
**Describe the bug** When you add a constant using define in a namespace you get the warning that the constant does not exist. **To Reproduce** ``` DEFINE(__NAMESPACE__.'\MODULE_SLUG', basename(dirname(dirname(__FILE__)))); if($moduleSlug !=...
Currently, intelephense can't recognize `class-string` annotation. Here sample code to demonstrate the issue. ````php
**Describe the bug** @mixin doesn't autocomplete properties on traits, just methods. I'm using premium as well. Using Craft CMS and they somewhat recently refactored their service container, living in Craft::$app,...
Currently If I use function "Find All References" on a method, it will search within current workspace directory, but it will be helpful if this method could be used within...
**Feature description or problem with existing feature** Is it possible to have snake case as the preferred format for variable names? Intelephense currently suggests camel case, which means I am...
**Describe the bug** Inside a public method, I have a variable that stores an object; then, if this object is not modifiable (a public method that may return a boolean,...
It is frequently occurrence issue that we occasionally override variable from outer loop by using the same name in the inner loop. PHPStrom can detect those, and it would be...
Auto-formatting of php files save short open tags I want to disable "Short open tag" on PSR12 formatting... `
Consider the following code: ```php function foo() { return ""; } $a = foo(); function bar() { $closure = fn() => ""; return $closure(); } $b = bar(); ``` The...