Skip to content

No dot completion for identifiers in most cases #8353

Open
@Rob23oba

Description

@Rob23oba

Prerequisites

Please put an X between the brackets as you perform the following steps:

Description

In most cases, dot autocompletion for identifiers outside of terms does not work (i.e. completion after foo.).

Steps to Reproduce

  1. Type #print Bool.

Expected behavior: At this point, possible completions like Bool.and should be shown.

Actual behavior: Autocompletion interrupts, leaving only a parser error.

Versions

Lean 4.21.0-nightly-2025-05-15

Impact

Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P-mediumWe may work on this issue if we find the timebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions