This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-03-30
Channels
- # babashka (18)
- # beginners (90)
- # calva (33)
- # clara (6)
- # cljfx (11)
- # cljs-dev (22)
- # cljsrn (9)
- # clojure (71)
- # clojure-australia (2)
- # clojure-czech (15)
- # clojure-europe (27)
- # clojure-germany (9)
- # clojure-nl (4)
- # clojure-serbia (3)
- # clojure-uk (10)
- # clojurescript (17)
- # conjure (12)
- # data-oriented-programming (2)
- # deps-new (6)
- # fulcro (29)
- # graphql (10)
- # hugsql (6)
- # jobs (1)
- # lsp (59)
- # malli (8)
- # off-topic (76)
- # pathom (15)
- # polylith (130)
- # re-frame (9)
- # reagent (15)
- # releases (4)
- # rewrite-clj (6)
- # ring (6)
- # rum (9)
- # shadow-cljs (116)
- # specter (5)
- # testing (7)
- # tools-deps (24)
- # vim (6)
- # xtdb (17)
I forgot the reason why workspace symbols need to be prefixed with clj
?
Oh right. I'll try it out in a bit thanks! Out of curiosity, why was it needed before?
because it was filtering only on client side, clojure-lsp was returning all symbols ignoring the query
Seems to be still needed for me (Just downloaded the latest today from https://github.com/clojure-lsp/clojure-lsp/releases/latest/download/clojure-lsp-native-linux-amd64.zip)
Nope, unless I put in some prefix
Oh, do I have to wipe out my LSP/kondo database files?
I wonder if it's a cljs thing. Let me try on a clj project
Hmm, same behavior in a clj project
LSP :: {:project-root "file:///home/anonimito/sandbox/clojure-sandbox",
:project-settings {:cljfmt {:indents {>defn [[:inner 0]]}}},
:client-settings
{:dependency-scheme "jar",
:source-paths #{"src" "test"},
:macro-defs {},
:project-specs nil,
:cljfmt {:indents {}},
:document-formatting? true,
:document-range-formatting? true},
:port "NREPL only available on :debug profile (`make debug-bin`)",
:server-version "2021.03.30-20.42.34",
:clj-kondo-version "2021.03.22-SNAPSHOT",
:log-path "/tmp/clojure-lsp.3842339907995882215.out"}
Oh, how do I know if I'm using the graalvm one?
Empty clojure-lsp stderr
Ah, how does one download a non-native one?
NVM, I see the releases have native
in them
the only way is compiling manyally or download the deprecated clojure-lsp
file from release
Actually, I actually probably want a non-native one since I have long-running projects, right? Also, do you mean this is deprecated?
2021-03-30T21:41:13.203Z home-desktop INFO [clojure-lsp.main:391] - Starting server...
2021-03-30T21:41:13.206Z home-desktop DEBUG [clojure-lsp.nrepl:24] - nrepl not found, skipping nrepl server start...
2021-03-30T21:41:13.211Z home-desktop INFO [clojure-lsp.main:293] - Initializing...
2021-03-30T21:41:13.670Z home-desktop INFO [clojure-lsp.crawler:162] - Paths analyzed, took 0.010028586 secs. Caching for next startups...
2021-03-30T21:41:13.670Z home-desktop DEBUG [clojure-lsp.main:?] - :initialize 458ms
2021-03-30T21:41:13.673Z home-desktop INFO [clojure-lsp.main:339] - Initialized!
2021-03-30T21:41:13.673Z home-desktop DEBUG [clojure-lsp.main:?] - :initialized 0ms
2021-03-30T21:41:13.679Z home-desktop DEBUG [clojure-lsp.main:?] - :didOpen 4ms
2021-03-30T21:41:13.684Z home-desktop DEBUG [clojure-lsp.main:?] - :documentSymbol 2ms
2021-03-30T21:41:13.684Z home-desktop DEBUG [clojure-lsp.main:?] - :documentSymbol 0ms
2021-03-30T21:41:13.685Z home-desktop DEBUG [clojure-lsp.main:?] - :documentHighlight 1ms
2021-03-30T21:41:13.685Z home-desktop DEBUG [clojure-lsp.main:?] - :documentHighlight 0ms
2021-03-30T21:41:13.690Z home-desktop DEBUG [clojure-lsp.main:?] - :codeAction 6ms
2021-03-30T21:41:13.690Z home-desktop DEBUG [clojure-lsp.main:?] - :codeAction 7ms
2021-03-30T21:41:13.782Z home-desktop DEBUG [clojure-lsp.main:?] - :documentHighlight 0ms
2021-03-30T21:41:13.783Z home-desktop DEBUG [clojure-lsp.main:?] - :codeAction 1ms
2021-03-30T21:41:15.672Z home-desktop DEBUG [clojure-lsp.main:?] - :workspaceSymbol 1ms
2021-03-30T21:41:17.295Z home-desktop DEBUG [clojure-lsp.main:?] - :workspaceSymbol 0ms
2021-03-30T21:41:17.447Z home-desktop DEBUG [clojure-lsp.main:?] - :workspaceSymbol 0ms
2021-03-30T21:41:17.631Z home-desktop DEBUG [clojure-lsp.main:?] - :workspaceSymbol 0ms
2021-03-30T21:41:17.719Z home-desktop DEBUG [clojure-lsp.main:?] - :workspaceSymbol 0ms
2021-03-30T21:41:17.895Z home-desktop DEBUG [clojure-lsp.main:?] - :workspaceSymbol 0ms
2021-03-30T21:41:18.087Z home-desktop DEBUG [clojure-lsp.main:?] - :workspaceSymbol 0ms
2021-03-30T21:41:18.215Z home-desktop DEBUG [clojure-lsp.main:?] - :workspaceSymbol 0ms
2021-03-30T21:41:35.140Z home-desktop DEBUG [clojure-lsp.main:?] - :documentHighlight 0ms
2021-03-30T21:41:35.141Z home-desktop DEBUG [clojure-lsp.main:?] - :hover 0ms
2021-03-30T21:41:35.141Z home-desktop DEBUG [clojure-lsp.main:?] - :codeAction 1ms
2021-03-30T21:41:39.055Z home-desktop INFO [clojure-lsp.producer:15] - {:type :info, :message "{:project-root \"file:///home/anonimito/sandbox/clojure-sandbox\",\n :project-settings {:cljfmt {:indents {>defn [[:inner 0]]}}},\n :client-settings\n {:dependency-scheme \"jar\",\n :source-paths #{\"src\" \"test\"},\n :macro-defs {},\n :project-specs nil,\n :cljfmt {:indents {}},\n :document-formatting? true,\n :document-range-formatting? true},\n :port \"NREPL only available on :debug profile (`make debug-bin`)\",\n :server-version \"2021.03.30-20.42.34\",\n :clj-kondo-version \"2021.03.22-SNAPSHOT\",\n :log-path \"/tmp/clojure-lsp.3842339907995882215.out\"}\n"}
There seems to be no log messages for when I start typing a search term
OH wait, right, I see it. This is a minimal clj sandbox though
No rush and thanks
(It seems to not debounce, I'm seeing queries for t
, tr
, try
, etc so I just posted the last one)
Oh I see. Thanks. BTW, no rush or anything. It's the most minor inconvenience in the world.
Yes, just justifying why I included just the last workspaceSymbol query š
https://github.com/clojure-lsp/clojure-lsp/commit/f786f3386688d17fa30db59b96f717154d25376f š Available when happen the next release, thanks!
Weird, which part of the code actually fixed it? the reflect config?
that's why I'm adding more integration tests to get those kind of bugs that only happens on native compile images
Forgot to reply lol. I see. How did you find out that was it?
Because the java object was with all fields null, then I realized it was missing that java class on the reflect config
Released 2021.03.30-20.42.34
ā¢ Bump clj-kondo
to 2021.03.22-20210327.192113-4 - Fixes https://github.com/clojure-lsp/clojure-lsp/issues/385 c/c @pez
ā¢ Add support for outgoing call hierarchy š - Fixes https://github.com/clojure-lsp/clojure-lsp/issues/384
ā¢ Improve and fix missing completion item kinds (lsp-mode https://twitter.com/yonchovski/status/1376237915412574210)
The outgoing call hierarchy is the inverse of the incoming call hierarchy, it show all the var usages that a the current function/var uses lazily and recursively