leanprover / leanprover/lean4

section appears as namespace in breadcrumb

Open
#2,001 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Prerequisites
  • Put an X between the brackets on this line if you have done all of the following:
    • Checked that your issue isn't already filed.
    • Reduced the issue to a self-contained, reproducible test case.
Description

In VSCode, the breadcrumb tooltip calls sections namespaces.

tooltip

Steps to Reproduce

In an empty file, put

section Foo

end Foo

and put the cursor on the second line and the mouse over the Foo word in the top breadcrumb in VSCode.

Expected behavior: [What you expect to happen]

Get a tooltip saying Foo (section).

Actual behavior: [What actually happens]

Get a tooltip saying Foo (namespace).

Reproduces how often: [What percentage of the time does it reproduce?]

Always

Versions

You can get this information from copy and pasting the output of lean --version,
please include the OS and what version of the OS you're running.

Lean (version 4.0.0-nightly-2022-12-23, commit 0553b5936e46, Release) on Linux. VSCode 1.73.1 with extension v0.0.99.

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 issue in VSCode with the supplied section Foo snippet and inspect the breadcrumb tooltip in extension v0.0.99. Confirm that the tooltip identifies Foo as a section rather than a namespace; the issue does not name an implementation file or test to run.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.