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.
.txt
, etc.) of input files are coloured;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.).
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.
The installation for TextMate is straight forward:
Two files need to be copied at two different locations. The destinations vary, depending on which version of SublimeText you use.
OSX:
/Applications/Sublime\ Text.app/Contents/MacOS/Packages
Sublime Text
- Preferences
- Browse Packages
WINDOWS:
$HomeDir\AppData\Roaming\Sublime Text 3\Installed Packages
hgs
as the language (view - syntax) of an open (grok) filecopy the SublimeText color scheme to one of the two paths described above
go to Sublime Text
- Preferences
- Settings - User
; a file will pop up where you can specity the color scheme you want to use, in this case refer to the one you just copied by its file name. Typically, this could look like this:
// Settings in here override those in "Default/Preferences.sublime-settings", // and are overridden in turn by file type specific settings. { "color_scheme": "Packages/Color Scheme - hgs/hgs.tmTheme" }
NOTE: the file ending of the package is not demanded here (no sublime-package
)!
Color schemes can be viewed, modified, and created using this online theme editor
variable.parameter
storage
: txt, dat, mprops, etprops, fprops, dprops, oprops (note: possibly, it could make sense to highlight the full line (including the path and name of the files), however, I decided to stay parsimoneous for now)Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.