@@ -4,13 +4,15 @@ This is NetBeans plugin for WordPress.
44
55## How to enable
66
7- ` enabled ` option is unchecked as default. Please check it on ` project properties > Frameworks > WordPress `
7+ ` enabled ` option is unchecked by default. Please check it on ` project properties > Frameworks > WordPress `
88
9- ## Environment
10- - NetBeans 8.0+
9+ ## Requirements
10+
11+ - NetBeans 8.2+
1112- WordPress 3.5+
1213
1314## Features
15+
1416- badge icon
1517- important files
1618- create new WordPress project
@@ -34,38 +36,47 @@ This is NetBeans plugin for WordPress.
3436- .htaccess (only the root directory)
3537
3638### Create New WordPress Project
37- You can create a new WordPress project with Wizard.
38-
39- 1 . set Tools > Options > PHP > WordPress > download url(e.g. http://wordpress.org/latest.zip ) or local file path(e.g. /path/to/wordpress.zip)
40- 2 . check New Project > PHP > PHP Application > ... > Framework > WordPress PHP Web Blog/CMS
41- 3 . select options (url / local file / wp-cli)
42- 4 . finish
4339
44- ### Custome Content Name
40+ You can create a new WordPress project via a wizard.
4541
46- If you want to use custom content name(default is ` wp-content ` ), please set your content name to the project properties.
47- (project properties > Framework > WordPress)
42+ 1 . Set Tools > Options > PHP > WordPress > download url(e.g. http://wordpress.org/latest.zip ) or local file path(e.g. /path/to/wordpress.zip)
43+ 2 . Click File > New Project
44+ 3 . Check PHP > PHP Application > ... > Framework > WordPress PHP Web Blog/CMS
45+ 4 . Select options (url / local file / wp-cli)
46+ 5 . Set wp-config options
47+ 6 . Click the Finish button
4848
4949#### options
50- - Set format to project : set format option to project.properties
51- - create wp-config.php : copy from wp-config-sample.php
50+
51+ - Set format options for WordPress to this project : add format options for WordPress to project.properties
52+ - Create a wp-config.php : copy from wp-config-sample.php
53+
54+ ### Custom Content Name
55+
56+ If you want to use a custom content name (default value is ` wp-content ` ), please set your content name to the project properties.
57+ (project properties > Framework > WordPress)
58+ If your wp-content directory is not in your WordPress Root, please set a relative path (from a source directory to wp-content directory) to ` wp-content ` .
5259
5360### Code Templates
61+
5462- wpph : wordpress plugin header
5563- wpgpl : wordpress license comment
5664
5765e.g. please type wpph [ Tab]
5866
5967### Zip Compress Action
68+
6069You can compress specified pluign or theme directory as Zip file to the same hierarchy.
6170Right-click active plugin or theme node > Zip compress
6271
6372### Template Files
73+
6474You can create a pluign file and readme file with new file wizard.
6575
66- Right-click directory > New > Others > WordPress > (WordPress Plugin | WordPress Plugin Readme)
76+ Right-click a directory > New > Others > WordPress > (WordPress Plugin | WordPress Plugin Readme)
6777
6878### Code Completion for Filter and Action
79+
6980This feature is available the followings:
7081- add_filter, remove_filter
7182- add_acttion, remove_action
@@ -79,43 +90,50 @@ add_filter('the_content', 'w[Ctrl + Space]'); // e.g. start with 'w'
7990```
8091
8192### Display And Change Debug Status
93+
8294WP_DEBUG value(wp-config.php) is displayed on bottom-right of IDE.
8395If you click there, you can change WP_DEBUG value.
8496WordPress version number is also displayed.
8597
8698### Create New Theme Action
87- Right-click Project > WordPress > Create Theme
99+
100+ Right-click a WordPress project node > WordPress > Create Theme
88101
89102#### Minimum Theme
90103
91- Just create a style.css and an empty index.php.
104+ Just create a style.css and an empty index.php to the directory which you named .
92105
93106#### Underscores
94- Create theme from [ Underscores | A Starter Theme for WordPress] ( http://underscores.me/ ) . Underscores is awesome!
107+
108+ Create a theme from [ Underscores | A Starter Theme for WordPress] ( http://underscores.me/ ) . Underscores is awesome!
95109This plugin uses [ Automattic/_ s · GitHub] ( https://github.com/automattic/_s ) .
96110
97111** Please note that license of created theme is GPLv2**
98112
99113#### Barebones
100- Create theme form [ welcomebrand/Barebones · GitHub] ( https://github.com/welcomebrand/Barebones ) .
114+
115+ Create a theme form [ welcomebrand/Barebones · GitHub] ( https://github.com/welcomebrand/Barebones ) .
101116
102117### Create New Child Theme Action
103- Right-click Project > WordPress > Create Child Theme
118+
119+ Right-click a WordPress project node > WordPress > Create Child Theme
104120
105121- Create a new directory for child theme
106122- Add style.css for child theme
107123
108124### Create New Plugin Action
125+
109126Right-click Project > WordPress > Create Plugin
110127
111- This is very simple feature.
112- - input plugin name(plugin_name)
113- - create new plugin directory(plugins/plugin_name)
114- - add main plugin file (plugins/plugin_name/plugin_name.php)
115- - add readme file (plugins/plugin_name/readme.txt)
128+ This is very simple feature. If you input a plugin name (plugin_name)...
129+
130+ - Create a new plugin directory (plugins/plugin_name)
131+ - Add a main plugin file there (plugins/plugin_name/plugin_name.php)
132+ - Add a readme file there (plugins/plugin_name/readme.txt)
116133
117134### Hyperlink Navigation
118- This feature is available the followings:
135+
136+ This feature is available on the parameters of following functions:
119137- add_filter, remove_filter
120138- add_action, remove_action
121139
@@ -124,31 +142,31 @@ Then caret position go to function. (first parameter is available when there are
124142
125143### Run Command
126144
127- We can run wp-cli commands. * Please notice that this action needs so much time to get command list at first time.*
145+ You can run wp-cli commands. * Please note that this action needs so much time to get command list at first time.*
128146
1291471 . Set wp-cli script path to Options. Tools > Options > PHP > WordPress
130- 2 . Select WordPress Project node
131- 3 . Right-click > WordPress > RunCommand...
148+ 2 . Right-click a WordPress project node > WordPress > RunCommand...
132149
133150#### wp-cli
134151
135- Please see the followings :
152+ Please see the following links :
136153
137154- https://github.com/wp-cli/wp-cli
138155- http://wp-cli.org/
139156
140157### Upgrade Notification
141158
142- Check whether new versions (for core, plugin and theme) are available when WordPress project is opened.
143- Furthermore, we can upgrade(run core update, core update-db, e.t.c.) WordPress with notification window if we are setting wp-cli.
159+ Check whether new versions (for core, plugin and theme) are available when a WordPress project is opened.
160+ Furthermore, you can upgrade(run core update, core update-db, e.t.c.) WordPress from a notification window if we are setting wp-cli.
144161
145162If you don't want to check that, please uncheck ` Check new version when project is opened ` at Options.
146163
147164### Create a .htaccess file for permalink
148165
149- Right-click project node > WordPress > Create .htaccesss for permalink
166+ Right-click a WordPress project node > WordPress > Create .htaccesss for permalink
150167
151168#### Note
169+
152170.htaccess file for permalink can be also created with template.
153171
154172## Version Number
@@ -166,9 +184,10 @@ Available on [Plugin Portal](http://plugins.netbeans.org/plugin/46542/php-wordpr
166184
167185If development version exists, it will be available in the same archive as stable version.
168186
169- ### Archive
187+ ### Downloads
170188
171189[ github releases] ( https://github.com/junichi11/netbeans-wordpress-plugin/releases )
172190
173191## License
192+
174193[ Common Development and Distribution License (CDDL) v1.0 and GNU General Public License (GPL) v2] ( http://netbeans.org/cddl-gplv2.html )
0 commit comments