Search code examples
macoscakephpnetbeanssyntaxctp

Syntax highlighting for .ctp files with Netbeans+ Cakephp in Mac OS


I code Cakephp with Netbeans in Mac Os. My syntaxs in .ctp file doesn't highlighted(colored). I found the answer but only for Windows :( . How can I do for Mac? Tks!


Solution

  • Windows: Tools -> Options -> Miscellaneous -> Files -> File Extensions -> New -> Type 'ctp' -> OK

    MacOS: Netbeans -> Preferences -> Miscellaneous -> Files -> File Extensions -> New -> Type 'ctp' -> OK

    Hope this helps!