Replies: 6 comments 24 replies
-
Emacs's inferior-Lisp mode works fine for Hy. I added some basic support for Org Babel in Daylight. I don't think anybody has been serious about maintaining editor support, and it's not a topic that interests me. |
Beta Was this translation helpful? Give feedback.
-
I like to use it with Geany with the Lisp document type. |
Beta Was this translation helpful? Give feedback.
-
It would have made sense to mention hylang/hy-mode for Emacs and hylang/vim-hy for vim, considering they're "first party" editor plugins hosted under the hylang GitHub organization. Is there any interest in a hylang/vscode-hy ? And who would be the decision-maker for such a thing? If there is interest, I wouldn't mind contributing substantially to it. I already have a simple "Evaluate selected form in REPL" integration patched into my local VS Code and that alone is already a huge ergonomic improvement. I would take significant inspiration from BetterThanTomorrow/calva for Clojure and Janet's janet-lang/vscode-janet. |
Beta Was this translation helpful? Give feedback.
-
I have been using Neovim with the vim-hy plugin, and |
Beta Was this translation helpful? Give feedback.
-
I'm using Emacs, as I'd expect the majority of lispers do. But the tooling is a big hole for adopting Hy. And the lisp interactive repl tooling/workflow IMO is the main reason to even consider Hy. In order to get completion working (which I think is a must-have), you need to have jedhy installed and working. You have to already be down a path to getting hy-mode installed, and then realize you need a 4-year-old Jedhy python package that states clearly:
So then you go track down that Hy release and discover that going back to Python v3.8 isn't far enough back. That's where I gave up and can't justify spending more time just to try out Hy in Emacs to see if it's even got a feasible workflow. Even if jedhy were working, we'd want it to not rely on company since there are newer/simpler completion frameworks now. So this request is to somehow ensure that Emacs (and maybe other editor) tooling is somewhat up-to-date, even if that means the hylang org does the dev/maintenance. Clojure has become a huge success in large part due to the existence of CIDER. Hy doesn't need something similarly amazing, but it does need some basics like completion to work. |
Beta Was this translation helpful? Give feedback.
-
I just pushed v0.0.3 of vscode-hy, which adds ParEdit-style structural editing commands and on-type auto-formatting (which mostly means auto-indentation and whitespace management). v0.0.1 added REPL integration and v0.0.2 was an overhaul of the syntax highlighting. Testers and contributors welcome. |
Beta Was this translation helpful? Give feedback.
-
What editors are people using with Hy? How's the editor support story?
I mostly use VS Code, and I notice the top downloaded Hy extension in the store is pretty bare bones—pretty much just syntax highlighting and that's it.
It's common for Lisps in particular to offer REPL integration via editor plugins, so I'm curious whether that exists for Hy and in what editor.
Beta Was this translation helpful? Give feedback.
All reactions