This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-01-04
Channels
- # announcements (13)
- # babashka (19)
- # beginners (74)
- # boot (1)
- # calva (5)
- # clj-kondo (22)
- # clojure (46)
- # clojure-android (3)
- # clojure-dev (4)
- # clojure-uk (69)
- # clojurescript (19)
- # community-development (17)
- # cursive (27)
- # datomic (9)
- # emacs (13)
- # graalvm (2)
- # instaparse (4)
- # luminus (1)
- # off-topic (21)
- # reagent (6)
- # remote-jobs (1)
- # ring-swagger (4)
- # test-check (49)
- # vrac (1)
@potetm I forgot to mention, I managed to reproduce your problem with errors during socket REPL printing. I’m going to fix that for the next EAP and also integrate the Clojure 1.10.x improved error stuff.
I just noticed that the documention pop-up for my ClojureScript project does not show the documentation from ClojureDocs with usage examples. Is there a way to configure it so that it uses ClojureDocs?
Yes, there’s a notification which will ask you whether you want to download the examples, but you wouldn’t be the first to miss it 🙂
You can download it manually at Preferences | Languages & Frameworks | Clojure | Documentation options.
@cfleming Thanks for the tips. ClojureDocs works in my Cursive for other Clojure-projects with *.clj files.
But it still does not work for my *.cljs files in my ClojureScript-projects where I use shadow-cljs.
I imported the project from the pom.xml
file like described here: https://shadow-cljs.github.io/docs/UsersGuide.html#_cursive
Maybe it has something to do with that?
Oh, sorry, I missed the ClojureScript part of your project. The problem is that ClojureDocs has no examples for ClojureScript at all.
It’s an open question if I should show the clj equivalent when showing the doc for a cljs built-in - I guess I could show a warning that the examples are actually for Clojure not ClojureScript in that case.
That would be great! Most of the functions I need help on are basic functions which are the same in normal Clojure.
Yeah, that’s probably the case for a lot of use cases. I’m a little worried about showing examples for functions which actually differ like defrecord, but hopefully the warning would be enough in that case.
👋 might have been asked before but.. in the emacs keymap there is ctrl+\ to jump to repl editor. Whats the command to jump back to the file you were editing?
this looks promising! https://github.com/cursive-ide/cursive/issues/174
Since Intellij 2019.3 (this is very new!) you can assign a new shortcut to the “Focus Editor” action.
Thanks very much @ULAAD3H2P
When you do something like say an infinite loop in the built-in Cursive REPL, and things become unresponsive, is there a way to fix this without force quitting the whole IntelliJ app?