Extract include files not working in PHP file
I want to grab a block of html and move it into an include whilst working in a PHP file.
As per the documentation https://www.jetbrains.com/help/phpstorm/editing-html-files.html#javascript_extract_include_file
I select the block of HTML (in a .php file)
But Refactor | Extract | Extract Include File is not available in the menus nor actions.
Surely this should be available within a PHP file. Not just for Javascript.
It's a fairly common thing to do in a .php file to want to move repeated blocks of html into an include??
Please sign in to leave a comment.
Hello Sean Clarke,
Thank you for reporting! This is a known issue.
Please upvote WI-20438 and feel free to leave comments there.