Eclipse support for LSPs is built into recent versions of Eclipse (this was tested on 2020-06).
Follow these steps in Eclipse:
- Open Window-->Preferences
- Go to General-->Content Types
- Click on Text
- Click on "Add Child..."
- Set Name to "Soar Source File"
- Click OK
- Next to File associations click "Add..."
- For Content type, enter
*.soar
- Repeat the last two steps with
*.tcl
- Click "Apply and close"
- Go to Run-->External Tools-->External Tools Configurations...
- Click on Program
- Press the "New Configuration" button
- Change the Name to "Soar Language Server"
- Under Location, click on "Browse File System..."
- Select "soar-language-server.bat" from the soar-language-server distribution
- Click "Apply"
- Click "Close"
- Go back to Window-->Preferences
- Click on Language Servers
- Click "Add..."
- Under "Associate content-type..." select Text-->Soar Source File
- Under "...with Language Server Launch Configuration" select Program-->Soar
- Language Server
- Click "OK"
- Click "Apply and Close"