Zulip Chat Archive
Stream: lean4
Topic: Intellij Plugin?
Matt Yan (Feb 05 2022 at 11:38):
is there Intellij support?
Henrik Böving (Feb 05 2022 at 11:47):
Not at the moment...I also dont think there ever will be, for programming and proving in Lean you will definitely want to use the goal window etc. so it would most likely be a very non trivial intellij extension to make and right now most people are happy with just the vscode plugin and the emacs one and the community is quite small as well right now.
Patrick Stevens (Feb 05 2022 at 12:56):
Though if you're wedded to JetBrains and are interested in this kind of thing, you could give their Arend a try (it's HoTT-based, and completely unrelated to Lean).
Matt Yan (Feb 05 2022 at 14:01):
LEAN looks too good to be given up, I'll maybe just use intellij key bindings in vs code :stuck_out_tongue_closed_eyes:
Reid Barton (Feb 05 2022 at 14:11):
(BTW, the correct spelling is just "Lean".)
Arthur Paulino (Feb 05 2022 at 14:14):
I wonder if it's possible to make a plugin for Atom though. Lot's of people like Atom
Henrik Böving (Feb 05 2022 at 14:19):
I mean it's definitely possible to make plugins for Atom Intellij etc., its just that nobody has done it yet. And since most people are simply happy with the extensions there are and Lean 4's user base will (at least for a while) mostly consist of mathematicians who (mostly) dont care about editors anyways nobody has done it yet.
Arthur Paulino (Feb 05 2022 at 14:27):
It's true, but Lean 4 has potential to attract developers of all sorts (who like functional programming :smiley: )
Joachim Breitner (Feb 05 2022 at 14:36):
mostly consist of mathematicians who (mostly) dont care about editors
unless they are editors of their favorite journal, of course ;-)
Alex J. Best (Feb 05 2022 at 15:14):
Its also much harder to get a good lean plugin than for most languages of course, you need something that not just does syntax highlighting and jump to definition etc but rendering widgets in the goal state and all this other fanciness for the full user experience. Given that lean 3 wasn't based on LSP this was an even bigger barrier to people adding other extensions, with lean 4 this may indeed be easier than lean 3 for that reason.
Arthur Paulino (Feb 05 2022 at 15:17):
Yeah it requires an great amount of work
Julian Berman (Feb 05 2022 at 15:46):
FWIW there is already a fourth editor working on Lean support, I think by.. @Anders Christiansen Sørby
Julian Berman (Feb 05 2022 at 15:47):
It's helix: https://github.com/helix-editor/helix
Julian Berman (Feb 05 2022 at 15:47):
But still not something in the "Enterprise My Editor" space :P
Anders Christiansen Sørby (Feb 05 2022 at 16:22):
Yep, thanks to the tree-sitter-lean a lot of editors can do syntax highlights
Last updated: Dec 20 2023 at 11:08 UTC