This NetBeans plugin provides support for FuelPHP Framework.
Create a new file for auto completion from Project Menu > FuelPHP > create auto completion file It's added to nbproject directory.
c.f.
If create a project from new project, add it automatically.
We can go to specific files relevant to a current file.
[Ctrl + Shift + G] [S] or [Ctrl + J] [S]
(from : to)
It is available the following actions:
If you have already used these shortcuts, please try to set shortcuts to keymap (Tools > Options).
If you use "myfuel" name instead of "fuel" directory name, please set as the following.
You can change only the fuel directory name. Many features don't work if other directory names are changed.
Plugin provides support for view path code completion. e.g.
View::forge('[Ctrl+Space]');
View::forge('welcome/[Ctrl+Space]');
ViewModel::forge('[Ctrl+Space]');
// popup directory and file names
If you push enter key at the directory name, please, run [Ctrl+Space] again. And directory childrenis displayed on popup list.
Create MVC(model, views, controller) and modules nodes on the project pane.
myproject
├─source files
├─test files
├─important files
├─include path
├─controller (fuel/app/classes/controller)
├─model (fuel/app/classes/model)
├─views (fuel/app/views)
├─modules (fuel/app/modules)
If you would like to hide the MVC directories in the source files,
please move to Project properties > Framework > FuelPHP
and check "ignore..."
If you check "ignore...", active position isn't moved to the source files node when you create a new file at the MVC nodes. Otherwise go to there.
Please notice that if you use remote upload on save, you can't ignore these.
Project right-click > FuelPHP > PHPUnit Test Init
This action will create the necessary files to run PHPUnit in NetBeans. And set them.
You can create Test Case files from context menu on file nodes or editor.
This feature is similar to Go To action.
e.g.
// move cursor on 'bootstrap.css'
// 1. ... 4.
Asset::css('bootstrap.css');
This is valid for the following methods.
You can also use option for creating file automatically.
Please check project properties > Framework > FuelPHP > create a file ...
You can create a empty file when target files don't exisit if this option is valid.
You can run oil commands with IDE.
Right-click project > FuelPHP > Run Command or Shortcut key Alt + Shift + X
You can run oil generate
command with GUI.
Right-click project > FuelPHP > Generate
Tools > Options > PHP > FuelPHP We can set default config(app/conifg/config.php) to the Options. This is used when new project is created.
This is able to set current project config to the Options. Right-click project > Fuel > save config as default
Don't clone to SD Card port from new project option!(Hang up...)
CDDL-GPLv2 (see license file)