Page 2 of 3
Posted: Sat Aug 13, 2005 1:19 pm
by theda
No, just very didicated.
Posted: Sat Aug 13, 2005 1:19 pm
by John Cartwright
Yes you are.
Now back to the discussion
-An editor that lets you define the paramaters of all the aboved mention
-> for example syntax color highlighting may be changed
-> auto complete may be turned off, or a delay on the tooltip
Posted: Sat Aug 13, 2005 1:37 pm
by theda
->Free
->Skinnable (Because I prefer things to blend into my current OS theme rather than be ungodly.)
Isn't that a biggie?
Re: What a good editor should have...
Posted: Sat Aug 13, 2005 8:31 pm
by nielsene
tores wrote:
- Collapse functions or block of code
- Support for embedded HTML code (typically by having "html" colours on the html and "php" colours on the php)
Just so you know Emacs/XEmacs does have both of those: look up folding-mode for the former. I never got the second to work, but I bleive there is way to use php-mode as a minor-mode within one of the HTML mode packages.
The biggest thing I want now is refactoring support and I'd be willing to pay fiarly decent money for it... But it has to let me cut and paste with keyboard only. (Eclipse/Zend drive me crazy... too used to Emacs and vi almost never need to touch the mouse

)
Even a very simplistic "refactoring mini-toolkit" find/replace limited only to the current function would be a godsend.
Posted: Sun Aug 14, 2005 2:40 am
by patrikG
- needs to support subversion or CVS
I don't like the 'punk-me-up" syntax highlighters either, but Komodo, which I'm using, has very relaxed, very pretty and useful highlighting.
Posted: Sun Aug 14, 2005 7:16 am
by feyd
hands down, must brew a good coffee..
Posted: Mon Aug 15, 2005 7:45 am
by timvw
I don't think an editor should have a debugger or a tool to commit to cvs. It should be a program that allows me to _edit_ files. And make sure it does it as efficient as possible (I don't like to type 40 times [arrow left] to get around the 5th word).
An IDE on the other hand should have a debbuger and a cvs tool. And shortcuts to compile/package code. etc..
Emacs isn't an editor, emacs isn't an IDE either, it's more like a complete OS

(i'm starting to like emacs in vipermode)
Posted: Mon Aug 15, 2005 7:50 am
by CoderGoblin
Convert tab to spaces is always good with the ability to set tab size.
Bracket highlighter also very useful to track those missing brackets (both ( )and {}).
Posted: Mon Aug 15, 2005 8:24 am
by timvw
I've always liked phpeclipse, but now that i've discovered
trustudio, a plugin for eclipse (there is a free version too) i think phpeclipse has still a far way to go
here is a screenshot:
http://timvw.madoka.be/images/items/eclipse.png
(Also notice the cute green line that is generated by the
simpletest plugin. That plugin works with phpeclipse too.. But i'm waiting for the next release of it which will contain a couple of fixes (by me) so you can define your own simpletest files etc

)
Posted: Tue Aug 16, 2005 10:02 pm
by nielsene
timvw wrote:I've always liked phpeclipse, but now that i've discovered
trustudio, a plugin for eclipse (there is a free version too) i think phpeclipse has still a far way to go
here is a screenshot:
http://timvw.madoka.be/images/items/eclipse.png
(Also notice the cute green line that is generated by the
simpletest plugin. That plugin works with phpeclipse too.. But i'm waiting for the next release of it which will contain a couple of fixes (by me) so you can define your own simpletest files etc

)
Hmm does trustudio correctly handle heredoc indenting issues? (Most editors I've used keep wanting to auto-indent the last line)
Posted: Wed Aug 17, 2005 11:29 am
by Deemo
trustudio looks great, however it doesnt have Eclipse 3.1 support

Posted: Wed Aug 17, 2005 1:00 pm
by timvw
@nielsene: I don't really understand what you are asking.. (A screenshot of an editor doing the "wrong" thing would be handy, so i can compare

)
@deemo: Read better

You have to use the maintenance builds..
Posted: Wed Aug 17, 2005 1:18 pm
by nielsene
Given something like
Code: Select all
if ($foo) {
$bar=<<<END_DOC
Would you like to play thermonuclear war?
How about a nice game of tic-tac-toe?
END_DOC;
$baz=1;
}
How does it auto-ident it? All editors I've tried (with the exception of Zend (which has other major indenting issues) render it as either
Code: Select all
if ($foo) {
$bar=<<<END_DOC
Would you like to play thermonuclear war?
How about a nice game of tic-tac-toe?
END_DOC;
$baz=1;
}
or
Code: Select all
if ($foo) {
$bar=<<<END_DOC
Would you like to play thermonuclear war?
How about a nice game of tic-tac-toe?
END_DOC;
$baz=1;
}
That is either they insist of identing successive lines of the Heredoc because they think its missing a semi-colon, OR the lose identing altogether.
Unfortunately the "editor" I use most (Emacs) does both.....
Posted: Wed Aug 17, 2005 1:39 pm
by Ambush Commander
I just plain don't like auto-indenting. If I'm at an indent of four, you give me an indent of four next line, and I can decide to get rid of it or keep it or go another indent.
Posted: Wed Aug 17, 2005 5:20 pm
by timvw
This is how it showed up when i copy pasted it (hitting the format button didn't change a thing)
Code: Select all
if ($foo) {
$bar=<<<END_DOC
Would you like to play thermonuclear war?
How about a nice game of tic-tac-toe?
END_DOC;
$baz=1;
}
This is what i manually typed: (Notice, after the END_DOC;[ENTER] i had to manually postion to the left, as it idented under $bar ..)
Code: Select all
if ($foo) {
$bar =<<<END_DOC;
this is blahblhlaal
mucha blalalala
END_DOC;
$bar = 1;
}
And this is how it looked like after i hit the format function:
Code: Select all
if ($foo) {
$bar = <<<END_DOC;
this is blahblhlaal
mucha blalalala
END_DOC;
$bar = 1;
}