General HydroStatics
Ship Stability Software |
Command of the Week
(New or interesting aspects of GHS that you may not know about) |
EDIT /PROG: NOTEPAD++
|
A special form of EDIT, triggered by the /PROG parameter, allows a user to specify their favorite text editor. So for example, |
edit /prog: C:\util\Notepad++\Program\notepad++.exe |
sets the default program for editing run files to Notepad++, the author's favorite editor for GHS. Notepad++ is free to use and has many powerful features, while remaining no more difficult to use than regular Notepad. You can find more information and a download link at https://notepad-plus-plus.org/. |
But let's back up, why even bother... what's wrong with regular old Notepad? Well nothing really, but why abstain from helpful features like these:
|
One of our team members uses Notepad++ and spent some time creating a basic
language file for GHS. If you want to download the user-defined language file for GHS, click
here.
It is very easy to modify the language to suit your personal code formatting tastes.
Some might say this article is hardly about the EDIT command. Even so, we hope you find it helpful.
|