apex-tmlanguagedeprecated

Textmate grammar for Apex with outputs for VSCode, Atom and TextMate.

Usage no npm install needed!

<script type="module">
  import apexTmlanguage from 'https://cdn.skypack.dev/apex-tmlanguage';
</script>

README

Salesforce Apex Language Grammar

CircleCI

Introduction

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

Disclaimer

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.

Development

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)

Releasing

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

Attribution

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