ksdmitrieva / electrolint

An open source VSCode plugin for Electron applications
MIT License
10 stars 0 forks source link

Electrolint

Electrolint is an open source VS Code plugin for Electron applications.

Functionality

Electrolint scans Electron applications for security defects using Electronegativity, highlights the findings in the code, and suggests contextual remediation.

Electrolint is developed as part of my PhD research at George Washington University.

Structure

The plugin uses the VS Code Language Server Protocol (LSP) and is built on top of lsp-sample.

.
├── client // Language Client
│   ├── src
│   │   └── extension.ts // Language Client entry point
├── package.json // The extension manifest.
└── server // Language Server
    └── src
        ├── remediation-advice.json // Collection of remediation advice items
        └── server.ts // Language Server entry point

Installing Electrolint

Installing through VS Code UI

  1. Download the electrolint-[version].vsix from this repository.
  2. Open the Extensions panel on the left hand side.
  3. Click on the three dots in the top right corner of the panel and select "Install from VSIX".
  4. Select the downloaded file and click "Install"

Installing from Command Line

  1. Download the electrolint-[version].vsix from this repository.
  2. Open command propmpt where the downloaded extension is located and run the following command:
    code --install-extension electrolint-[version].vsix
  3. Restart VS Code.

Building Electrolint