Skip to content

Suggestion: Change . to .. #12

Closed
@BalduinLandolt

Description

@BalduinLandolt

I'm really fond of this extension, by far the nicest python snippet pack I'm aware of.

However, there is one issue for me:
When I write docstrings, I often end a sentence with a period, and start a new line afterwards. This means, that I hit . and then enter a lot.
With the snippets enabled, this results in intellisense suggesting self on typing . and me accepting it with enter. I end up with lots of code like this:

def some_function():
    """Some functionself

    This function does somethingself
    """
    pass

Clearly, this is not exactly desirable. And I somehow can't imagine myself being the only one with this issue.

Would it be an option, to rename the self-snippet from . to ... It wouldn't be much more typing effort to get self, and it would prevent this problem from happening.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions