docstring stubs

Docstring stub can be handy, but the way they're working right now is frusturating.  I'll open a docstring, and I'll get a few words in, but I guess one of the triggers for stub generation is the space key, so I end up with a stub in the middle of a sentence.  It ends up looking like ths:

    @classmethod

    def fromID(cls, id):

        """Look up

        :param cls: a model by

        :param id:

        :return:

        """

Can the stub not interrupt me in the middle of the line?

Or can I make the space key not be a trigger for this?  I can't find it in the keymap or configuration.

1 comment
Comment actions Permalink

Hello Kevin,

This is a bug. We'll fix it in the forthcoming update.

Docstring stub can be handy, but the way they're working right now is

frusturating.  I'll open a docstring, and I'll get a few words in, but

I guess one of the triggers for stub generation is the space key, so I

end up with a stub in the middle of a sentence.  It ends up looking

like ths:

@classmethod

def fromID(cls, id):

"""Look up

:param cls: a model by

:param id:

:return:

"""

Can the stub not interrupt me in the middle of the line?

Or can I make the space key not be a trigger for this?  I can't find

it in the keymap or configuration.

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

Please sign in to leave a comment.