Java Other
Latest commit b779265 Oct 4, 2016 @junichi11 Merge branch 'nb82dev'
Failed to load latest commit information.
nbproject Fix problems for NetBeans8.2 Oct 4, 2016
src/org/netbeans/modules/php/wordpress Improve the zip action #55 Sep 20, 2016
test/unit/src/org/netbeans/modules/php/wordpress Add Test May 12, 2014
.gitignore Update Apr 25, 2016
license.txt Update version number to 0.9.0 Oct 4, 2016

NetBeans WordPress Plugin

This is NetBeans plugin for WordPress.

How to enable

enabled option is unchecked as default. Please check it on project properties > Frameworks > WordPress


  • NetBeans 8.0+
  • WordPress 3.5+


  • badge icon
  • important files
  • create new WordPress project
  • code templates
  • zip compress action
  • template files
  • display and change debug status
  • code completion for filter and action
  • create new theme action
  • hyperlink navigation
  • create new plugin action
  • custom content name
  • run command (wp-cli)
  • upgrade notification
  • create a .htaccess file for permalink
  • create a new child theme action (create a style.css for child theme)

Important Files

  • wp-config.php
  • .htaccess (only the root directory)

Create New WordPress Project

You can create a new WordPress project with Wizard.

  1. set Tools > Options > PHP > WordPress > download url(e.g. or local file path(e.g. /path/to/
  2. check New Project > PHP > PHP Application > ... > Framework > WordPress PHP Web Blog/CMS
  3. select options (url / local file / wp-cli)
  4. finish

Custome Content Name

If you want to use custom content name(default is wp-content), please set your content name to the project properties. (project properties > Framework > WordPress)


  • Set format to project : set format option to
  • create wp-config.php : copy from wp-config-sample.php

Code Templates

  • wpph : wordpress plugin header
  • wpgpl : wordpress license comment

e.g. please type wpph [Tab]

Zip Compress Action

You can compress specified pluign or theme directory as Zip file to the same hierarchy.
Right-click active plugin or theme node > Zip compress

Template Files

You can create a pluign file and readme file with new file wizard.

Right-click directory > New > Others > WordPress > (WordPress Plugin | WordPress Plugin Readme)

Code Completion for Filter and Action

This feature is available the followings:

  • add_filter, remove_filter
  • add_acttion, remove_action

first parameter: action or filter name, second parameter: function name

For example:

add_action('[Ctrl + Space]', 'function_name');
add_filter('the_content', 'w[Ctrl + Space]'); // e.g. start with 'w'

Display And Change Debug Status

WP_DEBUG value(wp-config.php) is displayed on bottome-right of IDE. If you click there, you can change WP_DEBUG value. WordPress version number is also displayed.

Create New Theme Action

Right-click Project > WordPress > Create Theme


Create theme from Underscores | A Starter Theme for WordPress. Underscores is awesome! This plugin uses Automattic/_s · GitHub.

Please notice that license of created theme is GPLv2


Create theme form welcomebrand/Barebones · GitHub.

Create New Child Theme Action

Right-click Project > WordPress > Create Child Theme

  • Create a new directory for child theme
  • Add style.css for child theme

Create New Plugin Action

Right-click Project > WordPress > Create Plugin

This is very simple feature.

  • input plugin name(plugin_name)
  • create new plugin directory(plugins/plugin_name)
  • add main plugin file (plugins/plugin_name/plugin_name.php)
  • add readme file (plugins/plugin_name/readme.txt)

Hyperlink Navigation

This feature is available the followings:

  • add_filter, remove_filter
  • add_action, remove_action

Hold down Ctrl key on first or second parameter. If text color is changed to blue, Click there.
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)

Run Command

We can run wp-cli commands. Please notice that this action needs so much time to get command list at first time.

  1. Set wp-cli script path to Options. Tools > Options > PHP > WordPress
  2. Select WordPress Project node
  3. Right-click > WordPress > RunCommand...


Please see the followings:

Upgrade Notification

Check whether new versions (for core, plugin and theme) are available when WordPress project is opened. Furthermore, we can upgrade(run core update, core update-db, e.t.c.) WordPress with notification window if we are setting wp-cli.

If you don't want to check that, please uncheck Check new version when project is opened at Options.

Create a .htaccess file for permalink

Right-click project node > WordPress > Create .htaccesss for permalink


.htaccess file for permalink can be also created with template.

Version Number

stable dev
pattern n.n.n n.n.n.n
e.g. 1.0.1

Stable version

Available on Plugin Portal.

Development version

If development version exists, it will be available in the same archive as stable version.


github releases


Common Development and Distribution License (CDDL) v1.0 and GNU General Public License (GPL) v2