Python editor in zope?
I'm new to Zope, and am getting tired of using textarea's to edit my Python/[HD]TML code. My space-bar thumb is starting to get an unnatural twitch, from hitting it multiple times at the beginning of every line of code. :-) I've installed TinyMCE and Epoz, and they're both great for documents.. But they're both useless for writing code. Instead of writing my own skin for TinyMCE (and reinventing the wheel), are there any pure JavaScript/CSS code editors that can do search/replace, block indents, and (this would be amazing) Python syntax highlighting? Thanks, Sean
Sean Dunn wrote:
I’m new to Zope, and am getting tired of using textarea’s to edit my Python/[HD]TML code. My space-bar thumb is starting to get an unnatural twitch, from hitting it multiple times at the beginning of every line of code. J
I’ve installed TinyMCE and Epoz, and they’re both great for documents.. But they’re both useless for writing code. Instead of writing my own skin for TinyMCE (and reinventing the wheel), are there any pure JavaScript/CSS code editors that can do search/replace, block indents, and (this would be amazing) Python syntax highlighting?
Hi, If you're getting tired of through-the-web development, probably its time to start developing your own zope products, on the filesystem. regards, Ricardo
Sean Dunn wrote at 2005-9-2 09:27 -0500:
I'm new to Zope, and am getting tired of using textarea's to edit my Python/[HD]TML code. My space-bar thumb is starting to get an unnatural twitch, from hitting it multiple times at the beginning of every line of code. :-)
Your options are almost uncountable :-) * ExternalEditor * use an editor of your choice which is able to edit via either FTP or WebDAV (e.g. [X]Emacs, vi, HomeSite, DreamWeaver, ColdFusion Studio, ...) * mount your Zope via FTP/WebDAV into your local system and use the editor of your choice * let Zope use file system objects (e.g. via "Filesystem Directory View") -- Dieter
Two Cents, I use HomeSite 5.5 with my zope daily... although it's not suited directly for python, it works great for DTML, HTML, CSS, and even the python scripts. One warning, Zope refuses the save through FTP of a non-well-formed DTML file, and Zope's built in Python debugger for Python Scripts is ignored on FTP saves from Homesite. But the save to FTP aspect, works great with disparate files in the Zope ZODB. You probably could use any editor you'd like with a tool like WebDrive, a FTP through Drive letter utility. -Jon cyrj@cyr.info Sean Dunn wrote:
I'm new to Zope, and am getting tired of using textarea's to edit my Python/[HD]TML code. My space-bar thumb is starting to get an unnatural twitch, from hitting it multiple times at the beginning of every line of code. J
I've installed TinyMCE and Epoz, and they're both great for documents.. But they're both useless for writing code. Instead of writing my own skin for TinyMCE (and reinventing the wheel), are there any pure JavaScript/CSS code editors that can do search/replace, block indents, and (this would be amazing) Python syntax highlighting?
Thanks,
Sean
------------------------------------------------------------------------
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
------------------------------------------------------------------------
No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.17/85 - Release Date: 8/30/2005
-- Jonathan Cyr cyrj@cyr.info
Sean Dunn wrote:
I'm new to Zope, and am getting tired of using textarea's to edit my Python/[HD]TML code. My space-bar thumb is starting to get an unnatural twitch, from hitting it multiple times at the beginning of every line of code. J
You should look at External Editor[1] for authoring code through the web without using the browser interface. The best would of course be to put your code on the file system - nobody does serious work through the web interface (but the Zope book gives this impression, unfortunately). External Editor enables you to work with your favorite editor even when doing work in the web interface.
I've installed TinyMCE and Epoz, and they're both great for documents.. But they're both useless for writing code. Instead of writing my own skin for TinyMCE (and reinventing the wheel), are there any pure JavaScript/CSS code editors that can do search/replace, block indents, and (this would be amazing) Python syntax highlighting?
SciTE[2] is the best all-round editor I've found for writing HTML, CSS, and the occasional Python script. It has a lot of nice features, and if you get the Windows version with extensions included[3], you get a really nice and sane setup. It's also open source. I've used a fair share of different editors throughout my work with Plone, and I have to say that the two that I really liked are SciTE and TextMate. TextMate is only available for OS X, though. I'm not a hardcore Python coder, but your main use case seems to be just like mine - templates, CSS and the occasional Python script - so SciTE should serve you well. [1] http://www.zope.org/Members/Caseman/ExternalEditor [2] http://www.scintilla.org/SciTE.html [3] http://gisdeveloper.tripod.com/scite.html -- _____________________________________________________________________ Alexander Limi · Chief Architect · Plone Solutions · Norway Consulting · Training · Development · http://www.plonesolutions.com _____________________________________________________________________ Plone Co-Founder · http://plone.org · Connecting Content Plone Foundation · http://plone.org/foundation · Protecting Plone
Sean Dunn wrote:
I'm new to Zope, and am getting tired of using textarea's to edit my Python/[HD]TML code. My space-bar thumb is starting to get an unnatural twitch, from hitting it multiple times at the beginning of every line of code. :-)
My advice, if you're on Windows, would be to use any editor of your liking (emacs is mine ;-) via WebDrive using WebDAV to get to your Zope server... cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (7)
-
Alexander Limi -
Chris Withers -
Dieter Maurer -
Jonathan Cyr -
Paul Winkler -
Ricardo Alves -
Sean Dunn