Answer the question
In order to leave comments, you need to log in
How do I set up VS Code to work with Composer packages?
Switched to this wonderful editor from NetBeans. This IDE had an autocomplete for the packages installed in the vendor folder: you write use ... at the beginning of the file, and the development environment automatically loads the necessary packages in the drop-down list. But VS Code doesn't do that by default. How to teach which extension to put?
Answer the question
In order to leave comments, you need to log in
Temporarily solved the problem as follows:
1. Installed this extension: https://marketplace.visualstudio.com/items?itemNam...
2. Next, when I get an object of the class I need, for example,
I right-click on the class name and select Import Class . At the beginning of the file, under the namespace, a new class is imported using the use statement.
This is not very convenient, I hope in the future I will find a better solution. $picker = new DatePicker();
Perhaps this plugin will help https://marketplace.visualstudio.com/items?itemNam... but I doubt that it will be possible to reach NetBeans
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question