Textmate grammar for Apex with outputs for VSCode, Atom and TextMate.
Last updated 6 months ago by jgrantham .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @salesforce/apex-tmlanguage 
SYNC missed versions from official npm registry.

Salesforce Apex Language Grammar



This repository contains the source code for generating the language grammar files for Salesforce's Apex.


Development and setup of this project has not been tested for Windows OS. You may see a node-gyp error - follow the instrutions here to resolve it.


To build and test install Node.js do the following:

  • Run npm install to install any dependencies.
  • Run gulp to build and run tests.

Output grammars are output in the grammars\ dirctory.

Adding grammar rules

Token structure is based off of Textmate's Language Grammar guidelines

Supported outputs

  • grammars\apex.tmLanguage.cson - for Atom
  • grammars\apex.tmLanguage - TextMate grammar (XML plist)


Tags on this repo get automatically published as a GitHub release and an NPM package through Travis CI.


This repository was copied from https://github.com/dotnet/csharp-tmLanguage

Current Tags

  • 1.3.0                                ...           latest (6 months ago)

5 Versions

  • 1.3.0                                ...           6 months ago
  • 1.2.0                                ...           a year ago
  • 1.1.0                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago

Copyright 2014 - 2016 © taobao.org |