Skip to content

Latest commit

 

History

History
180 lines (147 loc) · 12.6 KB

File metadata and controls

180 lines (147 loc) · 12.6 KB

Changelog

main (unreleased)

  • Add project root detection for ClojureCLR project.

0.6.0 (2025-12-02)

  • Add a dedicated mode for editing Joker code. (clojure-ts-joker-mode).
  • #113: Fix non-working refactoring commands for Emacs-30.
  • #114: Extend built-in completion to complete keywords and local bindings in for and doseq forms.
  • #116: Extend built-in completion to complete all imported symbols from an ns form.
  • Add documentation and bug reporting commands from clojure-mode.
  • #118: Add some ns manipulation functions from clojure-mode.
  • Fix a bug in clojure-ts-add-arity when body has more than one expression.
  • #120: Fix a bug when symbols with metadata were not listed in imenu.
  • #124: Correctly indent lists that start with a keyword when using the fixed indentation style.
  • #127: Fix performance issue for some valid Clojure expressions.

0.5.1 (2025-06-17)

  • #109: Improve performance by pre-compiling Tree-sitter queries.
  • #111: Set clojure-ts-completion-at-point-function only for clojure-ts-mode buffers.

0.5.0 (2025-06-04)

  • #96: Highlight function name properly in extend-protocol form.
  • #96: Add support for extend-protocol forms to clojure-ts-add-arity refactoring. command.
  • #99: Improve navigation by s-expression by switching to an experimental Clojure grammar.
  • #99: More consistent docstrings highlighting and fill-paragraph behavior.
  • #99: Fix bug in clojure-ts-align when nested form has extra spaces.
  • #99: Fix bug in clojure-ts-unwind when there is only one expression after threading symbol.
  • #103: Introduce clojure-ts-jank-use-cpp-parser customization which allows highlighting C++ syntax in Jank native/raw forms.
  • #103: Introduce clojure-ts-clojurescript-use-js-parser customization which allows highlighting JS syntax in ClojureScript js* forms.
  • #104: Introduce the clojure-ts-extra-def-forms customization option to specify additional defn-like forms that should be fontified.
  • #108: Introduce completion feature and clojure-ts-completion-enabled customization.

0.4.0 (2025-05-15)

  • #16: Introduce clojure-ts-align.
  • #11: Enable regex syntax highlighting.
  • #16: Add support for automatic aligning forms.
  • #82: Introduce clojure-ts-outline-variant.
  • #86: Better handling of function literals:
    • Syntax highlighting of built-in keywords.
    • Consistent indentation with regular forms.
    • Support for automatic aligning forms.
  • #88: Introduce clojure-ts-unwind and clojure-ts-unwind-all.
  • #89: Introduce clojure-ts-thread, clojure-ts-thread-first-all and clojure-ts-thread-last-all.
  • #90: Introduce clojure-ts-cycle-privacy.
  • #91: Introduce clojure-ts-cycle-keyword-string.
  • #92: Add commands to convert between collections types.
  • #93: Introduce clojure-ts-add-arity.
  • #94: Add indentation rules and clojure-ts-align support for namespaced maps.
  • #95: Introduce clojure-ts-cycle-conditional and clojure-ts-cycle-not.

0.3.0 (2025-04-15)

  • #62: Define list "thing" to improve navigation in Emacs 31.
  • #64: Add defcustom clojure-ts-auto-remap to control remapping of clojure-mode buffers.
  • #66: Improve syntax highlighting:
    • Highlight metadata with single keyword with clojure-ts-keyword-face.
    • Only highlight built-ins from clojure.core namespace.
    • Highlight named lambda functions properly.
    • Fix syntax highlighting for functions and vars with metadata on the previous line.
  • #67: Improve semantic indentation rules to be more consistent with cljfmt.
  • #67: Introduce clojure-ts-semantic-indent-rules customization option.
  • #61: Fix issue with indentation of collection items with metadata.
  • #68: Proper syntax highlighting for expressions with metadata.
  • #69: Add basic support for dynamic indentation via clojure-ts-get-indent-function.
  • #70: Add support for nested indentation rules.
  • #71: Properly highlight function name in letfn form.
  • #72: Pass fully qualified symbol to clojure-ts-get-indent-function.
  • #76: Improve performance of semantic indentation by caching rules.
  • #74: Add imenu support for keywords definitions.
  • #77: Update grammars to the latest versions.
  • #79: Improve markdown highlighting in the docstrings.
  • #60: Fix issue with incorrect fontification, when markdown-inline is enabled.

0.2.3 (2025-03-04)

  • [#38]: Add support for in-ns forms in clojure-ts-find-ns.
  • [#46]: Fix missing comment-add variable in clojure-ts-mode-variables mentioned in [#26]
  • Add imenu support for deftest definitions.
  • [#53]: Let clojure-ts-mode derive from clojure-mode for Emacs 30+.
  • [#42]: Fix imenu support for definitions with metadata.
  • [#42]: Fix font locking of definitions with metadata.
  • [#42]: Fix indentation of definitions with metadata.
  • [#49]: Fix semantic indentation of quoted functions.
  • [#58]: Add custom fill-paragraph-function which respects docstrings similar to clojure-mode.
  • [#59]: Add customization option to disable markdown syntax highlighting in the docstrings.

0.2.2 (2024-02-16)

  • [#37]: Fix derived modes broken with [#36].

0.2.1 (2024-02-14)

  • [#36]: Rename all derived mode vars to match the package prefix.
    • clojurescript-ts-mode -> clojure-ts-clojurescript-mode
    • clojurec-ts-mode -> clojure-ts-clojurec-mode
    • clojure-dart-ts-mode -> clojure-ts-clojuredart-mode
    • clojure-jank-ts-mode -> clojure-ts-jank-mode
  • [#30]: Add custom option clojure-ts-toplevel-inside-comment-form as an equivalent to clojure-toplevel-inside-comment-form in clojure-mode.
  • [#32]: Change behavior of beginning-of-defun and end-of-defun to consider all Clojure sexps as defuns.

0.2.0

0.1.5

0.1.4

0.1.3

  • Add custom option for highlighting comment macro body forms as comments. ae3790adc0fc40ad905b8c30b152122991592a4e
    • Defaults to OFF, highlighting comment body forms like any other expressions.
    • Additionally, does a better job of better detecting comment macros by reducing false positives from forms like (not.clojure.core/comment)

0.1.2

0.1.1

0.1.0

Initial release. Includes:

  • Auto install of language grammar
  • Font locking (syntax highlighting)
  • Fixed style indentation
  • imenu support
  • which-function support