This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-10-07
Channels
- # admin-announcements (19)
- # announcements (1)
- # beginners (14)
- # boot (244)
- # cider (2)
- # clojure (23)
- # clojure-dev (23)
- # clojure-poland (55)
- # clojure-russia (118)
- # clojure-uk (4)
- # clojurescript (143)
- # core-async (31)
- # core-logic (1)
- # cursive (30)
- # datascript (2)
- # datomic (3)
- # emacs (7)
- # hoplon (40)
- # ldnclj (8)
- # off-topic (2)
- # om (64)
- # reagent (10)
- # ring (1)
- # yada (71)
Hi all, i am new to clojure and am looking at a well written lib (not mine). Still the functions code look long to me. Do you use a tool, a plugin in emacs to navigate throught clojure code and spot that an item of code is a function from a external library or defined in the file ?
@jaen thx for your answer
https://github.com/syl20bnr/spacemacs has very well config for clojure
@ncouturier: yes, in emacs, there's cider-find-var which is usually bound to M-period (and M-comma for a 'back button')
imo, it's pretty essential when reading clojure to be able to dive in to vars like this
I've only recently discovered how to do this in cljs too
@malcolmsparks: What do you think of Helm : http://blog.jenkster.com/2013/10/a-tip-for-navigating-clojure-files-in-emacs.html
I’m like @delaguardo and use Spacemacs so Helm, Projectile, CIDER, clj-refactor, and other great packages are baked right in and unified. Helm’s great.
love helm
@ncouturier: never used it, but I think I will soon
@ncouturier: Nice, I use outline-magic
for code folding, but that helm-clojure-headlines
may have advantages. BTW, the version in the article no longer seems to work; I use this now: https://gist.github.com/holguinj/191c455f31da40ba0d0f
@ncouturier: Hmm, customized that helm-clojure-headlines
a bit... https://gist.github.com/tjg/4903f00a62e02bbe6217
Anyone know of articles against using schemas (avro/thrift/protobuf) across applications? I know Stu halloway's talk Narcissistic Design mentions it.
he talked about it more in the fressian talk at the conj a couple years ago
@tjg @ncouturier: helm-semantic-or-imenu
also gives you all the functions in a source file 😉
@mitchelkuijpers: Ha, thanks! Gotta stop diving in without looking around...
@tjg glad to help