Releases: tonsky/Clojure-Sublimed
Releases · tonsky/Clojure-Sublimed
4.3.2
4.3.1
4.3.0
4.2.2
4.2.1
4.2.0
- Simplified formatting rules: if list's first form is a symbol, indent next line by +2 spaces, in all other cases, indent to opening paren (1 space)
- We now provide
cljfmt.edn
that tries to match our default formatting - Better handle selection after formatting with cljfmt
- Highlight namespace name as
entity.name
, same as defs - No exceptions on disconnect
- Removed background on unused symbols inside quotes
4.1.1
4.1.0
4.0.0
Syntax has been significantly reworked:
- New syntax that can highlight reader comments
comment.reader
together with the following form - Highlight
(comment ...)
blocks ascomment.form
- Highlight namespaces in symbols as
meta.namespace.symbol
- Highlight unused symbols as
source.symbol.unused
- Properly highlight
entity.name
indef*
forms only at second position, skipping all meta/comments - Quote & syntax quote highlight following form as
meta.quoted
andmeta.quoted.syntax
- Metadata highlights following form as
meta.metadata
- Octal & arbitrary radix integers
- Better keyword detection
Built-in color scheme to utilize REPL and new syntax features:
Option to use cljfmt
for code formatting:
- Download
cljfmt
binary fromhttps://github.com/weavejester/cljfmt/releases/latest
- Add
cljfmt
to$PATH
- In Sublime Text, open
Preferences: Settings
- Add
"clojure_sublimed_formatter": "cljfmt"
Other changes:
- Removed separate EDN syntax, merged with main Clojure (Sublimed)
- Settings can now be specified in main
Preferences.sublime-settings
as well. Just prependclojure_sublimed_
to each setting’s name. - REPL can detect namespaces with meta on ns form
- Detect
.shadow-cljs/nrepl.port
and.shadow-cljs/socket-repl.port
- Connect commands now accept
timeout
argument for automation scenarios like “start clojure, start trying to connect to REPL until port is available”