leanprover / leanprover/lean4

No docstring is show on `·` terms

Open
#5,737 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug P-low
Dominant language
Lean
Stars
9.2k
Forks
990
Avg merge
1d 17h
Merged PRs (30d)
175

Description

Prerequisites

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

Description

VScode does not display any useful hovers for the ·s in (· + ·)

Steps to Reproduce

Paste example : Nat → Nat → Nat := (· + ·) into the editor

Expected behavior: Hovering over the dots should show

https://github.com/leanprover/lean4/blob/79583d63f3231f0b5c84922292908d7405309486/src/Lean/Parser/Term.lean#L221-L226

Actual behavior: Hovering shows only Nat

Versions

4.12.0-nightly-2024-10-16

Impact

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the example in VSCode and compare the hover on each · with the expected information linked from src/Lean/Parser/Term.lean lines 221–226. Trace the editor hover behavior from this minimal case; done means both placeholder terms show useful hover information instead of only Nat.

Written by the indexing model from the issue text.

Assessment

Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.