It is easy to generate undefined methods in PHPstorm for classes by pressing Alt+Enter over an undefined method.
https://i.sstatic.net/qCk9S.jpg
But is there a way to generate Classes also?
Lets say I have this code
$x = new Person('String', 'String');
But Person is not defined so far.
Is there a way to press Alt+Space on Person so that PHPstorm automatically creates a Person.php class with the following constructor?
<?php
Class Person {
public function __construct($string, $string) {
}
}