This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-25
Channels
- # babashka (31)
- # beginners (38)
- # biff (1)
- # calva (10)
- # clj-kondo (10)
- # clj-otel (9)
- # clojure (9)
- # clojure-europe (4)
- # clojure-norway (4)
- # clojurescript (26)
- # cursive (2)
- # datahike (3)
- # datomic (4)
- # emacs (6)
- # inf-clojure (2)
- # missionary (11)
- # nbb (3)
- # off-topic (9)
- # portal (17)
- # re-frame (16)
- # reagent (1)
- # releases (3)
- # shadow-cljs (5)
- # tools-build (17)
- # tools-deps (2)
- # xtdb (6)
This is more of a vs code question rather than calva, but: Is it possible to add a new file but not automatically open it immediately? I'm trying to repro an elusive lsp issue, which occurs in emacs in a similar situation.
When I use the file explorer (the thing on the left side of vscode) to create a new file somewhere in my project, vs code creates the file but then it also automatically opens it. I'd like to add the file but not open it.
Yeah. I'm looking into a problem with LSP, where the communication between the client and the server stops working. I can reliably reproduce this under emacs using treemacs (my guess is that this has something to do with the way emacs/treemacs momentarily opens the file but immediately closes it).
Adding a new empty file directly from the command line (e.g. something like touch foo.cljs
) doesn't cause the problem.
Adding a new empty file and immediately opening it (without closing it) doesn't cause the problem.
I was trying to figure out if I could somehow reproduce this in vscode/calva, as it's a different lsp client from the lsp-mode
in emacs.
Iirc, the extension API for opening a text document doesn't actually show it. https://code.visualstudio.com/api/references/vscode-api#workspace.onDidOpenTextDocument Maybe you can use #joyride to re-create the situation. Even if it takes actually showing the document, you could close it quickly.
Dear Calva friends. https://github.com/BetterThanTomorrow/calva/releases/tag/v2.0.287 • Fix: https://github.com/BetterThanTomorrow/calva/issues/1774 • Fix: https://github.com/BetterThanTomorrow/calva/issues/1781 • https://github.com/BetterThanTomorrow/calva/issues/1780
Calva question, how could I specify a namespace for nrepl jack-in when using deps.edn alias? Currently it's default: user
; Jack-in done.
clj꞉user꞉> <---
i guess related, https://github.com/nrepl/nrepl/issues/186