How to Include File
By Radek Matous on May 07, 2009
How to include file in PHP NB IDE? Two ways:
- file system code completion for include/require
- Fast Import Alt+Shift-I
The first one is probably no surprise because is included in NB since 6.5
The second one was added into 6.7
Fast Import, looks at the identifier under the editor caret, then tries to locate the file and if successful we get the dialog like in the screenshot above. The choice is obvious and after pressing "Enter" we are done and include or require statement is generated. By pressing "ALt+Enter" the statement will be generated just before the current line.