Salesforce language support for Zed editor.
- Apex syntax highlighting (
.cls,.triggerfiles) - SOQL syntax highlighting (
.soqlfiles) - SOSL syntax highlighting (
.soslfiles) - Embedded SOQL/SOSL highlighting within Apex code
- Bracket matching and auto-indentation for Apex
- Open Zed
- Open the Extensions panel (
Cmd+Shift+Xon macOS) - Search for "Rustforce"
- Click Install
This extension uses the excellent tree-sitter-sfapex grammars by @aheber.
# Clone the repository
git clone https://github.com/avinkrisv/rustforce.git
cd rustforce
# Build the extension
cargo build --release --target wasm32-wasip1
# Install as dev extension in Zed
# 1. Open Zed command palette (Cmd+Shift+P)
# 2. Run "zed: install dev extension"
# 3. Select this directoryMIT License - see LICENSE for details.