Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

What editor to use for Smarty?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
jobo
Smarty Rookie


Joined: 18 Jul 2003
Posts: 10
Location: France

PostPosted: Fri Jul 25, 2003 7:38 am    Post subject: What editor to use for Smarty? Reply with quote

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
View user's profile Send private message
mniskanen
Smarty Rookie


Joined: 26 Apr 2003
Posts: 20
Location: Lieksa,Finland

PostPosted: Mon Jul 28, 2003 8:09 am    Post subject: Re: What editor to use for Smarty? Reply with quote

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
View user's profile Send private message
funkydunk
Smarty n00b


Joined: 26 Apr 2003
Posts: 2
Location: Cambridge, UK

PostPosted: Wed Jul 30, 2003 6:38 pm    Post subject: Reply with quote

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 Smile
_________________
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
View user's profile Send private message Visit poster's website
messju
Administrator


Joined: 16 Apr 2003
Posts: 3336
Location: Oldenburg, Germany

PostPosted: Wed Jul 30, 2003 7:33 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
boots
Administrator


Joined: 16 Apr 2003
Posts: 5611
Location: Toronto, Canada

PostPosted: Wed Jul 30, 2003 8:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
marco5
Smarty Rookie


Joined: 28 Jul 2003
Posts: 19

PostPosted: Thu Jul 31, 2003 3:26 am    Post subject: Reply with quote

EditPlus

highlight with php codes
instance debug
stable,i never hang
Back to top
View user's profile Send private message
Petzi
Smarty n00b


Joined: 14 Aug 2003
Posts: 2

PostPosted: Thu Aug 14, 2003 6:09 pm    Post subject: Reply with quote

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 Smile


Which wordfile do you use, dont find anyone for smarty templates.
Back to top
View user's profile Send private message
funkydunk
Smarty n00b


Joined: 26 Apr 2003
Posts: 2
Location: Cambridge, UK

PostPosted: Thu Aug 14, 2003 6:16 pm    Post subject: Reply with quote

http://smarty.php.net/contribs/syntax_highlighting/
This has a wide range of smarty syntaxes for things like jedit etc....

hth
_________________
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
View user's profile Send private message Visit poster's website
Petzi
Smarty n00b


Joined: 14 Aug 2003
Posts: 2

PostPosted: Thu Aug 14, 2003 7:35 pm    Post subject: Reply with quote

thx
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP