https://github.com/objectionary/eo-vscode
VSCode Extension for the EO Language with a Language Server
https://github.com/objectionary/eo-vscode
eolang typescript vscode vscode-plugin
Last synced: 10 months ago
JSON representation
VSCode Extension for the EO Language with a Language Server
- Host: GitHub
- URL: https://github.com/objectionary/eo-vscode
- Owner: objectionary
- License: mit
- Created: 2022-10-14T13:46:52.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-04-24T06:25:36.000Z (10 months ago)
- Last Synced: 2025-04-24T07:36:04.820Z (10 months ago)
- Topics: eolang, typescript, vscode, vscode-plugin
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=eolang.eo
- Size: 768 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README



[](https://sonarcloud.io/summary/new_code?id=EOLangVSCode_eo-vscode)
[](https://sonarcloud.io/summary/new_code?id=EOLangVSCode_eo-vscode)

This is the VSCode plugin for [EO](https://github.com/objectionary/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](https://marketplace.visualstudio.com/items?itemName=eolang.eo) at Visual Studio Marketplace.
## Structure
Theis extension is written in **TypeScript**, was developed with **Node 16** and has two main parts: the client and the server. Inside `server/src` yo can find all the code related to the server side. All the code for the client side is located at `client/src`.
The code parser is generated with ANTLR4 using the latest version of the EO grammar located in this [link](https://raw.githubusercontent.com/objectionary/eo/master/eo-parser/src/main/antlr4/org/eolang/parser/Program.g4).
Publishing the extension is done with [Rultor](https://github.com/yegor256/rultor) (see `.rultor.yml`).
## How to Contribute
Read the code documentation which can be found [here](https://www.objectionary.com/eo-vscode/).
Clone the repository. Install node modules with:
```bash
$ npm install
```
Download grammar file and generate ANTLR4 parser automatically with:
```bash
$ npm run fetch-and-build-grammar
```
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:
```bash
$ npm run unit-test
$ npm run end-to-end-test
```
If you have modified any of the code documentation, generate new documentation files with:
```bash
$ npm run generate-docs
```
Create a pull request. To avoid frustration, run:
```bash
$ npm run linter
$ npm run compile
```
before commiting.