NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Question about code completion on an FTP server


Joined: 09 May 2006
Posts: 17
Reply with quote
I have all my files residing on an FTP server and I've created a project that maps to that server. I need to code complete when I open up a file. What do I need to do? The only time code completion works if all the files on that server are open.

Thanks, and I'm considering buy PHPEd
View user's profileFind all posts by arataniSend private message
Veteran

Joined: 24 Jan 2006
Posts: 311
Reply with quote
Hi there - thank you for your post and the question. The problem here is with perfromance. Should IDE start scanning the remote server to complete the code I bet you'll see the serious slowdown and the sad part about it is that there will be no remedy for that, because you'll be at the mercy of your network connections, remote server performance etc. IDE will have nothing to do with that poor performance.
So we offer a few remedies for the problem:
1. As you noticed, if the remote file is opened, it is scanned for code completion
2. Our Smart Synch and Smart upload/download features make it very easy to create a local copy of your remote project - it is literaly one click of a button: click on the project, right mosue button pop-up -> Smart Synch _> Smart download or Smart upload or Smart Synch.

While having files localy will make the editiing order of magnitude easier, you will be able to debug your files still on your remote server - or as we call it natively, this is the beauty of Project mappings. you can learn more about it in dbg Forum FAQs and How To's

Hope it helps
View user's profileFind all posts by yfaktorSend private message


Joined: 09 May 2006
Posts: 17
Reply with quote
The problem is this. When I save the file I want it to go directly and upload it to the remote server. I don't want to click any buttons to take it to the server; just want it to go there instantly since we have always developed off that server. The remote server has no problems with slow connections and this is what I've always used with my current ide without performance problems.

I created a project but the Smart Upload button was disabled. Is there a way to create a Project, load the entire directory tree from an FTP server to that project (so I get code completion), and then be able to save as before i.e. I hit save and it uploads remotely.

Tahnks
View user's profileFind all posts by arataniSend private message


Joined: 09 May 2006
Posts: 17
Reply with quote
The reason I ask is that Zend allows for using a FTP site in a workspace and does code completion right off that then without having to open any files.
View user's profileFind all posts by arataniSend private message
Veteran

Joined: 24 Jan 2006
Posts: 311
Reply with quote
You can do the following:
- Create the project like you did, mapped to FTP server
- Smart download the entire file tree - Synch should be enabled once you set FTP account on the project properties
But work with remote files instead of local, just like you are used to. Go to Explorer and open the files from FTP account, you'll be editing the remote file, but the code completion will work because the mapped local files will be present - I double checked it right now, just in case. Saving the remote file triggers upload - you can also turn on Upload on close (Auto upload setting), if you would like to.

I understand why you are asking, these are fair resonable questions. But please also note - I don't think anybody comes close to our speed and the ability to configure the interface, as well as the debugger.

Thank you for your post!
View user's profileFind all posts by yfaktorSend private message


Joined: 09 May 2006
Posts: 17
Reply with quote
That worked perfectly! Just did what I needed.

Also, is there any way to create a new file on the ftp browser like in Dreamweaver or Zend?
View user's profileFind all posts by arataniSend private message
Veteran

Joined: 24 Jan 2006
Posts: 311
Reply with quote
Sure, just create new File in PhpED - button New or Ctrl+N and when you are saving it for the first time or doing Save As the explorer will have your FTP account on the tree - you can save the file there, onto the remote server
View user's profileFind all posts by yfaktorSend private message


Joined: 09 May 2006
Posts: 17
Reply with quote
But I can't really do it as Dreamweaver or Zend where I can right click and say New File. It has New Folder but no New File.

Is that something you juts forgot to add?
View user's profileFind all posts by arataniSend private message
Veteran

Joined: 24 Jan 2006
Posts: 311
Reply with quote
No, we didn't forget Smile - we just didn't get there yet, it wasn't the most important feature and didn't make the release yet . Lets post it to Feature suggestion Forum - we monitor that one just as actively as this one
View user's profileFind all posts by yfaktorSend private message
Question about code completion on an FTP server
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic