This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-01-24
Channels
- # aleph (1)
- # announcements (22)
- # atom-editor (11)
- # babashka (46)
- # beginners (60)
- # calva (44)
- # cider (18)
- # circleci (1)
- # cljdoc (12)
- # cljs-dev (5)
- # cljsrn (19)
- # clojars (3)
- # clojure (162)
- # clojure-dev (9)
- # clojure-europe (6)
- # clojure-italy (2)
- # clojure-losangeles (2)
- # clojure-nl (5)
- # clojure-spec (7)
- # clojure-uk (23)
- # clojureremote (1)
- # clojurescript (55)
- # community-development (14)
- # core-async (234)
- # cursive (14)
- # data-science (3)
- # datomic (32)
- # fulcro (5)
- # graalvm (20)
- # graphql (2)
- # hugsql (4)
- # jobs (11)
- # jobs-discuss (2)
- # joker (1)
- # juxt (3)
- # kaocha (1)
- # luminus (1)
- # off-topic (33)
- # pathom (3)
- # pedestal (1)
- # reagent (24)
- # remote-jobs (3)
- # shadow-cljs (38)
- # spacemacs (4)
- # specter (4)
- # speculative (54)
- # tools-deps (62)
- # vim (8)
- # vscode (14)
Every time I get an error in the REPL, this happens and I can’t find a fix
It keeps indenting and I can’t get it to go back to normal
i have never seen that before
Anyone have any idea why this might be happening and how I could go about fixing it ?
@bardiapourvakil I had the a similar issue sometime ago. Do you have aggressive-indent loaded?
I think so thanks for the fix hopefully it works
Where exactly should I be adding this? Sorry I’m a noob lol
(defun spacemacs-editing/init-aggressive-indent ()
(use-package aggressive-indent
:defer t
:init
(progn
(spacemacs|add-toggle aggressive-indent
:mode aggressive-indent-mode
:documentation "Always keep code indented."
:evil-leader "tI")
(spacemacs|add-toggle aggressive-indent-globally
:mode global-aggressive-indent-mode
:documentation "Always keep code indented globally."
:evil-leader "t C-I"))
:config
(progn
(add-hook 'diff-auto-refine-mode-hook 'spacemacs/toggle-aggressive-indent-off)
(spacemacs|diminish aggressive-indent-mode " Ⓘ" " I"))))
@bardiapourvakil Just add it as toplevel form in your .emacs or you can try something in the :config part. Something along the lines of (add-hook 'cider-repl-mode-hook 'spacemaces/toggle-aggressive-indent-off)
. I don't know if that hook exists.
err whats the best way to do repl driven develompent with libraries included as deps with a relative path. I know there is probably a way to use the cider debugger to step into functions. as one option. Is there a way to, idk start a repl in the main app then connect to it from the lib?
say you have project A with a dep "../some-lib" and you start a repl for project A then notice an issue with how its communicating with some-lib. So you want to see how some-lib is using the data you passed it.
actually, on second try, ^ what i described seems to just work already.