CotEditor/SyntaxMapBuilder
2020-03-22 14:35:51 +09:00
..
.swiftpm/xcode
Sources/SyntaxMapBuilder Avoid force wrapping when adding NSRange to IndexSet 2020-03-14 10:54:08 +09:00
Tests Remove needless unwrapping 2020-03-22 14:35:51 +09:00
.gitignore
Package.resolved
Package.swift Use in constant values Package.swift 2020-02-27 14:57:25 +09:00
README.md Update README in SyntaxMapBuilder 2020-02-27 16:56:12 +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 parse 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