junichi11 / cakephp-netbeans

CakePHP support in NetBeans
http://cakephp.org
71 stars 18 forks source link

Variable name misspelled on Shell creation #113

Closed tranfuga25s closed 9 years ago

tranfuga25s commented 9 years ago

When creating a task from the "New file" -> "CakePHP Shell", the array that should contains the tasks collection is generate in singular. Should be plural.

Besides shoul the class should be generated with "Shell" prefix both in class name and filename ( we should known about that but is a good reminder.

junichi11 commented 9 years ago

Thanks for reporting it. I'll fix it.

junichi11 commented 9 years ago

Besides shoul the class should be generated with "Shell" prefix both in class name and filename ( we should known about that but is a good reminder.

Sorry, What does this mean? Why prefix?

tranfuga25s commented 9 years ago

Sorry, not prefixed, but postfixed: When you create the file and netbeans asks for the name, the dialogs creates the Help.php, not HelpShell.php file.

junichi11 commented 9 years ago

When you create the file and netbeans asks for the name, the dialogs creates the Help.php, not HelpShell.php file.

Did you input HelpShell to file name text field? Probably, you input Help there.