Autocomplete not working, vscode falls back to the default.
Open
Nobody has claimed this yet.
bug
P-medium
- Dominant language
- Lean
- Stars
- 9.2k
- Forks
- 990
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 175
Description
Description
I would have expected lean4 vscode extension to let me autocomplete existing theorem names and imports, but this is not the case - vscode falls back to its default word-level autocomplete. See e.g.:
Other parts of the extension work, like the error squiggles, syntax highlighting and the right pane.
Versions
vscode-lean: v0.0.118.
% lean --version
Lean (version 4.2.0-rc4, commit 819b5eaceaa4, Release)
% uname -a
Linux laplace 6.5.0-4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1 (2023-11-03) x86_64 GNU/Linux
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in VS Code using vscode-lean v0.0.118 and Lean 4.2.0-rc4 on Linux, starting with theorem-name and import completion. Done means the extension provides relevant Lean completions instead of VS Code's default word-level suggestions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100