Skip to content

Variable name completion error after manual interruption and re-triggering #5

@VSteveHL

Description

@VSteveHL

Environment:

  • OS: Debian 12 (64-bit)
  • VS Code: Version 1.100.2
  • Extension: Magic Scheme, version 0.0.5

Bug Description:

During the auto-completion of a variable, if the VSCode variable completion process is manually interrupted (using the Esc key), and then the auto-completion feature is invoked again (using the Ctrl+Space shortcut), the variable name completion will be incorrect.

Image

Steps to Reproduce:

You can use the following code snippet to reproduce this issue:

(let ((qwe-asd-zxc 1) (foo_bar 2))
  (when qwe-asd-zxc))
  1. Create a new file with the extension .sls.
  2. Enter the code snippet above.
  3. When typing the variable after when, manually interrupt the auto-completion process.
  4. Then, use the shortcut keys to re-trigger code completion. This should trigger the bug.

Expected Behavior:

The variable name should be completed correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions