From the Docker Hub tab search for sumojedit, select the link, then Run which
will pull the image down. A 'Run a new container' dialog will appear. Under
Ports (Host port) - type 8080 and Run. The container page will show Tomcat
startup on the Logs tab
NOTE: If you are running a firewall, you may need to add Docker to that list
To use SUMOjEdit, from the Exec tab of the running container:
bash
jedit
If the SUMOjEdit UI has a black background instead of white when it is focused:
Run the following, then restart XQuartz and SUMOjEdit:
startup jEdit and wait a moment since it loads all the kif files specified in your Sigma
config.xml, all of WordNet, VerbNet, etc. You may begin to use the editor even though
plugin features will be disabled until this finishes.
load a .kif or .tptp file
go to Plugins->SUMOjEdit Plugin->check for SUO-KIF errors
you can also highlight a SUO-KIF expression, then Plugins->SUMOjEdit Plugin->query on highlighted expression.
If you have Vampire installed and it finds a proof, a new buffer will be opened to display the proof.
It should work with Eprover too, but needs testing.
other functions are "format axioms" which will reformat a highlighted axiom with standard SUMO indentation.
"go to definition" will make a guess at where the definition for a selected term starts, open the source file
and put the cursor at that point in the source file.
"browse term in Sigma" will open the public Sigma site in your browser opened on the selected term.
when typing SUO-KIF in the editor, use either Cntl+Space (universal), or Opt+Tab (macOS) to activate the completion menu.
Activity log - it's good to monitor SUMOjEdit from jEdit's activity log by selecting Utilities->Troubleshooting->Activity Log.
When the dialog is open, select tail to get continuous updates.
Dock the dialog to the base area of jEdit to monitor continuously. Same with the ErrorList Dialog
you may wish to customize by right clicking in the editor and selecting "Customize This Menu,"
select the "Context Menu" under jEdit, then the '+' symbol. First, add a seperator, then select
"Plugin: SUMOjEdit Plugin" from the Command or macro: dialog menu and add "format axioms",
"go to definition" and "query on highlighted expressions", which are handy to have on the context
menu as well as the main plugin menu. In later versions this may already be performed as part of
the configuration, but for now you'll need to add the menu items manually.
select the ErrorList from Plugins and dock the dialog to the base of jEdit.
From the Plugin Manager, select ErrorList and select all available features.
install the EditorScheme plugin with Plugins->PluginManager->Install-EditorScheme then
Plugins-EditorScheme->SchemeSelector. I like the Neon theme as the best "Dark mode" option
if you have a small screen or imperfect eyes you may wish to adjust the font size with
Utilities->GlobalOptions->jEdit->TextArea->TextFont
To build/run/debug/test on macOS using the NetBeans IDE
=============================
Define a nbproject/private/private.properties file with these keys: