Page 2 of 2
Posted: Sun Aug 28, 2005 12:18 pm
by jayshields
Since day 2 (day 1 was notepad

) I have used EditPlus. It seems to have everything I want and more.
I can't say I've ever needed these "collapsable code blocks" you talk about, but maybe I would in the future.
EditPlus has good syntax highlighting and thats the only thing I really need to be honest, also it's free.
From the website:
- Syntax highlighting for HTML, CSS, PHP, ASP, Perl, C/C++, Java, JavaScript and VBScript. Also, it can be extended for other programming languages based on custom syntax files.
- Seamless Web browser for previewing HTML pages, and FTP commands for uploading local files to FTP server.
- Other features include HTML toolbar, user tools, line number, ruler, URL highlighting, auto-completion, cliptext, column selection, powerful search and replace, multiple undo/redo, spell checker, customizable keyboard shortcuts, and more.
http://www.editplus.com
Does anyone else use this?
Posted: Sun Aug 28, 2005 12:36 pm
by Joe
isn't that an shareware version?. A free PHP editor for Windows that I was told of is Davor's PHP Editor. I am personally a Linux user so can't really say. Give it a try!

Posted: Sun Aug 28, 2005 12:52 pm
by jayshields
well you download the full version, and then after so many days using it it prompts you to buy it each time you open it, but you dont have to and can continue using the full version forever.
if you hate the pop up there is a keygen somewhere. i used to have it.
Posted: Sun Aug 28, 2005 1:01 pm
by Joe
lol but using software beyond it's expiry is considered illegal (not that im bothered hehe)... There is plenty of free editors out there which offer a lot more, you should give them a try.
Posted: Sun Aug 28, 2005 1:02 pm
by feyd
stay away from the piracy talkage...
Posted: Sun Aug 28, 2005 2:27 pm
by jayshields
sorry feyd, wont happen again.
also, its not illegal im 99% sure the software is supposed to say you are on day 32324 of your 30 day trial period, please register here, or continue. if not, its the most stupid flaw in any software ive ever seen

Posted: Sun Aug 28, 2005 2:50 pm
by Bill H
jayshields is typical of why I discontinued publishing any shareware. Along with Joe's "not that I'm bothered..." Too many people think payment is optional and that using it without payment is not theft. Sigh.
Posted: Sun Aug 28, 2005 9:00 pm
by PCSpectraRetired
Bill H wrote:Ah. At the risk of sounding arrogant, it seems to me that keeping code broken into manageable functions avoids the need for anything like that. I've never felt the need to get any code"out of my way" in that fashion, and I've been doing this since 1980 or so, including applications and systems in the hundreds of thousands of lines. That's what functions and includes are for.
Althought not a ole' timer like you

(I did start young, around 8 on a Commadore Vic-20 and it's version of BASIC) I tend to agree...
Cheers

Posted: Sun Aug 28, 2005 9:02 pm
by PCSpectraRetired
IMHO UltraEdit is the best editor out there for PHP, Perl , etc that don't have a dedicated IDE.
It is very fast and can handle large files easily, although...files shouldn't be that large anyway
It even has Indent/Unindent and column selection capabilities, which IMHO come in really handy when copying code from a web site and pasting into your own.
Cheers

Posted: Sun Aug 28, 2005 9:12 pm
by nielsene
Bill H wrote:If you have a collection of small classes in a single file
Good point, hadn't thought of that. It would be useful.
And one other "common" (for certain sub-groups of people) use-case for code folding: Places where you're interfacing one computer languange to another. I beleive the PHP interpreter's code base makes a lot of use of folding to hide a lot of the "cruft" involved with "transparently" converting the internal representaions of variables into the arguements expected by the underlying C library functions, etc.
At work we have a python application that we commonly extend with custom C code. There's some very repetitive/boring template code for handling the conversion of multiple returns to extra reference parameters so that the compiler is happy. In many cases this template code is pre-generated by the compiler and automatically "fixed" if manually editted, etc. However, normally we don't need to look at it, so if its folded away it makes life easier.
Expanding on my documentation comment too -- at work, and other places, I've seen people embedding even more than normal "DocBlock" upto and including extended tutorials into the code documentation. The build process also creates a complete web and print reference manual. (Significantly more involved than phpDocumentor's tutorial support).... The amazing thing... the developers actually are keeping the documentation in sync!)
Yes, it is VERY easy to abuse, once you get used to it. Ie in the common self-submitting form that a lot of PHP writers use, having the form handler in one folding block and the page display in another. For all but the simplest, its likely better to have better functional/object decomposition.
Posted: Sun Aug 28, 2005 9:20 pm
by Bill H
Althought not a ole' timer like you
I think I take umbrage at that. I only started drawing Social Security this year.
Posted: Mon Aug 29, 2005 1:54 am
by s.dot
While collapsable code blocks may seem pointless to some people (as Bill H appears to believe

) I found it very useful for someone who's just learning the PHP language, such as myself. I haven't been PHPing for even a year yet so when I need to concentrate on certain areas, having all of that other code visible can some times be a distraction to me.
Perhaps for my usage, being able to hide your code blocks may seem a bit n00bish. But as nielsene mentioned, it can prove useful for advanced users as well.
Posted: Wed Aug 31, 2005 1:56 pm
by BruceT
I like the code folding in an editor as well, because it allows me to "hide" blocks of code, especially methods in a class file, that are complete and tested. It makes it easier to scroll through the whole file and see a larger "view" of it with just the method signature lines displayed, and the method contents safely hidden away until I need to look at them again.
Posted: Sun Sep 11, 2005 8:36 am
by anjanesh
Any of these editors (free) can open remote file and edit and save - via ftp ?