Deploy Apex Grammar to IDE
Workflow
- Build: Run
yarn install && yarn buildfrom the apex-tmLanguage project root. - Deploy: Run
bash .cursor/skills/deploy-apex-grammar/scripts/deploy.shfrom the project root. - 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
yarn install && yarn build && bash .cursor/skills/deploy-apex-grammar/scripts/deploy.sh