Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Soar Language Server for Eclipse

Eclipse support for LSPs is built into recent versions of Eclipse (this was tested on 2020-06).

Setup

Follow these steps in Eclipse:

  1. Open Window-->Preferences
  2. Go to General-->Content Types
  3. Click on Text
  4. Click on "Add Child..."
  5. Set Name to "Soar Source File"
  6. Click OK
  7. Next to File associations click "Add..."
  8. For Content type, enter *.soar
  9. Repeat the last two steps with *.tcl
  10. Click "Apply and close"
  11. Go to Run-->External Tools-->External Tools Configurations...
  12. Click on Program
  13. Press the "New Configuration" button
  14. Change the Name to "Soar Language Server"
  15. Under Location, click on "Browse File System..."
  16. Select "soar-language-server.bat" from the soar-language-server distribution
  17. Click "Apply"
  18. Click "Close"
  19. Go back to Window-->Preferences
  20. Click on Language Servers
  21. Click "Add..."
  22. Under "Associate content-type..." select Text-->Soar Source File
  23. Under "...with Language Server Launch Configuration" select Program-->Soar
  24. Language Server
  25. Click "OK"
  26. Click "Apply and Close"