Note: On this case using Netbeans PHP IDE 7.1.2 to develop web based application using PHP language.
The benefit to read *.tpl as *.php file in Netbeans is we can use
fast and smart code editing. To do this just go click
Tools on menu bar,
Options,
Miscellaneous,
Files and insert these values:
- File Extension: tpl
- Associated File Type (MIME): PHP Files (text/x-php5)
- Click OK
 |
| Figure 1. Configure file extension and MIME. |
Open your *.tpl file and feel free to get the benefit. Oh yea, please see figure 2 and figure 3 below to see the differences.
 |
| Figure 2. Netbeans smart code editing. |
 |
| Figure 3. Couldn't detect smart code editing. |
Netbeans tool looks a lot helpful and pretty useful for those people who wanted to create some web based application using PHP language. Through this, it would be easy for them to have the things that they wanted to have.
ReplyDelete