lsp

borkdude 2025-06-04T15:46:16.334759Z

@ericdallo idea: when on a string that looks like a file path, navigate to the file?

{:file "corpus/macroexpa|nd.clj"}

ericdallo 2025-06-04T15:46:44.970919Z

Interesting, sounds good

borkdude 2025-06-04T15:47:33.058059Z

could also be context sensitive, like (io/resource "foo.clj") would look on the project classpath but perhaps the simplest thing would be a good start

ericdallo 2025-06-04T15:48:41.617759Z

Yeah, there are plenty of cases like absolute vs relative paths, but handling each one seems like a good start indeed

Ed 2025-06-05T13:36:14.133389Z

Reading the docs for emacs' project-find-file it seems like that's kinda what that's supposed to do, but it doesn't seem to work by default on my machine. It calls`(thing-at-point 'filename)` and uses that as a default, but I'm not sure if it's my vertico setup or what, but it's not set as a default for me 🀷 ... not sure if that's useful info ... feel free to ignore me πŸ˜‰

ericdallo 2025-06-04T16:56:19.992219Z

With a little help from AI, now we have a codebase overview of clojure-lsp arch's, really useful for devs onboarding in the codebase :) https://clojure-lsp.io/development/

πŸ™Œ 5
πŸ™ŒπŸ» 1
2025-06-04T02:42:47.732569Z

this is a nitpick but I'm wondering if there is a way to get autocompletion on the js namespace in cljs. Or would those completion be supplied by whatever is compiling the js like shadow-cljs? actually I doubt shadow would be sending completions

πŸ€” 1
Ovi Stoica 2025-06-18T08:48:58.358859Z

There’s also this discussion https://clojurians.slack.com/archives/CPABC1H61/p1747165405818989

2025-06-04T15:46:54.687169Z

Nice, I'll give that a shot. Did you need any additional completion providers other than cmp-conjure ?

James Amberger 2025-06-04T21:40:18.177429Z

nope