Does anyone have recommendations for setting up an IDE or editor with nbb for autocomplete etc?
Calva is pretty good with nbb
you can also use IntelliJ if you add a deps.edn ... to trick it into thinking your project has the dependencies that are built-in to nbb
most obvious example is for promesa
here is an example that I used on a project recently
; This file is only here to assist with editor integration, specifically Cursive on IntelliJ IDEA
; nbb DOES NOT USE THIS FILE - deps are built in (like promesa) or added via npm => package.json
{:paths ["src" "test"]
:deps {org.clojure/clojurescript {:mvn/version "1.11.60"}
camel-snake-kebab/camel-snake-kebab {:mvn/version "0.4.3"}
cljs-bean/cljs-bean {:mvn/version "1.8.0"}
funcool/promesa {:mvn/version "9.0.489"}
reagent/reagent {:mvn/version "1.1.1"}}}Ah nice I will give that a try thanks!
@raymcdermott does nREPL + nbb work in Cursive now?
it works - it's just not usable laughcry It hasn't changed AFAIK.
Then I recommend going with Calva: nbb has always worked well in there
I think with Calva I always get caught up in the vim bindings conflicts so I end up back in Intellij
Let Colin know about nbb requirements in Cursive, it might take a while, but eventually it will be improved. Same happened for bb
neovim + conjure has been pretty good, seems I gotta use the shadow select command otherwise it thinks it's a clojure repl. Should probably create an issue for better nbb support. What does cider do now to detect an nbb project?