LordGolias / linter-sqf

A package for atom-linter for SQF

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

linter-sqf

This linter plugin for Atom-Linter that provides an interface to sqf linter, a linter for the SQF language.

See also language-arma-atom.

Install

  1. Install Python 3 (it must be >=3!)
  2. run pip install sqflint (e.g. in powershell)
  3. Copy the full path of the sqflint script, e.g.
    /Users/lordgolias/.virtualenvs/sqflint/bin/sqflint
    C:\Program Files (x86)\Python36-32\Scripts\sqflint.exe

(in powershell, you get this with get-command sqflint).

  1. Install this package e.g. in the Atom settings. It will ask you to install some dependencies.
  2. Go to the settings of this package, and put the path above into the Executable Path setting (do not change the others).
  3. Create a new file test.sqf in atom, fill it with bla] (i.e. wrong SQF code) and save it. You should see an error message. You are good to go.

Update

Run pip install sqflint --upgrade to upgrade the linter.

About

A package for atom-linter for SQF

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:JavaScript 100.0%