-
Notifications
You must be signed in to change notification settings - Fork 1
Configuration File Editor
GeoDMS configuration files can be viewed or editted with an ASCII editor. We advice to use an editor supporting parameters for opening a file and positioning a cursor. This makes editing easy, the menu option: edit configuration source in the GeoDMS GUI can immediately show the relevant part of the code (if the setting in the Tools > Options is correctly configured).
We have experience and made language definition files available (highlighting the GeoDMS grammar in different colors) for two editors.
As the development of Crimson Editor is stopped, we advice to use Notepad ++.
For intensive users we recommend using Visial Studio Code (https://code.visualstudio.com/download). You can also download a language file (HERE), and past that in C:\Users\%USER%\.vscode\extensions. Then open Visual Studio Code, and pres ctr+shft+X, and you should see the GeoDMS language support
If you open an .dms file it should automatically highlight your script according to the language file. If not, choose on the bottom right where it might say plain text, select the GeoDMS language.
In the GeoDMS GUI, configure the Local Machine Option to enable jumping to the editor. By setting up, XXX.
To be added!
In VS Code pres ctrl + , and add between the main accolades:
,"[geodms]": {
"editor.semanticHighlighting.enabled": false,
"editor.bracketPairColorization.enabled": false,
"editor.guides.bracketPairs": false
}
We recommend using the text editor: Notepad++,. A language file for each software release is available in the same folder as the installed GeoDMS software (%programfiles%/ObjectVision/GeoDmsVersion).
For instructions on how to import the language file into Notepad++ see Setup GeoDMS language file in Notepad++.
To make sure GeoDMS understands where Notepad++ is installed, select your application with the folder button next to application. The application control shows the path of the editor, e.g.: "C:/Program Files/Notepad++/Notepad++.exe"
Parameters can be set to open the correct file and position in the file. With the button: Set default parameters for editor, the advised settings are set, e.g.: "%F" -n%L for Notepad++. See the documentation for your editor if other parameters are desired.
If you installed Notepad ++ in a different folder as Notepad suggested, adjust the reference to the folder.
If your command line parameters do not work, see the issue Notepad++ command line parameters not working.
For Crimson Editor (if you still want to use it, use version 3.70.), language definition files can de downloaded here: CE_syntax_files
Copy the contents of the zip file in the indicated folders in the Crimson Editor program files folder.
In the GeoDMS GUI the setting for Settings > local machine options > application should be:
"%ProgramFiles32%\Crimson Editor\cedt.exe"
with as command line parameters:
/L:%L "%F"
If you installed Crimson Editor in a different folder as the folder Crimson Editor suggested, adjust the reference to the folder. If your folder contains spaces please use the quoted full path as in the NotePad++ example.
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.