VSCode class hint method for PHP

I wrote classes for a project in different class files.

In the main file, I have included these classes and instantiated from them. There are many methods and I cannot remember all the names.

Is there a VSCode solution for a method method hinting as intellisense when I type the object in?

Example:

<?php
include "Some.class.php";
$var = new Some();
$var-> //[CTRL + Space] gives me PHP built in methods, not the class methods.
?>

      

+3


source to share


1 answer


As far as I know, there is no such thing yet.

However, they are working on plugin support:

We plan to offer plugin support for Visual Studio Code. Thank you for your interests and look for more information on our blog in the coming weeks.

We are looking for this type of feedback for the preview. Continue.

Sean McBreen - VS Code Team Member

link

and php intellisense is added:



Hello,

Our extension story definitely supports plugins for languages ​​like PHP. This will allow authors to develop IntelliSense and debugging support in additional languages.

However, we know that many PHP users are interested in Code, and we are exploring what we can do to improve the PHP experience.

We don't have a timeline for publication at this time or any statements about the firm's roadmap, but that's what we're talking about.

Sean McBreen Visual Studio Code - Team Member

link

Note. Although the "php intellisense" developed by Microsoft is discussed, these will allow for realistic intellisense implementations.

Our history of extensibility will support building IntelliSense and debugging for additional languages ​​/ runtime.

Sean McBreen Visual Studio Code - Team Member

+1


source







All Articles