Autocomplete in editors? #1089
Replies: 1 comment 3 replies
-
I don't know how to get the same results. I see there's some mention of asynchronous completion in the Conjure README. I think there's a discord server for Conjure. May be someone there can shed light on whether Janet support might be practical. FWIW, the built-in janet repl also shows documentation via Ctrl-G, e,g. assume a repl is in the following state:
At that point if I enter Ctrl-G, I see the following output:
I don't know what people do typically for Neovim / Vim, but in Emacs I tend to complete on the content of applicable buffers using May be there's a feature like that in other editors too. I think someone was working on an LSP server for Janet. I believe typical LSP approaches are not likely to give as many idenitifers as the built-in janet repl's approach because they tend to use static analysis of code and that's not likely to surface all relevant identifiers. That doesn't mean such an approach doesn't provide value though. |
Beta Was this translation helpful? Give feedback.
-
I noticed that in a REPL, Janet supports autocomplete. (the one on janet.guide even shows documentation!)
I was wondering if it's possible to get the same when working in an editor, like Emacs, Neovim or VSCode.
Maybe I'm just not too used to REPL-driven development yet? Although I do use Conjure or the VSCode plugin to send code to a running program sometimes.
Beta Was this translation helpful? Give feedback.
All reactions