Thursday, April 16, 2015

How to enable code hinting or auto completion in notepad++

Notepad++ is my favorite open source tool for web development, day by day its improving and becoming better and better. It's been 6 years and i'm enjoying this tool.

In my opinion notepad++ is a must have tool for every programmer using windows.Notepad++ offers lots of handy features for the faster programming. One such feature is auto-completion of code, by default the auto completion is disabled. To enable Auto completion of code here we go:

Step 1 : Go to Settings and select preferences.

Step 2 : Select "Auto-comptetion" from left side preference list.

Step 3 : select “Enable auto-completion on each input”  & “function and word completion", and also enable  "Function parameters hint on input".

That's all, close preference dialog and you are now ready to go. Happy coding...

Wednesday, April 15, 2015

Notepad++ and CakePHP .ctp Syntax Hightlighting

Generally CakePHP file syntaxes are not recognized and highlighted by Notepad++. In reality Notepad++ is not able to identify the files of CakePhp which uses the syntax as PHP.
How to Enable Syntax Highlight for CakePHP :

Step 1 : Open notepad++ with Admin Right .

Step 2 : Goto ‘Settings’ Menu and choose ‘Style Configurator’.


Step 3 : Select ‘PHP’ as Language and add ‘ctp’ without quotes. For more i’m adding ‘thtml’ and ‘mod’ extension also.

Step 4 : press “save and close” and exit from settings. Close the editor and re-open again and here you go.

Note : if you are not seeing any syntax highlighting it means you have not closed existing .ctp files. So close .ctp file from notepad++ and open it again.