This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # announcements (18)
- # babashka (68)
- # bangalore-clj (14)
- # beginners (91)
- # bristol-clojurians (1)
- # calva (4)
- # chlorine-clover (3)
- # cider (39)
- # clj-kondo (5)
- # clojars (1)
- # clojure (139)
- # clojure-france (1)
- # clojure-losangeles (3)
- # clojure-nl (1)
- # clojure-uk (7)
- # clojurescript (17)
- # core-typed (22)
- # crux (3)
- # data-science (1)
- # datomic (6)
- # duct (9)
- # emacs (50)
- # fulcro (58)
- # graalvm (37)
- # kaocha (2)
- # nrepl (1)
- # reagent (8)
- # shadow-cljs (20)
- # specter (1)
- # tree-sitter (5)
Hello! I'm trying to open java files directly from an exception stacktrace. It seems like I'm missing some source files. Example:
Unexpected archive: /usr/lib/jvm/openjdk-8/src.zip [4 times] when I try to open some of the entries
I'm guessing there must be some sort of way to setup the search path for these files
also experimenting a bit with usage patterns of slack. Sorry if I annoy ppl a lil or a lot 🙂
oh! talking about annoying ppl. I'm not sure but I may be talking to myself in the wrong channel. Cider seems a lot more appropriate for this issue.
Write a function that saves the buffer and sends a command to be evaluated. I doubt you’d want to get wrapped up in a saved hook
(defun save-and-send-thing () (interactive) (save-buffer) ;; will eval (cider-interactive-eval "(prn \"hi\")") ;; will put in repl and eval (cider-insert-in-repl "(prn \"hi\")" t))
Hey folks, any ideas how to avoid having
add-missing-libspec show up on every single line on ?
Hi guys - anyone using
doom emacs? Latest update broke company mode for clojure - can't select options with arrows for some reason. Any idea how to get over it?
Hmm... Using vanilla Cider with company mode and it fails to work. I'll try and dig deeper
@nirrub hit up the doom discord. the maintainer Henrik is usually around fixing stuff like this
@corasaurus-hex - thanks! tried the discord channel but no response yet. I’ll try reverting for now and see if a fix will come later. :thumbsup:
@dpsutton it just shows up as some sort of linting error, give me a sec will make a screenshot, it comes form clojure-lsp
oh yeah i remember trying out that lsp-hud (or whatever its called) and abandoned it.
@dpsutton without that, refactoring capabilities are kind of broken, can’t rename .symbols and etc, do you use emacs ?
i think its https://github.com/emacs-lsp/lsp-ui lsp-ui i was thinking of. do you use that?
i'll put my lsp-config here if it helps you. no idea what doom does though.
(use-package lsp-mode :init (setq lsp-clojure-server-command '("bash" "-c" "cd ~/projects/clojure/clojure-lsp && lein run")) (setq lsp-enable-indentation nil) (setq lsp-enable-completion-at-point nil) ;; (setq indent-region-function #'clojure-indent-function) (add-hook 'clojure-mode-hook #'lsp) (add-hook 'clojurec-mode-hook #'lsp) (add-hook 'clojurescript-mode-hook #'lsp) :config (require 'lsp-clojure) (add-to-list 'lsp-language-id-configuration '(clojure-mode . "clojure")) (add-to-list 'lsp-language-id-configuration '(clojurec-mode . "clojure")) (add-to-list 'lsp-language-id-configuration '(clojurescript-mode . "clojurescript")))
I have mine configured here if it helps: https://github.com/ericdallo/dotfiles/blob/master/emacs/.doom.d/config.el#L216