Fix plugin wizard's generated filenames
Plugin creation dialog makes certain promises for default values for filenames that aren't fulfilled:
Folder name doesn't use real snake_case, it just lowercases the text and replaces spaces to underscores. Plugin file isn't what's advertised in the tooltip (should be plugin.gd, defaults to same as folder name).
Fix automatic folder naming snake_case conversion. Use plugin.gd as a default script name as advertised. Possible alternate is to change the tooltip to reflect the current behavior (that is, to snake_case the plugin name). However, plugins that add custom class/es often are organized such a way:
addons/my_super_node/ // Plugin named after the class it adds
- plugin.gd // Adds the class and tools
- my_super_node.gd // The actual class
- my_super_node_inspector.gd // Tool plugin
I feel that plugin.gd is appropriate name for the plugin file, since the script often does the integration of other scripts to the editor and not much more (exception being super simple one file plugins).