https://github.com/hirosystems/clarity-zed
clarity lsp zed extension
https://github.com/hirosystems/clarity-zed
Last synced: 8 months ago
JSON representation
clarity lsp zed extension
- Host: GitHub
- URL: https://github.com/hirosystems/clarity-zed
- Owner: hirosystems
- License: apache-2.0
- Created: 2025-05-15T14:05:22.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-03T19:39:23.000Z (about 1 year ago)
- Last Synced: 2025-06-26T11:56:52.550Z (about 1 year ago)
- Language: Tree-sitter Query
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 14
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Clarity Language Support for Zed
This repository adds Clarity language support to the Zed editor.
Clarity is a decidable, Lisp-like language used for writing smart contracts on the [Stacks Blockchain](https://github.com/stacks-network/stacks-core)
This plugin adds the following:
- Clarity LSP support (Requires [`clarinet`](https://github.com/hirosystems/clarinet) binary in `$PATH`)
- Tree sitter syntax highlighting using https://github.com/xlittlerag/tree-sitter-clarity
## Configuration
The LSP behavior can be customized by adding the following JSON to Zed's `settings.json` file. This example uses the default values:
```json
"lsp": {
"clarity-lsp": {
"enable_lsp_tasks": true,
"initialization_options": {
"completion": true,
"completionSmartParenthesisWrap": true,
"completionIncludeNativePlaceholders": true,
"documentSymbols": false,
"formatting": true,
"goToDefinition": true,
"hover": true,
"signatureHelp": true,
"debugLogging": false
}
}
},
```