Question about code completion on an FTP server |
Veteran
|
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 |
||||||||||||
|
|
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 |
||||||||||||
|
|
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.
|
||||||||||||
|
Veteran
|
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! |
||||||||||||
|
|
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? |
||||||||||||
|
Veteran
|
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
|
||||||||||||
|
|
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? |
||||||||||||
|
Veteran
|
No, we didn't forget - 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
|
||||||||||||
|
Question about code completion on an FTP server |
|
||
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