Skip to content

Commit 0757b9e

Browse files
committed
Update README
1 parent 0fd7a1a commit 0757b9e

1 file changed

Lines changed: 18 additions & 2 deletions

File tree

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ This is NetBeans plugin for WordPress.
1818
- hyperlink navigate
1919
- create new plugin action
2020
- custom content name
21+
- run command (wp-cli)
2122

2223
### Impotant Files
2324
It contains wp-config.php
@@ -27,7 +28,7 @@ You can create a new WordPress project with Wizard.
2728

2829
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)
2930
2. check New Project > PHP > PHP Application > ... > Framework > WordPress PHP Web Blog/CMS
30-
3. choose options
31+
3. select options (url / local file / wp-cli)
3132
4. finish
3233

3334
### Custome Content Name
@@ -92,13 +93,28 @@ This is very simple feature.
9293
- add main plugin file (plugins/plugin_name/plugin_name.php)
9394
- add readme file (plugins/plugin_name/readme.txt)
9495

95-
### Hyperlink Navigate
96+
### Hyperlink Navigation
9697
This feature is available the followings:
9798
- add_filter, remove_filter
9899
- add_action, remove_action
99100

100101
Hold down Ctrl key on first or second parameter. If text color is changed to blue, Click there.
101102
Then caret position go to function. (first parameter is available when there are the same function names as parameter name : in this case, caret doesn't necessarily go to right position)
102103

104+
### Run Command
105+
106+
We can run wp-cli commands. *Please notice that this action needs so much time to get command list at first time.*
107+
108+
1. Set wp-cli script path to Options. Tools > Options > PHP > WordPress
109+
2. Select WordPress Project node
110+
3. Right-click > WordPress > RunCommand...
111+
112+
#### wp-cli
113+
114+
Please see the followings:
115+
116+
- https://github.com/wp-cli/wp-cli
117+
- http://wp-cli.org/
118+
103119
## License
104120
[Common Development and Distribution License (CDDL) v1.0 and GNU General Public License (GPL) v2](http://netbeans.org/cddl-gplv2.html)

0 commit comments

Comments
 (0)