xoops forums

McNaz

Just can't stay away
Posted on: 2006/7/19 11:01
McNaz
McNaz (Show more)
Just can't stay away
Posts: 574
Since: 2003/4/21
#31

Re: Which PHP editors are best?

Hi Frankblack.

Quote:
Maybe YOU know a solution for this? What I don't like about phpeclipse is the fact that phpeclipse adds additional line numbers when wrapping lines. This is a bit irritating to me.


I've got my "Warp words" (in Prefs -> PHP Eclipse -> PHP -> Typing (tab)) switched off (My brain can't handle word wrapped code :) ).

I did switch it on and noticed that code does get squeezed down the page but line numbers do not. Its probably a limitation in either of Eclipse or the PHPEclipse plugin :( (unless someone know different).

A few interesting links:

http://www.eclipsezone.com/eclipse/forums/t74384.html

frankblack

Just can't stay away
Posted on: 2006/7/19 11:14
frankblack
frankblack (Show more)
Just can't stay away
Posts: 830
Since: 2005/6/13
#32

Re: Which PHP editors are best?

Quote:
I've got my "Warp words" (in Prefs -> PHP Eclipse -> PHP -> Typing (tab)) switched off (My brain can't handle word wrapped code :) ).


LOL! And I don't have a 50-inch monitor to see the whole resp. I am too lazy to make every 80 chars a new line.

Thx for the link!

McNaz

Just can't stay away
Posted on: 2006/7/19 13:47
McNaz
McNaz (Show more)
Just can't stay away
Posts: 574
Since: 2003/4/21
#33

Re: Which PHP editors are best?

Quote:
50-inch monitor to see the whole resp.


Heh.. wish I had one of those too .... two is even better!

hervet

Friend of XOOPS
Posted on: 2006/7/20 17:57
hervet
hervet (Show more)
Friend of XOOPS
Posts: 2267
Since: 2003/11/4
#34

Re: Which PHP editors are best?

Hello,

Here is another link (about phpeclipse and my favorite Php extension, xdebug) :
http://blog.thinkphp.de/archives/99-Eclipse,-PHP-and-XDebug.html

I had some discussions with other devs who are using PhpEclipse or who plan to use it. Why don't we create, something, somewhere about PhpEclipse and XOOPS ?

Bye,
Hervé

McNaz

Just can't stay away
Posted on: 2006/7/20 21:30
McNaz
McNaz (Show more)
Just can't stay away
Posts: 574
Since: 2003/4/21
#35

Re: Which PHP editors are best?

Quote:
I had some discussions with other devs who are using PhpEclipse or who plan to use it. Why don't we create, something, somewhere about PhpEclipse and XOOPS ?


What a very good idea. This way we can exchange tips, tricks questions/answers etc... what do you suggest Hervet?

Cheers.

McNaz.

hervet

Friend of XOOPS
Posted on: 2006/7/21 5:15
hervet
hervet (Show more)
Friend of XOOPS
Posts: 2267
Since: 2003/11/4
#36

Re: Which PHP editors are best?

I don't know, a forum or a wiki or a dedicated wet site (http://phpeclipse.xoops.org) ?

McNaz

Just can't stay away
Posted on: 2006/7/21 7:02
McNaz
McNaz (Show more)
Just can't stay away
Posts: 574
Since: 2003/4/21
#37

Re: Which PHP editors are best?

Wiki does sound good but I wonder if a forum is more practical (and quicker/easier to setup).

To kick this off here is my first tip:

Smarty highlighting in PHPEclipse HTML editor.

PHPEclipse includes a Smarty editor that is by default linked to *.tpl files (the default smarty file extension). Xoops, however, uses the *.html file extension for its smarty templates. When these files are opened in PHPEclipse they are reported with errors.

To fix this:

1. Edit the eclipse\plugins\net.sourceforge.phpdt.smarty.ui_1.1.8\plugin.xml file and replace all references to the file extension tpl with html.

2. Shutdown PHPEclipse and restart it with eclipse.exe -clean.

Now you can right click on an html file and Open With -> Smarty Editor.

hervet

Friend of XOOPS
Posted on: 2006/7/25 5:39
hervet
hervet (Show more)
Friend of XOOPS
Posts: 2267
Since: 2003/11/4
#38

Re: Which PHP editors are best?

Hello McNaz,

Thank you for the tip, that's an excellent tip.
About my suggestion, a forum is nice to ask some questions but difficult to find the answers while something like an article module (news, smartsection of a wiki) can be a good place to centralized information no ?

bye,
Hervé

frankblack

Just can't stay away
Posted on: 2006/7/25 6:35
frankblack
frankblack (Show more)
Just can't stay away
Posts: 830
Since: 2005/6/13
#39

Re: Which PHP editors are best?

Thx from me too for this excellent tip! You seem to be a real insider so I guess you can solve this problem as well:

Eclipse freezes when opening files with about 1500 lines (or more) of code (I don't know where the limit is downwards). I already assigned 356 MB (should be enough?) to Eclipse

eclipse.exe -vmargs -Xmx356M


Does somebody know a workaround for this?

McNaz

Just can't stay away
Posted on: 2006/7/30 7:55
McNaz
McNaz (Show more)
Just can't stay away
Posts: 574
Since: 2003/4/21
#40

Re: Which PHP editors are best?

I just spotted this HTML extension for Eclipse that looks very promising: http://www.aptana.com/

Cheers.