Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Disable autocompletion in unclosed docstring #748

Closed
@DonJayamanne

Description

@DonJayamanne

@iansan5653 commented on Thu Feb 21 2019

When writing a docstring for a function, lines often end with a period. This can be very frustrating to write in VSCode, because when you type a period and press enter, it tries to autocomplete instead of putting a new line in, as if you are writing code and not text.

Note that this only occurs when the string is open -- not when there are closing quotes.

Here's an example:
image

The best solution would be to disable autocomplete or Intellisense entirely when typing within a string, even if that string has not yet been closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions