Zend Studio Eclipse setup instructions

Zend studio for Eclipse has a few different features that need to be installed in order to achieve a full range of functionality

Setup

How do I install Aptana?

  1. Click Help Menu > Software Updates > Find And Install
  2. Check Search For new features to install then click next
  3. Select New Remote Site
  4. Enter Aptana as the name, and http://update.aptana.com/install/3.2/ as the path, click ok
  5. Make Sure Aptana is checked on the list then click next
  6. Install all aptana features, this will require a restart
  7. After aptana starts, be sure not to install the PHP plugin for aptana
  8. This only needs to be done once.

Open in Windows Explorer

  1. Click Help Menu > Software Updates > Find And Install
  2. Check Search For new features to install then click next
  3. Select New Remote Site
  4. Enter a name, and http://www.junginger.biz/eclipse/ as the path, click ok
  5. Check the ExploreFS plugin and continue to install

Common Problems

How do I get code completion for HTML/CSS/Javascript

  1. Install Aptana(see below for instructions on how to do this)

When I open a .html file it doesn't give me the aptana features

  1. Right click file>Open With> Aptana HTML Editor
  2. At this time I am unsure how to make this the default option

How do I get the WYSIWYG Editor for html?

  1. Right click file > open with > PHP/HTML WYSIWYG Editor

when I open a .php file full of html, it doesn't give me the aptana features

  1. click Window Menu > Preferences…
  2. Click on Content Types under General Section
  3. Add *.php to both HTML and HTML Source File types
  4. Click on File Association under General> Editors
  5. Find *.php, if not there, add it
  6. Select Aptana HTML Editor as default
  7. Then select PHP Editor as default
  8. Steps A-G only needed to be done once.
  9. You can now Right click a file> open with >Aptana HTML editor

How do I create a project?

  1. Install Aptana(see 2 for instructions on how to do this)
  2. Make sure you can see projects( see 7 for instructions on this)
  3. Right click on project window, select New > PHP Project
  4. Make sure the project contents folder is located at G:\Websites\
  5. Select a name, and simply click Finish.
  6. You will be asked if you want the project in G:\Websites\ or in G:\Webstes\ select the second one.
  7. Make sure all files are in a directory under the project

How do I see projects?

  1. Under PHP View, remove the PHP Explorer window at top left
  2. Click Window Menu > Show View > Other
  3. Under Aptana Standard Views > Click Project

How do I import an existing zend project

  1. Install Aptana(see above for instructions on how to do this)
  2. Make sure you can see projects( see above for instructions on this)
  3. Right click the project window, select Import
  4. Under General > Click Existing Projects into Workspace
  5. Click “Select Root Directory” then browse, open the G:\Webstes\ folder
  6. All projects should be listed, click on one(or all, but this will take a very long time for larger projects) of the projects you want then click finish

How do I synchronize a project to FTP?

  1. Install Aptana(see above for instructions on how to do this)
  2. Make sure you can see projects( see above for instructions on this)
  3. Go to Window → Show View → Other, and in there select Aptana Standard Views → Sync Manager
  4. Click the Add Site Connection Icon ().
  5. In the new window I select PROJECT as the type, and then in Project select the folder with the source code folder (you want to keep it in a subfolder in your project because if not you will upload some ZSE files to your webroot, its useless).
  6. Create a new FTP site that you want to sync to, and make sure the remote path points to your webroot. Test it, and hit OK.
  7. I don't recommend the both directions sync, either download or upload… same with dreamweaver, it's a good practice to download everything, make changes, then upload back up… it will only download the files that change
  8. You can also upload a single file by right clicking on it in project view and selecting synchronize > upload or download
  9. http://www.zend.com/forums/index.php?t=msg&goto=15813&S=432ee9801e3e7304537a14f7770fc93b see (after step 7) for how to create a shortcut key to auto upload the file your on