Skip to content

Commit bd60fcf

Browse files
committed
Move WordPress folder to category PHP where it belongs to
At the moment calling the "new file" wizard will show WordPress folder on each project type, which doesn't make sense. So I added the specific category where it belongs to, which is "PHP" in this case. So it will only show up in php projects.
1 parent 384610b commit bd60fcf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/org/netbeans/modules/php/wordpress/resources/templates/package-info.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,34 +8,39 @@
88
scriptEngine = "freemarker"),
99
@TemplateRegistration(
1010
folder = "WordPress",
11+
category = "PHP",
1112
iconBase = WordPress.WP_ICON_16,
1213
displayName = "#WordPress_Plugin_Template_DisplayName",
1314
content = "WpPlugin.php",
1415
description = "WpPluginDescription.html",
1516
scriptEngine = "freemarker"),
1617
@TemplateRegistration(
1718
folder = "WordPress",
19+
category = "PHP",
1820
iconBase = WordPress.WP_ICON_16,
1921
displayName = "#WordPress_Plugin_Readme_DisplayName",
2022
content = "readme.txt",
2123
description = "WpPluginReadmeDescription.html",
2224
scriptEngine = "freemarker"),
2325
@TemplateRegistration(
2426
folder = "WordPress",
27+
category = "PHP",
2528
iconBase = WordPress.WP_ICON_16,
2629
displayName = "#WordPress_Theme_Style_DisplayName",
2730
content = "style.css",
2831
description = "WpThemeStyleDescription.html",
2932
scriptEngine = "freemarker"),
3033
@TemplateRegistration(
3134
folder = "WordPress",
35+
category = "PHP",
3236
iconBase = WordPress.WP_ICON_16,
3337
displayName = "#WordPress_Child_Theme_Style_DisplayName",
3438
content = "child-style.css",
3539
description = "WpChildThemeStyleDescription.html",
3640
scriptEngine = "freemarker"),
3741
@TemplateRegistration(
3842
folder = "WordPress",
43+
category = "PHP",
3944
// iconBase = WordPress.WP_ICON_16,
4045
displayName = "#WordPress_Permalink_Htaccess_DisplayName",
4146
content = ".htaccess",

0 commit comments

Comments
 (0)