Table of Contents
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?
- Click Help Menu > Software Updates > Find And Install
- Check Search For new features to install then click next
- Select New Remote Site
- Enter Aptana as the name, and http://update.aptana.com/install/3.2/ as the path, click ok
- Make Sure Aptana is checked on the list then click next
- Install all aptana features, this will require a restart
- After aptana starts, be sure not to install the PHP plugin for aptana
- This only needs to be done once.
Open in Windows Explorer
- Click Help Menu > Software Updates > Find And Install
- Check Search For new features to install then click next
- Select New Remote Site
- Enter a name, and http://www.junginger.biz/eclipse/ as the path, click ok
- Check the ExploreFS plugin and continue to install
Common Problems
How do I get code completion for HTML/CSS/Javascript
- 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
- Right click file>Open With> Aptana HTML Editor
- At this time I am unsure how to make this the default option
How do I get the WYSIWYG Editor for html?
- 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
- click Window Menu > Preferences…
- Click on Content Types under General Section
- Add *.php to both HTML and HTML Source File types
- Click on File Association under General> Editors
- Find *.php, if not there, add it
- Select Aptana HTML Editor as default
- Then select PHP Editor as default
- Steps A-G only needed to be done once.
- You can now Right click a file> open with >Aptana HTML editor
How do I create a project?
- Install Aptana(see 2 for instructions on how to do this)
- Make sure you can see projects( see 7 for instructions on this)
- Right click on project window, select New > PHP Project
- Make sure the project contents folder is located at G:\Websites\
- Select a name, and simply click Finish.
- You will be asked if you want the project in G:\Websites\ or in G:\Webstes\ select the second one.
- Make sure all files are in a directory under the project
How do I see projects?
- Under PHP View, remove the PHP Explorer window at top left
- Click Window Menu > Show View > Other
- Under Aptana Standard Views > Click Project
How do I import an existing zend project
- Install Aptana(see above for instructions on how to do this)
- Make sure you can see projects( see above for instructions on this)
- Right click the project window, select Import
- Under General > Click Existing Projects into Workspace
- Click “Select Root Directory” then browse, open the G:\Webstes\ folder
- 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?
- Install Aptana(see above for instructions on how to do this)
- Make sure you can see projects( see above for instructions on this)
- Go to Window → Show View → Other, and in there select Aptana Standard Views → Sync Manager
- 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).
- 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.
- 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
- You can also upload a single file by right clicking on it in project view and selecting synchronize > upload or download
- 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
