This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-20
Channels
- # announcements (1)
- # asami (2)
- # babashka (9)
- # babashka-sci-dev (33)
- # beginners (6)
- # calva (5)
- # cider (1)
- # clj-kondo (2)
- # clojure (79)
- # clojure-dev (8)
- # clojure-europe (1)
- # clojurescript (56)
- # core-logic (1)
- # datalevin (1)
- # emacs (20)
- # funcool (3)
- # holy-lambda (3)
- # honeysql (28)
- # improve-getting-started (11)
- # introduce-yourself (4)
- # lsp (21)
- # off-topic (9)
- # other-languages (5)
- # polylith (3)
- # quil (3)
- # releases (1)
- # rewrite-clj (9)
- # sql (5)
- # tools-deps (29)
- # xtdb (9)
Does anyone else see this behaviour with cursor on |
and calling code-actions>move to let? The bug might be in coc.nvim sending the wrong column (sending 0 always) to code-actions but wanted to check if maybe people using other clients see it.
(let []
(inc |(dec 1)))
=>actual
(let [new-binding (inc (dec 1))]
new-binding)
=>expected
(let [new-binding (dec 1)]
(inc new-binding))
🎉 1
@U11EL3P9U shouldn't the cursor be on (
and not in a empty space before applying the action?
Thanks @U11EL3P9U. That definitely helps narrow it down.
Ah yes, that's what I have too in my vim config nmap <silent> <Leader>c <Plug>(coc-codeaction-cursor)
❯ make
cd cli && clojure -T:build debug-cli
Compiling java classes...
Building uberjar...
WARNING: abs already refers to: #'clojure.core/abs in namespace: medley.core, being replaced by: #'medley.core/abs
WARNING: update-keys already refers to: #'clojure.core/update-keys in namespace: io.aviso.exception, being replaced by: #'io.aviso.exception/update-keys
WARNING: abs already refers to: #'clojure.core/abs in namespace: taoensso.encore, being replaced by: #'taoensso.encore/abs
Syntax error (ClassNotFoundException) compiling at (cljfmt/main.clj:1:1).
cljfmt.main
Full report at:
/tmp/clojure-13052201187971273264.edn
Execution error (ExceptionInfo) at clojure.tools.build.tasks.compile-clj/compile-clj (compile_clj.clj:112).
Clojure compilation failed, working dir preserved: /tmp/compile-clj10627165110782229294
Full report at:
/tmp/clojure-7682186895579434763.edn
make: *** [Makefile:46: debug-cli] Error 1