View previous topic :: View next topic |
Author |
Message |
jobo Smarty Rookie
Joined: 18 Jul 2003 Posts: 10 Location: France
|
Posted: Fri Jul 25, 2003 7:38 am Post subject: What editor to use for Smarty? |
|
|
I'm using DZSoft's PHP Editor.
This editor has two strong points
- good at PHP (e.g. automatically adds colour to the text)
- able to run PHP directly from the editor, so good for testing
but it is not tuned for Smarty templates
- no help with HTML (there is a separate product from DZSoft for this)
- doesn't recognise template syntax (e.g. can't colour the text)
Does anyone have the 'ideal' solution? |
|
Back to top |
|
mniskanen Smarty Rookie
Joined: 26 Apr 2003 Posts: 20 Location: Lieksa,Finland
|
Posted: Mon Jul 28, 2003 8:09 am Post subject: Re: What editor to use for Smarty? |
|
|
jobo wrote: | I'm using DZSoft's PHP Editor.
but it is not tuned for Smarty templates
- no help with HTML (there is a separate product from DZSoft for this)
- doesn't recognise template syntax (e.g. can't colour the text)
|
I am using the Context editor (http://www.fixedsys.com/context) and I have
written a simple syntax highlighter for Smarty as well. As for myself I have
never run PHP from inside any editor. I have also created some simple
shortcuts for some of the most important HTML/PHP functions.
If anybody is using Context the highlighter can be found at:
http://www.arctive.com/php/Smarty.chl
Markku |
|
Back to top |
|
funkydunk Smarty n00b
Joined: 26 Apr 2003 Posts: 2 Location: Cambridge, UK
|
Posted: Wed Jul 30, 2003 6:38 pm Post subject: |
|
|
Ultraedit (www.ultraedit.com) works very well with smarty tags - there is a sytax text file to download aswell that highlights all the importnat smarty stuff _________________ php scripting :: database development :: web design
[url=https://www.paypal.com/xclick/business=duncan.graham%40funkydunk.net&no_note=1&tax=0¤cy_code=GBP]Donate via Paypal[/url] |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Wed Jul 30, 2003 7:33 pm Post subject: |
|
|
i use gnu emacs, but i didn't find a smarty-mode for it yet so i use php-mode which hilights quite okay but auto-indents nonsense (which doesn't make me wonder, of course).
does anyone know a smarty-mode for emacs or a mode for a language that is like smarty so it can be extended/modified to suite smarty? |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
Posted: Wed Jul 30, 2003 8:11 pm Post subject: |
|
|
Vim also has at least one Smarty mode if you are a vi type of guy. [There is another here and I am sure that more are available if you google for it.]
I find it a bit slow, but jEdit has a user contributed Smarty edit mode.
I seem to vaguely recall Katana doing something about getting the really nice (and now QPL'd) [url=phpedit.org]PHPEdit[/url] to support Smarty, but my memory fails me on the details and the outcome.
EDIT: Also see: http://smarty.php.net/contribs/syntax_highlighting/
Last edited by boots on Fri Aug 08, 2003 6:31 am; edited 1 time in total |
|
Back to top |
|
marco5 Smarty Rookie
Joined: 28 Jul 2003 Posts: 19
|
Posted: Thu Jul 31, 2003 3:26 am Post subject: |
|
|
EditPlus
highlight with php codes
instance debug
stable,i never hang |
|
Back to top |
|
Petzi Smarty n00b
Joined: 14 Aug 2003 Posts: 2
|
Posted: Thu Aug 14, 2003 6:09 pm Post subject: |
|
|
funkydunk wrote: | Ultraedit (www.ultraedit.com) works very well with smarty tags - there is a sytax text file to download aswell that highlights all the importnat smarty stuff |
Which wordfile do you use, dont find anyone for smarty templates. |
|
Back to top |
|
funkydunk Smarty n00b
Joined: 26 Apr 2003 Posts: 2 Location: Cambridge, UK
|
|
Back to top |
|
Petzi Smarty n00b
Joined: 14 Aug 2003 Posts: 2
|
Posted: Thu Aug 14, 2003 7:35 pm Post subject: |
|
|
thx |
|
Back to top |
|
|