CotEditor/SyntaxMapBuilder
2023-07-25 22:56:52 +09:00
..
Sources/SyntaxMapBuilder Rename syntax style with syntax 2023-07-25 22:56:52 +09:00
Tests/SyntaxMapBuilderTests Change styling rule to omit blank lines before closing brackets 2022-12-15 19:41:35 +09:00
.gitignore Init package directory for SyntaxMapBuilder 2020-02-27 01:53:00 +09:00
Package.swift Downgrade Swift version for SyntaxMapBuilder 2023-04-28 20:58:02 +09:00
README.md Rename syntax style with syntax 2023-07-25 22:56:52 +09:00

Syntax Map Builder

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

SyntaxMap.json gathers the file mapping information of all bundled syntaxes 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