Skip to content

Snippet suggestions appearing in empty line #416

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
8bitskull opened this issue Feb 23, 2021 · 2 comments
Closed

Snippet suggestions appearing in empty line #416

8bitskull opened this issue Feb 23, 2021 · 2 comments

Comments

@8bitskull
Copy link

Thanks for a very useful extension.

Describe the bug
Introduced in 1.16.0, when pressing Enter to add new lines (and then waiting a fraction of a second), a snippet is suggested and confirmed. Not sure if this is a bug or if it is a setting that can be changed.

To Reproduce
Steps to reproduce the behavior:

  1. Make sure version 1.16.0 later is used.
  2. Make sure Lua snippets are available, e.g. through use of selimanac.defold-vsc-snippets
  3. Press Enter
  4. Wait a fraction of a second
  5. Press Enter again

Expected behavior
I would not expect suggestions on an empty line, so should just add a new line when Enter is pressed.

Screenshots
https://user-images.githubusercontent.com/24439991/108872186-d3728d00-75f1-11eb-9999-293a9cc5e40e.mp4

Environment

  • OS: Windows 10
  • selimanac.defold-vsc-snippets (or other Lua snippets)
@sumneko
Copy link
Collaborator

sumneko commented Feb 23, 2021

see #401

@8bitskull
Copy link
Author

Ah! Assuming this will be fixed in the next VSCode release then. Thanks for the quick reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants