Skip to content
Visual Studio Code extension for Clojure development
Branch: master
Clone or download
Latest commit ddabdcb Jan 4, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode 0.1.8 Highlight and match compound brackets: `#()`, `#{}`, `#?()`, `#… Jan 4, 2019
extras transparent bg on icon Jan 4, 2019
src 0.1.8 Highlight and match compound brackets: `#()`, `#{}`, `#?()`, `#… Jan 4, 2019
.gitignore initial Dec 18, 2017
CHANGELOG.md 0.1.8 Highlight and match compound brackets: `#()`, `#{}`, `#?()`, `#… Jan 4, 2019
LICENSE.txt README Dec 18, 2017
README.md
nrepl_proxy.clj nrepl proxy Feb 23, 2018
package-lock.json Only trigger on config changes that are related to Clojure Warrior Dec 22, 2017
package.json 0.1.8 Highlight and match compound brackets: `#()`, `#{}`, `#?()`, `#… Jan 4, 2019
publish.sh icons Dec 21, 2017
tsconfig.json initial Dec 18, 2017

README.md

Clojure Warrior

Visual Studio Code extension for Clojure development

Features

Rainbow brackets:

  • Chooses bracket color based on nesting level
  • Distinct bracket colors, plays well with Alabaster theme
  • Properly handles strings, comments and escaped characters
  • Highlights misplaced brackets

Bracket pair matching:

  • Higlights corresponding bracket pair to the one under the cursor
  • Considers bracket directon and cursor position relative to it
  • Only highlights pair when cursor is standing outside the expression (right after the closed bracket or right before opening one)

Jump to matching bracket commands:

  • Jump to corresponding bracket pair (same rules as in bracket pair matching): clojureWarrior.jumpToMatchingBracket
  • Select a region between cursor and matching bracket (including brackets): clojureWarrior.selectToMatchingBracket

Screenshot

Configuration

Key Meaning Example
"clojureWarrior.bracketColors" Which colors to use ["#000", "#999"]
"clojureWarrior.cycleBracketColors" Whether same colors should be reused for deeply nested brackets true
"clojureWarrior.misplacedBracketStyle" Style of misplaced bracket { "border": "2px solid #c33" }
"clojureWarrior.matchedBracketStyle" Style of bracket pair highlight {"backgroundColor": "#E0E0E0"}

Installation

  1. Go to Extensions
  2. Search for Clojure Warrior
  3. Install
  4. Restart Visual Studio Code (or click Reload window)
  5. Open a Clojure/ClojureScript/EDN file

License

MIT License

You can’t perform that action at this time.