Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocomplete not working, vscode falls back to the default. #357

Open
kspalaiologos opened this issue Nov 13, 2023 · 2 comments
Open

Autocomplete not working, vscode falls back to the default. #357

kspalaiologos opened this issue Nov 13, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@kspalaiologos
Copy link

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.:

image
image

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
@kspalaiologos kspalaiologos added the bug Something isn't working label Nov 13, 2023
@mhuisi
Copy link
Collaborator

mhuisi commented Nov 16, 2023

Import auto-completion is leanprover/lean4#2655 and will likely be merged soon. For the other limitation, you may want to create a separate issue in the lean4 repo.

@mhuisi
Copy link
Collaborator

mhuisi commented Nov 28, 2023

The former part of this is done now and will be in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants