editors

Discussion about all editors used for Clojure/ClojureScript
snoe 2019-04-05T00:30:55.017100Z

It can be used in addition to clojure-mode and cider, the repl is still very useful for writing code but LSP seems a bit nicer for navigating than cider or cider-refactor. In our project not all code gets loaded into the repl, so things like find usages from cider refactor tend to miss things. ClojureScript works as well as clojurr and cljc works about 95% of the time in my experience.

elamje 2019-04-05T04:18:21.018400Z

hi, today I’m working on some html generation with hiccup in emacs(cider), and I was wondering if anyone knows how to get hiccup autocompletions going in emacs?

elamje 2019-04-05T20:16:04.022500Z

I am getting kw completions, It’s just wrt hiccup

elamje 2019-04-05T20:17:23.022700Z

Thanks for the link, it looks like I maybe need to look into the custom sources functionality

elamje 2019-04-05T04:19:43.020200Z

I type things like :meta and I would think by the time I type :m it would be able to pick up :meta, but it doesn’t. Any resources would be helpful, I’m an emacs noob

seancorfield 2019-04-05T04:39:12.021100Z

@j3elam Maybe ask in #cider or #emacs ? I think there are a variety of ways to get auto-complete in Emacs. It's been years since I last used it tho'...

1👍
vemv 2019-04-05T04:49:02.021200Z

at the very least you should be getting generic (non-hiccup-specific) kw completions, are you? CIDER uses https://github.com/alexander-yakushev/compliment , if you wish a hiccup-specific behavior, it's certainly doable

romain 2019-04-05T06:14:30.021500Z

I should give it a try, thanks 🙂

pez 2019-04-05T11:15:26.022100Z

This is pretty exciting stuff! http://lighttable.com/2019/03/31/New-year-old-plans/

3👍
elamje 2019-04-05T20:16:04.022500Z

I am getting kw completions, It’s just wrt hiccup

elamje 2019-04-05T20:17:23.022700Z

Thanks for the link, it looks like I maybe need to look into the custom sources functionality