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

Disable autocompletion in unclosed docstring #748

Closed
DonJayamanne opened this issue Mar 13, 2019 · 2 comments
Closed

Disable autocompletion in unclosed docstring #748

DonJayamanne opened this issue Mar 13, 2019 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@DonJayamanne
Copy link

@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.

@DonJayamanne
Copy link
Author

I can replicate this on the latest version of LS (0.2.17)

@jakebailey
Copy link
Member

This is #739.

@jakebailey jakebailey added the duplicate This issue or pull request already exists label Mar 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants