Mario Orlandi - 2007-12-15

To successfully use code completion with PyDev Extensions in a Plone project, the simple trick was to add an empty file to the Products folder, in order to have your own products encapsulated in a "Products" namespace as required.
However, when using paster and buildout to manage a Plone project, the physical path to your sources is now called "products" instead of "Products", so an empty file alone is not enought.

Recent versions of Pydev Extensions (since 1.3.10) support symlinks, thus allowing again the definition of a suitable "Products" namespace without modifying the folders layout generated by buildout.

This works both on Linux and Windows; in the latter case, a command-line utility called Junction is available from sysinternals to create directory symbolic links on NTFS. Junction can be download at this address: