CotEditor/SyntaxMapBuilder
2022-10-10 13:01:09 +09:00
..
Sources/SyntaxMapBuilder Refactor SyntaxMapBuilder 2022-03-18 18:17:46 +09:00
Tests Revert "Replace #file with #filePath" 2020-08-21 18:50:24 +09:00
.gitignore
Package.swift Update SyntaxMapBuilder version 2022-10-10 13:01:09 +09:00
README.md Fix a typo in README 2022-09-20 08:26:51 +09:00

Syntax Map Builder

The command-line helper application for CotEditor development to build SyntaxMap.json from the bundled syntax styles.

SyntaxMap.json gathers the file mapping information of all bundled syntax styles into a single JSON file in advance to prevent parsing each bundled YAML file on every application launch that may take time.

This program is aimed to be used only locally in the CotEditor.app's build phase.

Usage

Give the path to the directory for the bundled syntax files, then JSON string will be printed to the standard output.

$ SyntaxMapBuilder Syntaxes/ > SyntaxMap.json