It is possible to modify the header comment of a file in Pydev

Asked

Viewed 32 times

0

I’ve been experimenting with several Ides for Python, for example PyCharm or the same IDLE. Now I’m trying to use the PyDev as plug-in for Eclipse, and I like it. I wonder if it is possible to change or modify the comment of the default header.

For example, if I create a class, it gives it:

'''
Created on Dec 8, 2014

@author: nbro
'''

class MyClass(object):
    '''
    classdocs
    '''

    def __init__(self, params):
        '''
        Constructor
        '''

I would like to change the initial comment so that it is always reflected in my projects.

1 answer

0


Go on Window click on Preferences > Pydev > Publisher. Look for (Code) Templates and change the values listed in Comments.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.