This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-06
Channels
- # announcements (1)
- # beginners (147)
- # boot (9)
- # calva (28)
- # cider (3)
- # circleci (18)
- # cljdoc (54)
- # cljs-dev (55)
- # cljsrn (22)
- # clojure (179)
- # clojure-canada (9)
- # clojure-dev (74)
- # clojure-europe (1)
- # clojure-italy (15)
- # clojure-nl (7)
- # clojure-spec (30)
- # clojure-uk (55)
- # clojurescript (65)
- # core-async (15)
- # cursive (12)
- # datomic (16)
- # events (4)
- # fulcro (25)
- # graalvm (3)
- # joker (2)
- # kaocha (15)
- # keechma (94)
- # off-topic (12)
- # qlkit (2)
- # re-frame (15)
- # reagent (11)
- # reitit (29)
- # remote-jobs (15)
- # rewrite-clj (16)
- # shadow-cljs (73)
- # spacemacs (151)
- # sql (3)
- # tools-deps (11)
- # unrepl (19)
- # vim (35)
Haven't ever tried but looks like some people have worked some stuff out already https://gist.github.com/vladh/1e1e7bc5eb274235e0b9 I would imagine it wouldn't play well with things like macros.
Maybe this config too https://gist.github.com/noisesmith/ebe8b3f185e34a7de04b1189b21ba59b
actually, got it to work, universal ctags (the successor to ctags) has clojure built-in
Oh sweet! I have a friend that swore by it for Python. I'm just trying to get "go to definition" so robust that I wouldn't need to rely on anything static.
I've been using ctags for Clojure for a couple years or so. It's been my go-to way to jump to definition, in the absence of tools that can do that via static analysis (although now there is clojure-lsp and maybe others)
Tagbar is also awesome, although I've had trouble getting it to work with universal ctags
I found https://github.com/liuchengxu/vista.vim which is a replacement for tagbar that integrates with LSP and does things async. It's a little rough around the edges, but overall quite nice
@dharrigan I recently configured ctags to support Kotlin. I have ctags config for Clojure and Kotlin here, feel free to steal it! https://github.com/daveyarwood/dotfiles/tree/master/ctags
% ctags --list-languages
Ada
AnsiblePlaybook
Ant
Asciidoc
Asm
Asp
Autoconf
AutoIt
Automake
Awk
Basic
BETA
C
C#
C++
Clojure
..
% ctags --list-languages
ctags: Warning: Don't reuse the kind letter `c' in a language kotlin (old: "classes", new: "data classes")
ctags: Warning: Don't reuse the kind letter `r' in a language kotlin (old: "co", new: "va")
ctags: Warning: Don't reuse the kind letter `p' in a language kotlin (old: "packages", new: "imports")