language-grok

HydroGeoSphere's grok preprocessor

gastoneb

152

0

0.3.8

MIT

GitHub

HydroGeoSphere Language Grammar

This repository contains the necessary files for codehighlighting / 'syntax'-highlighting of HydroGeoSphere input files (grok, mprops, etc.): The definition of the syntax of such input files, and the definition of which syntax to show in what coloring options.

Features

Text Editors

There are various options for text editors that understand this setup, it is tested using

Other text editors that understand tmLanguage syntax specifications exist (Atom, Visual Studio Code, etc.).

Comparison: grok file without (left) and with (right) hgs syntax highlighted.
Comparison: grok file without (left) and with (right) hgs syntax highlighted.
Screenshot of SublimeText with hgs syntax highlighted.
Screenshot of SublimeText with hgs syntax highlighted.

This repository contains "compiled" version of the necessary files that need to be put into proper folders (see Section "Installation"). This repository contains also the syntax definition as ASCII file.

Installation

TextMate

The installation for TextMate is straight forward:

  1. download the hgs.tmbundle
  2. double click and follow the instructions

SublimeText

Two files need to be copied at two different locations. The destinations vary, depending on which version of SublimeText you use.

Directories

OSX:

WINDOWS:

1. Syntax Definition

2. Color Scheme

NOTE: the file ending of the package is not demanded here (no sublime-package)!

Color Schemes

Color schemes can be viewed, modified, and created using this online theme editor

References

Release Notes

2017-Mar-02

2016-Feb-28

2016-Apr-18