About Me

My photo
I am adept web developer and designer. I studied engineering at IET Bhaddal, Ropar under Punjab Technical University. I develop my interest in web development at an early stage of Computer diploma. After working with top Mohali-based IT companies since 2005, I am currently working at Global Pueblo Solutions. In my free time, I love to play various sports, traveling with friends or family.

Tuesday, January 17, 2017

Adding CTP extension in Netbeans

Recently I faced a problem while working in CakePHP framework using NetBeans 8+ version. When I was adding new .ctp file, Netbeans does not show it in a proper way as it displays for .php files. I mean by the display format of the code. To solve it, you can follow these steps:

1. Go to Files in Tools => Options => Miscellaneous
2. Then click on "New" => Type in "ctp" => Then Click "OK"
3. At last your have to  select (text/x-php5) in "Associated File Type (MIME)"
4. Click "OK"

Happy Coding :)