-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chapter about nrepl support? #6
Comments
Hmm.. I guess it's probably not necessary to actually switch to clojure repl in order to get docs popups in the editor. It seems that presence of bb-generated |
|
In fact, an empty |
I tried with calva and nvim. An empty bb.edn. It had {} on the root folder
made lsp kick in.
Em ter., 24 de jan. de 2023 às 07:43, Michiel Borkent <
***@***.***> escreveu:
… In fact, an empty bb.edn should already work, since bb.edn is used by lsp
to detect the project root and then it calls print-deps to get more info
about the built-in dependencies.
—
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAF5CCB6LRDC5AVFKH5VGWDWT6W5PANCNFSM6AAAAAAUE46FH4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Hello, have you considered adding a chapter about
bb --nrepl-server
?For me, the support of nrepl in babashka is yet another game-changer that babashka brings to the table. It's really awesome to be able to code fully interactively in your favourite editor, being connected to
bb
process internally running nrepl server.Sometimes, if I need "full clojure experience" (better editor support - especially docs popups), I also use
bb --print-deps > deps.edn
, and code the script using regular clojure repl+nrepl. Then, once I'm happy with the result, I turn back to thebb
and make sure the script is stillbb
-friendly.The text was updated successfully, but these errors were encountered: