these are simple settings for a nice REPL-driven setup. Clojure-Sublimed has nice REPL integration and the LSP will autocomplete stuff from libraries. there's some overlap but they both have separate functions I think
- install sublime text 4
- install package control in sublime text ui.
- install https://github.com/tonsky/Clojure-Sublimed via package control
- package control install terminus
- install clojure lsp native image from https://github.com/clojure-lsp/clojure-lsp/releases
- install Alabaster theme (referenced in LSP.sublime-settings, hence why an optional aesthetic thing is mentioned here) with Package Control
- copy LSP settings from
LSP.sublime-settings
into Preferences > Package Settings > LSP > Settings window. adjustcommand
path as needed depending on where you put the LSP binary/JAR - copy Clojure-Sublimed keybindings from
Default (Windows).default-keymap
intoPreferences: Clojure Sublimed Key Bindings
window - open Subime settings and copy
Preferences.sublime-settings
in
to get a nice repl going with your code:
lein new <app_name>
to start a new app. open that folder in Sublime- set layout to columns: 2 (Vew > Layout > Columns: 2)
- select
Terminus: Open Default Shell in Tab (View)
in column you want repl in - run
lein repl
in project directory - run
Clojure Sublimed: Connect
- now run Clojure Sublimed commands like Ctrl+Alt+B to evaluate buffer
optional:
- install whatever color scheme you want and change to that
aww yeah
sorry if I forgot anything above