Skip to content

Code completion does not show globals on ctrl+space #937

@ghost

Description

Describe the bug
If ctrl+space is pressed in an empty line, the code completion only shows text suggestions, but no globals.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new Lua file and (optionally) define some globals.
  2. Press ctrl+space in an empty line. The code completion only shows text suggestions, but no globals.

br-no-cc

Expected behavior
The code completion shows globals, e. g., ATable or string.

Environment (please complete the following information):

  • OS: Windows 10
  • Client: VSCode 1.63.2 with LS 2.6.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions