ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Kerbal Space Program Configuration Syntax

by NathanJang ALL

Syntax highlighting in Sublime for Kerbal Space Program config files.

Details

Installs

  • Total 4K
  • Win 3K
  • Mac 986
  • Linux 463
Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11
Windows 1 0 0 0 0 1 0 0 0 0 1 0 1 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 1 0 0 1 1 1 0 0 0 0 0 1 1
Mac 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Kerbal Space Program Configuration Syntax

Screenshot of persistent.sfs

This is a .tmLanguage specification for configuration files in Kerbal Space Program, including persistent.sfs and part.cfg files. I developed this for syntax highlighting when editing these files in Sublime Text.

It mostly supports ModuleManager syntax:

Screenshot of FerramAerospaceResearch.cfg

Note: this screenshot contains data from Ferram-Aerospace-Research by ferram4, licenced under GNU.

KSP configuration.JSON-tmLanguage is the JSON “source” for the specification, which can be “compiled” into the XML .tmLanguage type with AAAPackageDev. All the work is done in the JSON.

Installation

Installation through Package Control is preferred.

Contributing

Please file an issue or fork if you have any suggestions!