Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.71 KB

README.md

File metadata and controls

34 lines (21 loc) · 1.71 KB

Wollok Sublime Linter

Build Status

This plugin provides an interface to wchecker which is the Wollok Static Code Analyzer. It will be used with files that have the “wollok” syntax.

Installation

SublimeLinter 3 must be installed in order to use this plugin.

Linter installation

Before using this plugin, you must ensure that wchecker is installed on your system. To install wchecker, do the following:

  1. Download Wollok WDK package.

  2. Uncompress and set the bin folder as part of your PATH environment variable

  3. Check wchecker by typing

    wchecker --version
    

Linter configuration

In order for wchecker to be executed by SublimeLinter, you must ensure that its path is available to SublimeLinter. Before going any further, please read and follow the steps in “Finding a linter executable” through “Validating your PATH” in the documentation.

Once you have installed wchecker, you can install the "SublimeLinter-contrib-wchecker" plugin.

Plugin installation

To install via Package Control, do the following:

  1. Within Sublime, bring up the Command Palette and type install. You should see Package Control: Install Package. Package Control will fetch the list of available plugins.

  2. When the list appears, type wchecker. You should see SublimeLinter-contrib-wchecker. Select it