PHP Editor

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

PHP Editor

Post by s.dot »

I've read through the favorite editor thread, and people seem to be announcing what they use, but I can't seem to find one that has what I want

I would like an editor that is almost like notepad but

has syntax highlighting
collapsable code blocks
perhaps support for the PHP manual

That's about all I need, as I don't use the fancy things in editors anyways. My current editor (arachnophilia) is very hard on my system (uses up too much resources). I need something light. 8)

Any suggestions?
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post by n00b Saibot »

I would suggest HAPEdit. :D

features include

+ very much like NotePad
+ customizable color-coding
+ FTP Manager
+ SQL Console
+ Code Explorer
+ supports HTML, ASP, PHP, JS, CSS
+ comes with Tiny HTML Validator
+ has support for HTML and PHP help manuals

but

- No Collaspsible Code Blocks

the choice is yours...
Last edited by n00b Saibot on Sat Aug 27, 2005 6:17 am, edited 2 times in total.
jmut
Forum Regular
Posts: 945
Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:

Re: PHP Editor

Post by jmut »

scrotaye wrote:I've read through the favorite editor thread, and people seem to be announcing what they use, but I can't seem to find one that has what I want

I would like an editor that is almost like notepad but

has syntax highlighting
collapsable code blocks
perhaps support for the PHP manual

That's about all I need, as I don't use the fancy things in editors anyways. My current editor (arachnophilia) is very hard on my system (uses up too much resources). I need something light. 8)

Any suggestions?
Quanta
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

If you're using windows I can honestly say that Crimson Editor is what you want... it fits on a floppy just about. If you're on Linux... most of the standard editors can be extended (Emacs, Vi).

They are covered in that thread.... I think it's just gotten beyond any use now it's so long.

EDIT | Been a while since I used crimson but it never had collapsable code bloacks last time I used it... it's too light.
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

I downloaded the editors.

So far Crimson looks the best to me. If it had a 'New PHP File' instead of creating a text file it'd be really nice.

HAPedit was good too, but that syntax highlighting and mouseovers were horrid. I'm sure that's configurable though.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Re: PHP Editor

Post by neophyte »

scrotaye wrote:I've read through the favorite editor thread, and people seem to be announcing what they use, but I can't seem to find one that has what I want

I would like an editor that is almost like notepad but

has syntax highlighting
collapsable code blocks
perhaps support for the PHP manual

That's about all I need, as I don't use the fancy things in editors anyways. My current editor (arachnophilia) is very hard on my system (uses up too much resources). I need something light. 8)

Any suggestions?

On linux I love Quanta Plus development environment. Has everything in your list and more and it is free!
User avatar
Bill H
DevNet Resident
Posts: 1136
Joined: Sat Jun 01, 2002 10:16 am
Location: San Diego CA
Contact:

Post by Bill H »

If it had a 'New PHP File' instead of creating a text file it'd be really nice.
You create a new file. That file is not, by definition, any specific kind of file. As soon as you save it with a "php" extension it becomes a new php file. What's so hard about that?
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

Bill H wrote:
If it had a 'New PHP File' instead of creating a text file it'd be really nice.
You create a new file. That file is not, by definition, any specific kind of file. As soon as you save it with a "php" extension it becomes a new php file. What's so hard about that?
Nothing hard about that. I was learning the editor. I now just open a new blank document, then choose PHP syntax highlighting, and all's good.

I really like Crimson.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

but does crimson have colapsable code blocks now?
User avatar
Bill H
DevNet Resident
Posts: 1136
Joined: Sat Jun 01, 2002 10:16 am
Location: San Diego CA
Contact:

Post by Bill H »

It does not.

Pardon my ignorance, but what are collapsable code blocks?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

basically, it allows you to visually hide a block of code. These are often delimited by {}, but some editors support defining regions of "hidables" as well.
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

My first instance of dealing with collapsable code blocks was writing sample java programs using JCreator. Collapsing a code block when dealing with a long piece of code is extremely nice! It allows you to forget about what that block does and concentrate only on what you're writing.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
Bill H
DevNet Resident
Posts: 1136
Joined: Sat Jun 01, 2002 10:16 am
Location: San Diego CA
Contact:

Post by Bill H »

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.
User avatar
nielsene
DevNet Resident
Posts: 1834
Joined: Fri Aug 16, 2002 8:57 am
Location: Watertown, MA

Post by nielsene »

A few places where code hiding or "folding" can be extemely useful.

If you're using DocBlocks and have well documented code, its nice to be able to hide all the documentation and focus on the code, or vice versa. In a lot of cases the DocBlocks can be much larger than the function body... I often work on a remote server via a simple terminal and within-the-console Emacs. On many occasions the "page-up/page-down" keys get captured in wierd ways, so scrolling through the fine can get painful. If the code or doc blocks can be collapsed its much easier. Alsmost like a index or table of contents.

If you have a collection of small classes in a single file: exceptions, helpers, iterators, etc. I can be nice to have each one folded down when not working on it.
User avatar
Bill H
DevNet Resident
Posts: 1136
Joined: Sat Jun 01, 2002 10:16 am
Location: San Diego CA
Contact:

Post by Bill H »

If you have a collection of small classes in a single file
Good point, hadn't thought of that. It would be useful.
Post Reply