Skip to content
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

Code completion items appear twice when pressing ctrl+space #779

Closed
ghost opened this issue Nov 2, 2021 · 0 comments
Closed

Code completion items appear twice when pressing ctrl+space #779

ghost opened this issue Nov 2, 2021 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@ghost
Copy link

ghost commented Nov 2, 2021

Describe the bug
Code completion items appear twice when pressing ctrl+space

To Reproduce

  1. Write a table with some functions / fields.
  2. Access the code completion for the members of the table by typing the table name and a dot.
    br-dup-1
  3. Press escape or click at another position with the mouse so that the code completion window disappears.
  4. Go back to the position after the dot and press ctrl+space. In the code completion window, all items appear twice. By typing a key, the duplicated items disappear.
    br-dup-2

Expected behavior
All code completion items are only shown once.

Environment:

  • OS: Windows 10
  • Client: VSCode 1.61.2 with Lua extension 2.4.7
@sumneko sumneko added the bug Something isn't working label Nov 3, 2021
@sumneko sumneko added this to the 2.5.0 milestone Nov 3, 2021
@sumneko sumneko closed this as completed in 970a8fa Nov 9, 2021
sumneko added a commit that referenced this issue Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant