![]() |
| Discrete Classes |
|
In your project properties, in the Properties tab, at the very bottom, there is an entry for "Code insight includes". Add the folder that holds your classes in there and if I am not mistaken that should do it for you.
|
||||||||||||
|
|
|||||||||||||
|
Ahhh, Thanks I see it now...
I mostly work directly off ftp and this doesnt allow ftp sites to be added. If there were a way to sa "Download necessary files" or something like that it would be great. I guess I'll have to keep a repository of the classes on my local drive then. Not my optimal solution as the classes change a lot. Ont other thing I need to know, when working on ftp, is there a way to make the program always keep a local copy as well? I sometimes have colleagues overwrite my stuff cause they dotn download first and it is really frustrating. A local copy would be great. |
||||||||||||
|
|
|||||||||||||
|
I have the same issue. PhpEd has the capability of publishing, but sometimes that doesnt fit the bill. Here is how I handle it. There are 2 scenarios that I have and I have solutions for both that work quite well for me.
Scenario 1: Develop and debug on workstation using the built in web server. I copy all the files that I use onto my workstation, including the extras in separate directories, and debug them locally on my workstation. Since PhpEd has a link to edit the local php.ini, I can configure certain options I need, like prepend_file (which I use a lot) and it works for that. When I am completed with my work, I publish the files back onto their respective server. That is good enough for simple projects, but for more complex projects, like ones that need to run CLI apps, they have to run on the server to develop and debug. Scenario 2 works. Scenario 2: I downloaded and installed a shareware app called WinSCP. I use that to make a copy of all my files from the server to my workstation. Then, there is a function in there that says "Keep Remote Directory Up To Date". When you start that, it will do an initial synchronization between the directory on your workstation and the corresponding directory on the server. Then in the background it keeps an eye on any changes made on your workstation in the directory (recursive directories as well) and as soon as any changes are made on your workstation, that file is immediately copied over to the server and synchronization is kept up to date. Then I configure PhpEd project to debug using a 3rd party server. Btw, you can have multiple instances of WinSCP running to keep multiple directories in synch. By doing that I am able to develop and debug seamlessly without having to stop, ftp files over, then launch etc. Once your done, you stop WinSCP and you have a complete copy of your project on the server. I hope that works for you as well as it does for me. |
||||||||||||
|
|
|||||||||||||
| Discrete Classes |
|
||
|
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by


RSS2 Feed