Skip to content

objectionary/eo-vscode

Repository files navigation

VSCode plugin for EO

Build Coverage GitHub

This is the VSCode plugin for EO. It provides semantic highlighting, parsing error checking and EO file icon for your .eo files.

To install it, launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter:

ext install eolang.eo

You can also install it from its page at Visual Studio Marketplace.

Structure

This extension is written in TypeScript, was developed with Node 18 and has two primary components:

  • Client: The source code is located in src.
  • Server: We're using the eo-lsp-server as the server.

Publishing the extension is done with Rultor (see .rultor.yml).

How to Contribute

Read the code documentation.

Clone the repository. Install node modules with:

npm install

Make changes on a new branch. You can run an instance of VSCode with the extension running by hitting F5 in the code editor. After modifications, test your code with:

npm run test
npm run end-to-end-test

Create a pull request. To avoid frustration, run:

npm run lint
npm run compile

before committing.