Skip to main content

deploy-apex-grammar

Build apex-tmLanguage grammars and deploy them to all Salesforce extensions in the IDE. Use when deploying grammar changes, testing syntax highlighting, or when the user asks to deploy/copy grammars to the IDE.

Jump to install

Source facts

Repository
forcedotcom/apex-tmLanguage
Last source activity
March 25, 2026 at 18:42
Detected SKILL.md language
English
Stars
40
Forks
8

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
2 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
deploy-apex-grammar
description
Build apex-tmLanguage grammars and deploy them to all Salesforce extensions in the IDE. Use when deploying grammar changes, testing syntax highlighting, or when the user asks to deploy/copy grammars to the IDE.
# Deploy Apex Grammar to IDE ## Workflow 1. **Build**: Run `yarn install && yarn build` from the apex-tmLanguage project root. 2. **Deploy**: Run `bash .cursor/skills/deploy-apex-grammar/scripts/deploy.sh` from the project root. 3. **Reload**: Tell the user to reload the window (Command Palette → "Developer: Reload Window"). ## Deploy targets The script copies to all Salesforce extensions that use these grammars: | Extension | Path | Files | |-----------|------|-------| | salesforcedx-vscode-apex | grammars/ | apex, soql | | apex-language-server-extension | grammars/ | apex, soql | | salesforcedx-vscode-soql | grammars/ | soql | Searches both `~/.cursor/extensions/` and `~/.vscode/extensions/`. ## One-liner ```bash yarn install && yarn build && bash .cursor/skills/deploy-apex-grammar/scripts/deploy.sh ```
View on GitHub