Attention

This document was written for an old version of Plone, Plone 3, and was last updated 1204 days ago.

To learn how to upgrade to the current version of Plone, read the upgrade manual.

PyDev perspective and Project explorer

by Mikko Ohtamaa last modified Feb 04, 2009 03:08 AM
How to navigate in your Eclipse project

.. image:: /documentation/tutorial/developing-plone-with-eclipse/snapshot3.png
:width: 427
:height: 530
:target: /documentation/tutorial/developing-plone-with-eclipse/snapshot3.png

*PyDev explorer with few open projects*


Eclipse divides it's IDE to separate full-screen perspectives which are collections of views (editors, console views). Normally you do development in PyDev perspective.

Refresh
-------

When you change files outside Eclipse, by buildout or other editors, you need refresh the changed files in Eclipse. it F5 in the project explorer or choose right click menu -> *Refresh* to make Eclipse aware of the changes. Otherwise Eclipse gives you *Resource out of sync* error messages when trying to perform operations on files needing refresh.

Pydev perspective and Python Package Explorer
---------------------------------------------

PyDev Package Explorer displays your Python modules as class hiearchy if PYTHONPATHs for the project has been set up. If you want to see raw file system view, choose *Show view -> Other -> General -> Resource explorer*.

Automatic file hiding
---------------------

PyDev automatically hides .pyc and .pyo files, so they don't clutter your workspace. Running Python will regenerate these files and Eclipse project folders can get out of sync, so after running Python and performing folder level operations, make sure that you refresh the project first.


Contribute

Something wrong or out of date? Anybody can edit or create a new article in the knowledge base. Simply create an account on this site, log in, and click the Edit button to contribute.