Setup GeoDMS language file in Notepad - ObjectVision/GeoDMS GitHub Wiki

GeoDMS language file

The GeoDMS language file is called: GeoDMS_npp_def.xml.

It can be found in the same folder where your GeoDMS version is installed (default: %ProgramFiles%/ObjectVision/GeoDmsversion).

Since GeoDMS 20.19.0 the language file spells the operators and the value types the way the engine registers them - uint32, float32, bool, string, void, true, false, and BaseUnit, IsDefined, LowerBound, asList, makeDir, pointrow and the rest. Re-import it after upgrading: an older copy still lists the mixed-case spellings, and typing those into a configuration raises a case mix-up warning.

import GeoDMS language file

  1. Open Notepad++

  2. Go to Language > User defined Language > Define your language.

  3. Click import and select the .xml-file; the message "Import successful." should appear.

  4. Restart Notepad++, this makes sure the language file is accessible.

  5. Renavigate to the Language dropdown menu and select GeoDMS at the bottom. If you now open a .dms file you should see the syntax highlighted appropriately.

Note: for non-white background Notepad++ themes the C++ language definition is operable.