This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-12-04
Channels
- # adventofcode (100)
- # announcements (7)
- # architecture (1)
- # aws (14)
- # beginners (209)
- # calva (30)
- # cider (5)
- # cljdoc (2)
- # cljs-dev (37)
- # cljsrn (2)
- # clojure (133)
- # clojure-dev (20)
- # clojure-finland (1)
- # clojure-italy (10)
- # clojure-nl (19)
- # clojure-spec (56)
- # clojure-uk (49)
- # clojurescript (57)
- # clojurex (8)
- # core-async (2)
- # core-logic (1)
- # cursive (38)
- # data-science (19)
- # datomic (28)
- # devcards (3)
- # duct (8)
- # emacs (28)
- # figwheel (1)
- # figwheel-main (31)
- # fulcro (2)
- # jobs (1)
- # kaocha (1)
- # klipse (2)
- # mount (6)
- # nrepl (43)
- # off-topic (20)
- # pathom (3)
- # pedestal (1)
- # re-frame (15)
- # ring-swagger (1)
- # shadow-cljs (47)
- # spacemacs (19)
- # sql (20)
- # tools-deps (58)
- # unrepl (13)
- # vim (5)
Hi! I’m thinking about creating a Polylith plugin (https://github.com/tengstrand/lein-polylith) to IDEA/Cursive. I’m not sure about if it’s possible to integrate with Cursive because it’s not open source or if it will be enough to integrated against IDEA. Does anyone have an idea here…maybe @cfleming?
is there a way that I can get defrecord+
from potemkin to resolve the same as defrecord
. More explicitly: I want the indentation to be the same
oh, nevermind. Putting the indentation at level 1 works just fine. It just hadn't saved when I hit enter
or...not? It works in one namespace but not another
getting the protocols it implements would be nice as well
(same story for defprotocol+ )
@lellis: Are you using deps.edn or leiningen?
https://github.com/jayzawrotny/lein-rebl-example should get you working - I got it to load from a cursive REPL with it
@shaun-mahood The feature "Follow REPL" work for you?
When u enter code into your repl, appear on rebl too or only when enter in rebl console?
@lellis Was just testing - it's only working for me in the rebl console when I run it in either Cursive or from lein on my shell. Just investigating to see if I did something wrong since I thought I had it working on another machine over the weekend.
@teng That’s a lot of documentation 🙂. Can you give me an idea of what you’d like the plugin to do?
Polylith has its own directory structure for its building blocks and uses symbolic links to fake a monolithic development environment (and systems). My idea was to support adding/renaming/deleting components and bases directly in IDEA/Cursive and also have a Polylith project view. It would also be nice if git worked for the monolithic views (that use symbolic links). The Leiningen plugin documentation is probably a better place to start at! https://github.com/tengstrand/lein-polylith
Interesting, so there probably wouldn’t be any Clojure-specific functionality, correct?
That’s correct.
@tanzoniteblack Note that if you adjust the indentation of a form it will reformat that one, but won’t automatically reformat all the others in your project. Are you seeing that after customising the indentation, even after reformatting in another namespace the indentation is incorrect?
@lellis @shaun-mahood I haven’t tried REBL under Cursive yet, but I plan to soon.
Can you check whether the intention is disabled? Settings->Editor->Intentions->Clojure->Indentation
So there’s something about the way that Cursive presents those intentions which makes it look like you have to press right rather than enter on them. If you do that, you can easily accidentally disable them.