Skip to content

Latest commit

 

History

History
53 lines (29 loc) · 2.21 KB

File metadata and controls

53 lines (29 loc) · 2.21 KB

EO Language Server

To enable EO language support in your IDE, you can integrate the EO LSP Server by following these steps:

EO LS demo


Step 1: Install the Language Server

  1. Open an .eo file in your project.

  2. Click on Install LSP Server for EOLANG:

    Open file

  3. This will open the New Language Server Dialog with LSP Server for EOLANG pre-selected:

    New Language Server Dialog

  4. Click OK. This will create the LSP Server for EOLANG definition and start the installation:

    Installing Language Server

  5. Once the installation completes, the server should start automatically and provide EO language support (diagnostics and semantic tokens.).

Troubleshooting Installation

If the installation fails, you can customize the installation settings in the Installer tab,
then click on the Run Installation hyperlink to reinstall the server:

Installer tab

See Installer descriptor for more information.


Step 2: Install TextMate Bundle

Even if EO LSP Server can support LSP semantic tokens, You can also set up the EO TextMate bundle manually.

  • Clone the eo-vscode repository:

    git clone https://github.com/objectionary/eo-vscode.git
    
  • Open TextMate Bundles settings

TextMate Bundles Settings

  • Click the + button and select the folder eo-vscode folder. This folder contains the modified package.json and the TextMate grammar.

Once done, IntelliJ will apply syntax highlighting, bracket matching, and other basic editor features for .eo files.