31
McNaz
Re: Which PHP editors are best?
  • 2006/7/19 11:01

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


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

32
frankblack
Re: Which PHP editors are best?
  • 2006/7/19 11:14

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


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!

33
McNaz
Re: Which PHP editors are best?
  • 2006/7/19 13:47

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


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


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

34
hervet
Re: Which PHP editors are best?
  • 2006/7/20 17:57

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


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é

35
McNaz
Re: Which PHP editors are best?
  • 2006/7/20 21:30

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


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.

36
hervet
Re: Which PHP editors are best?
  • 2006/7/21 5:15

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


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

37
McNaz
Re: Which PHP editors are best?
  • 2006/7/21 7:02

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


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.

38
hervet
Re: Which PHP editors are best?
  • 2006/7/25 5:39

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


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é

39
frankblack
Re: Which PHP editors are best?
  • 2006/7/25 6:35

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


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?

40
McNaz
Re: Which PHP editors are best?
  • 2006/7/30 7:55

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


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

Cheers.

Login

Who's Online

169 user(s) are online (101 user(s) are browsing Support Forums)


Members: 0


Guests: 169


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits