Menu

PHP functions highlighting?

2008-10-02
2012-11-13
  • Andrew Laslo

    Andrew Laslo - 2008-10-02

    How to enable PHP functions highlighting in N++ 5.0.3?

    Thanks in advance...

     
    • Ozzy

      Ozzy - 2009-01-27

      I noticed in the "langs.xml"

      <Language name="php" ext="php php3 phtml"

      this is a function of php4 & 5...

      maybe they just haven't maintained the list in the built in languages.

      not sure if langs.xml or langs.model.xml, but they could be added to one/both? of those.

      http://www.php.net/quickref.php  <-- 5350 functions suitable for copy/paste into Notepad++ (replace \r\n with " " space for inclusion into langs file.)

       
    • Adam Segal

      Adam Segal - 2009-01-24

      I noticed NPP highlights some built in functions and not others.  Like it highlights array() but not array_merge().  Any reason it doesn't do this?
      I come from using SciTE and it highlights all of them so I know NPP could.

      Otherwise I could add them to the user defined keywords I suppose.  Just wondering why.

      Oh, and does anyone have a list of all those functions so I can add them? :D

      Thanks.