vscode-magento-wizard
vscode-magento-wizard copied to clipboard
It is not reading modules, themes and blocks
I am trying to utilize this extension, although it is not working properly, when I installed and tried to utilize it only works when creating/generating new modules, when adding observers for example it does not work, and this is the log:
Found Magento root at d:\xyz\xyz\Magento
- Modules: 0
- Themes: 0
- Blocks: 0
I am using the latest version of VS Code
Hi @IbrahimS2, can you check, at the start of the log, is it able find PHP? If extension can't find PHP executable automatically - it won't be able to index modules/themes. I assume you are on Windows? Magento 2 is not officially supported on Windows and macOS (Linux only) but I have successfully run M2 on MacOS and saw instructions on how to run it on Windows. Configure full path to php.exe in the MagentoWizard settings and try again. If it still won't find modules - post full log from the Output tab.
Yes, PHP is active and running
PHP 7.4.16 (cli) (built: Sep 24 2021 08:30:22) ( ZTS Visual C++ 2017 x64 )
Found Magento root at d:\xyz\xyz\Magento
- Modules: 0
- Themes: 0
- Blocks: 0
@IbrahimS2 can you try installing extension from VSIX (not from Marketplace) https://github.com/viperet/vscode-magento-wizard/releases/download/v2.5.1-testing/vscode-magento-wizard-2.5.1.vsix It has some additional logging enabled that may help us to solve the issue. BTW, which Magento version are you using?