This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-12-14
Channels
- # adventofcode (36)
- # announcements (5)
- # atom-editor (2)
- # babashka (19)
- # beginners (98)
- # biff (7)
- # calva (25)
- # cider (1)
- # cljdoc (10)
- # clojure (70)
- # clojure-czech (1)
- # clojure-dev (14)
- # clojure-europe (79)
- # clojure-nl (1)
- # clojure-norway (8)
- # clojure-seattle (3)
- # clojure-uk (2)
- # clojurescript (28)
- # community-development (44)
- # core-typed (3)
- # cursive (2)
- # datalevin (5)
- # datascript (5)
- # datomic (1)
- # dev-tooling (12)
- # emacs (14)
- # honeysql (3)
- # humbleui (11)
- # introduce-yourself (1)
- # java (1)
- # kaocha (1)
- # lsp (3)
- # malli (21)
- # matcher-combinators (2)
- # nbb (7)
- # off-topic (15)
- # portal (12)
- # reitit (4)
- # releases (1)
- # shadow-cljs (59)
- # sql (8)
- # tree-sitter (3)
Two features that would be nice for the hover popups on functions:
• Recognize
• Show ``` syntax for indicating code blocks in docstrings.
:test
metadata.
Shall I open issues for each?
Oh. The first one was just a user error. Calva already handles code blocks in docstrings just fine if you don't forget the closing backticks.
When I’m running tests in calva it is often not giving me enough failure info, for example, it is hiding most of the exception stacktraces. Is there a way to recover them?
For example:
; ERROR in XXX/YYY-test (Numbers.java:1779):
; : Uncaught exception, not in assertion
; error: java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.Number (Numbers.java:1779)
; 1 tests finished, problems found. 😭 errors: 1, failures: 0, ns: 1, vars: 1
One workaround that worked in the past, was to execute test like this: (clojure.test/test-var #'XXX/YYY-test)
which is still working in nrepl, but doesn’t reliably work in calva repl window.
I’m still seeing this. There is a “Print stacktrace” button sometimes but it often shows unrelated stacktraces. I’m not sure yet how to test it outside of my work environment or what in my work environment may be affecting this.
*e
usually evaluates to something unrelated as well
https://clojurians.slack.com/archives/CBE668G4R/p1671084121886109?thread_ts=1671046952.608599&cid=CBE668G4R Yes, running the test function often works but I’m not sure whether fixtures are taken into account for those.
I just checked and it looks like test-var
also doesn’t run fixtures..
Would you mind pasting the nrepl logs that occur when you see this issue? You can enable them with the command “Calva Diagnostics: Toggle nREPL Log Enabled”.
Dear Calva friends: https://github.com/BetterThanTomorrow/calva/releases/tag/v2.0.322 • Fix: https://github.com/BetterThanTomorrow/calva/issues/1994 • Fix: https://github.com/BetterThanTomorrow/calva/issues/1996 • Bump bundled deps.clj to v1.11.1.1208
Since I updated VS Code to 1.74 (and now 1.74.1), the Explorer doesn't seem to be showing annotations from git or Calva/LSP/clj-kondo, and when pressing ctrl+shift+e
when focus is in an editor doesn't always seem to open Explorer with the tree expanded to that file. Is anyone else having problems with 1.74.x?
Heh, maybe stay on 1.73 until they fix these bugs? I suspect it's a VS Code/Explorer bug since it affects the git behavior as well as LSP...
It seems a bit intermittent for me. I just added a new folder and files (outside VS Code) and they're not showing as green/untracked in the Explorer, and only files that I've opened are showing the LSP annotations in Explorer -- everything else is plain white, even tho' I know there are lots of warnings...
I see that there is some changes for the Explorer regarding autoreveal. By the description it shouldn't cause these effects, but probably regression anyway.
Yeah, I saw that too -- and hoped that 1.74.1 would include fixes for it... but it seems not... but, boy, they sure fixed a lot of bugs in that .1 release!
You can use Insiders to do a sanity check before upgrading. Though, intermittent stuff is intermittent, so it only takes you so far.
I’m still seeing this. There is a “Print stacktrace” button sometimes but it often shows unrelated stacktraces. I’m not sure yet how to test it outside of my work environment or what in my work environment may be affecting this.