21
kaotik
Re: Which PHP editors are best?
  • 2006/7/13 17:15

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Thanks. I got it working with php and it does look very good. How do I turn on line numbers by default? I've seen how to turn it on file by file but I would prefer to have it on by default. Thanks.

22
wtravel
Re: Which PHP editors are best?

Look in the preferences:

PHPeclipse Web Development -> PHP

You will find most settings there for phpEclipse, including line numbers .

23
kaotik
Re: Which PHP editors are best?
  • 2006/7/13 17:35

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Thanks!!

24
kaotik
Re: Which PHP editors are best?
  • 2006/7/15 15:24

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Does eclipse allow me to update a remote site using ftp? I've tried searching for a module...
Thanks

25
hervet
Re: Which PHP editors are best?
  • 2006/7/17 10:13

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Hello,

Quote:

kaotik wrote:
Does eclipse allow me to update a remote site using ftp? I've tried searching for a module...
Thanks

Yes it can, may I can suggest you easyeclipse, it comes with many good plugins :
http://www.easyeclipse.org/site/home/

bye,
Hervé

26
McNaz
Re: Which PHP editors are best?
  • 2006/7/17 10:26

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


Quote:
Does eclipse allow me to update a remote site using ftp? I've tried searching for a module...
Thanks


You can use Eclipse's built in support for ANT and write an ANT script to deploy your site.

In the long run ANT is very helpful as it can do almost anything (I use it to cleanup, package and compress my XOOPS modules before publishing for example).

Quote:

Excellent link Hervet. Thank you.

27
kaotik
Re: Which PHP editors are best?
  • 2006/7/18 15:50

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Quote:
Yes it can, may I can suggest you easyeclipse, it comes with many good plugins :

Thanks Herve! That's an excelent version!

Quote:
You can use Eclipse's built in support for ANT and write an ANT script to deploy your site.

Thanks for the suggestion McNaz, I've been tring to find where to setup ANT in eclipse and can't seem to find it. Is there any help file (i've also tried searching eclipse help for ANT but it came up empty) or tutorial to help guide me?

I'm really starting to like eclipse

28
McNaz
Re: Which PHP editors are best?
  • 2006/7/18 18:44

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


The ANT api manual can be found here and is a good place for reference.

Best way to appreciate the ANT is by an example.

To create an ANT file just create a build.xml file (any xml file will do) in Eclipse, load it into the editor then press Alt + SHIFT + X then press Q to run the currently loaded ANT script in eclipse.

Here is one I made earlier

xml version="1.0" encoding="UTF-8"?>



          vpproject/**, **/*.psd, .cdtproject, .project,
      **/*.bak, class/svn/cache/*, exports/**, help/**, **/*.zpj,
      class/gateways/*.txt, class/gateways/IPG.php"/>
    

    
      
      
        
        
        
        
        
      
      
      
        
        
        
        
        
             
       
       
    
    
      
        
        
        
      
  
      
        
        
        
      
      
      


The same logic can then be expanded to distribute files via FTP etc... There are almost no limits.*/

29
McNaz
Re: Which PHP editors are best?
  • 2006/7/19 8:56

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21



30
frankblack
Re: Which PHP editors are best?
  • 2006/7/19 9:00

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


Nice article. But I wish that FTP/WebDav-plugin would be working without problems (had recently some and I couldn't track down the error), because this plugin is fairly easy to use and setup is made with a few clicks.

But anyway: Eclipse rocks!!

@McNaz: 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.

Login

Who's Online

362 user(s) are online (295 user(s) are browsing Support Forums)


Members: 0


Guests: 362


more...

Donat-O-Meter

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

Latest GitHub Commits