I use Notepad++ and Aptana for editing my CakePHP code? Is there any way to get basic html syntax highlighting for CakePHP's .ctp template files? It's a lot harder for me without any coloring going on. Any ideas?
+1
A:
You probably just have to select Language -> Html in the menu bar. You can set the association in Settings -> Style Configurator -> Html
Valentin Jacquemin
2009-05-01 14:56:42
+1
A:
Settings -> Styler Configurator -> Language: HTML -> User ext: ctp
done :-)
akiro
2009-05-01 14:56:42
+2
A:
Configuring in Aptana Editor
Quoted from aptana docs
- From the Window menu, select Preferences..., and then choose General > Editors > File Associations.
- Add the appropriate file type.
- Next to the File Types list, click the Add button.
- In the New File Type pop-up window, type the appropriate file extension (e.g. ".ctp" or ".thtml").
- Click OK to add the New File Type to the List.
- Associate the new file type with Aptana.
- On the File Types list, select the file type that you just added.
- Next to the Editor Associations list, click the Add button.
- On the Editor Selection pop-up window, select the editor that you want to associate with your file type.
- Click OK to add the editor.
- The new is now associated with the specified file type.
- Click OK to apply your changes and close the Preferences window.
Check out this link
Webrsk
2009-05-01 15:14:28
A:
Another little tip that I picked up on.....to get some basic syntax completion in Aptana:
- Right Click on your Projects, Select Properties
- Goto the "Project Natures" tab and make sure that the PHP component is clicked (If not you will have to click it, close the properties window and reopen it)
- Next we're going to click on "PHP Buildpath" and select the "External Folders" tab
- Add the location of a plane jane CakePHP install
Let Aptana re-profile the project and viola....you have some syntax completion. It's not perfect....but it's better than nothing!
rnavarro
2009-05-02 07:36:56
A:
try free PHP IDE Codelobster PHP Edition with special plug-in for CakePHP framework.
Stas
2010-06-07 16:13:58