Skip to content

Custom theme couldn't be detected #1517

@webcreative24

Description

@webcreative24

Describe the bug (*)

I've created a custom theme in the following folder: app/design/frontend/Vendor/custom-theme. Everything works fine but Magento PHPStorm plugin cannot detect the custom theme when I tried to override core module template

The problem occurs that there is a dash in my custom theme name

To Reproduce (*)

Steps to reproduce the behavior:

  1. Navigate to any of Magento core template files. Ex.: vendor/magento/module-catalog/view/frontend/templates/product/listing.phtml
  2. Click on 'Override file in a project theme'
  3. Click on the Target Theme list dropdown
  4. The dropdown is empty

Expected behavior (*)

The Target theme dropdown should be populated

Screenshots

image

Please complete the following information: (*)

  • OS: Ubuntu Linux 20.04
  • PhpStorm 2022.3.2
  • Plugin Version: 5.0.1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions