File > New > Project from existing sources. Select the
deps.ednfile, the desired version of SDK and finish the wizard.
:devalias (and press the "two arrows" icon to refresh):
+sign and select
Clojure REPL > Local:
deps.ednfile again, we can see that "development/src" was already added to the path:
development/srcdirectory 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).
devalias 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!
devas 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.
devtop namespace. Let's follow that pattern and create the namespace
development/srcdirectory and select
New > Clojure Namespaceand type "dev.lisa":
(ns dev.lisa)to the REPL. If we then send
(+ 1 2 3)to the REPL we should get
6back, and if we do, it means that we now have a working development environment!