Wednesday, August 22, 2012

Using code templates in PyDev

In Aptana Studio (i think in Eclipse with PyDev it's the same) go to Window > Preferences > PyDev > Editor > Templates.

Now, in the code type a template name and press Ctrl + Space. You will see your template in a drop down list. Select with mouse or keyboard and you will have the whole template inserted:


No comments:

Post a Comment