File > New > Project from existing sources
. Select the deps.edn
file, the desired version of SDK and finish the wizard.:dev
alias (and press the "two arrows" icon to refresh):Add Configuration
:+
sign and select Clojure REPL > Local
:deps.edn
file again, we can see that "development/src" was already added to the path:development/src
directory so that we can work with the code. Right now there is only one directory here, but every time we create a new component or base, we normally add them to the path too (the exception is if you have several components sharing the same interface, but more on that later).dev
alias which we activated previously and also added to the REPL by selecting the "dev,test" aliases. This means that we have configured everything that tools.deps needs and that we are ready to write some Clojure code!dev
as a top namespace here and not the workspace top namespace se.example
. The reason is that we don't want to mix the code we put here with the production code.dev
top namespace. Let's follow that pattern and create the namespace dev.lisa
.development/src
directory and select New > Clojure Namespace
and type "dev.lisa":Add
button:(ns dev.lisa)
to the REPL. If we then send (+ 1 2 3)
to the REPL we should get 6
back, and if we do, it means that we now have a working development environment!