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

Global symbols are only shown at the beginning of a file (via CTRL+Space) #539

Closed
Namenloser-Held opened this issue May 17, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@Namenloser-Held
Copy link

Describe the bug
Within a file, the auto-completion with ctrl+space does not show global symbols, although they are shown at the beginning of a file.

To Reproduce
Steps to reproduce the behavior:

  1. Open a new Lua file.
  2. Press ctrl+space. Available global symbols are shown.
  3. Press space.
  4. Press ctrl+space. No items are shown in the auto-completion.
    Alternatively:
  5. Enter, e. g., a simple table.
  6. Press enter to create a new line.
  7. Press ctrl+space. Only the text of the table name is shown.

Expected behavior
The auto-completion shows available global symbols as at the beginning of the file.

Screenshots
autocompletion_screenrecording

Environment (please complete the following information):

  • OS: Windows 10
  • Client: VSCode
  • VSCode version: 1.56.2
  • Extension version: 1.21.1
@sumneko sumneko added the bug Something isn't working label May 17, 2021
sumneko added a commit that referenced this issue Jun 24, 2021
sumneko added a commit that referenced this issue Jun 24, 2021
This reverts commit ba02896.
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

2 participants