Skip to content

Releases: tonsky/Clojure-Sublimed

4.3.0

31 Oct 21:06
Compare
Choose a tag to compare
  • Pretty print selection #123
  • Execute code from inside top-level ; ... and #_... #124
  • Toggle Comment command that uses #_ instead of ;;
  • Remove background color on quoted strings inside metadata
  • Better handle eval of #_ forms in nREPL JVM
  • Made line numbers much more transparent

4.2.2

27 Sep 17:39
Compare
Choose a tag to compare
  • cljfmt correctly indents forms with custom rules - again

4.2.1

27 Sep 14:52
Compare
Choose a tag to compare
  • cljfmt correctly indents forms with custom rules

4.2.0

27 Sep 13:51
Compare
Choose a tag to compare
  • 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

06 Sep 15:42
Compare
Choose a tag to compare
  • Support Clojure 1.12 array type annotations

4.1.0

30 Aug 10:12
Compare
Choose a tag to compare
  • Eval previous form at current level #118
  • Auto-detect UNIX sockets, support relative paths
  • Correctly parse escaped comma #120 via @oakmac

4.0.0

23 Aug 16:57
Compare
Choose a tag to compare

Syntax has been significantly reworked:

syntaxes

  • New syntax that can highlight reader comments comment.reader together with the following form
  • Highlight (comment ...) blocks as comment.form
  • Highlight namespaces in symbols as meta.namespace.symbol
  • Highlight unused symbols as source.symbol.unused
  • Properly highlight entity.name in def* forms only at second position, skipping all meta/comments
  • Quote & syntax quote highlight following form as meta.quoted and meta.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:

scheme

Option to use cljfmt for code formatting:

  • Download cljfmt binary from https://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 prepend clojure_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”

3.8.0

08 Aug 16:51
Compare
Choose a tag to compare
  • clojure_sublimed_reindent command that reindents entire buffer if selection is empty and only selected lines if not

3.7.3

16 Jun 19:41
Compare
Choose a tag to compare
  • Fixed Socket REPL not working on Windows
  • Fixed Exception in settings on first install

3.7.2

05 May 13:51
Compare
Choose a tag to compare
  • Some defensive coding around default settings fallback #109