-
Notifications
You must be signed in to change notification settings - Fork 43
Editing the Syntax Definition
guillermooo edited this page Jun 25, 2014
·
6 revisions
Follow these steps for the most convenient way of editing the Dart syntax definition:
- Install Package Control
- Using Package Control, install AAAPackageDev
Why? If you are interested in editing the Dart syntax definition in Sublime Text, you will most likely find it easier to first generate a more readable YAML file for editing, and then convert it back to Dart.tmLanguage.
- Clone this repo on your local machine
- Open Dart.tmLanguage in Sublime Text
- Open the command palette (Ctrl+Shift+P)
- Select z:AAAPackageDev: Convert to YAML and Rearrange Syntax Definition
- Refer to steps (1) and (2) in the previous section
- Open Dart.YAML-tmLanguage in Sublime Text
- Open the command palette (Ctrl+Shift+P)
- Select z:AAAPackageDev: Convert (YAML, JSON, PList) to...
When you're done editing the syntax file, rembember to delete Dart.YAML-tmLanguage. Don't commit Dart.YAML-tmLanguage.