CotEditor/Packages/SyntaxMap
2024-09-15 18:24:50 +09:00
..
Sources Move SyntaxMap package 2024-06-13 22:16:17 +09:00
Tests/SyntaxMapTests Add unit tests 2024-07-18 22:42:37 +09:00
.swiftlint.yml Run swiftlint also for packages 2024-06-30 23:46:07 +09:00
Package.swift Update location of swiftlint plugin 2024-09-15 18:24:50 +09:00
README.md Move SyntaxMap package 2024-06-13 22:16:17 +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