Zulip Chat Archive

Stream: lean4

Topic: autocomplete module names with `lake build`


Matthew Ballard (Feb 02 2024 at 21:40):

Is there any way that I can easily get lake build Mathlib.Ri… to auto-complete?

Julian Berman (Feb 02 2024 at 22:18):

I wrote a simple version for zsh here: https://github.com/Julian/dotfiles/blob/main/.config/zsh/completions/_lake

Julian Berman (Feb 02 2024 at 22:18):

There's an earlier thread where it was briefly discussed, obviously I haven't made that anything more than a POC otherwise I'd upstream it assuming the maintainers are amenable, but it should work for that specific case.

Mario Carneiro (Feb 02 2024 at 23:55):

This relates to lean4#2756 , since using file name syntax would allow the shell's native autocompletion to work

Matthew Ballard (Feb 02 2024 at 23:55):

I would prefer that yes


Last updated: May 02 2025 at 03:31 UTC