Contributing: Setup linter sqf plugin in Atom - Global-Conflicts-ArmA/Olsen-Framework-Arma-3 GitHub Wiki
The linter-sqf plugin is a useful tool to improve the quality of your SQF code and helps to avoid bugs. However, setting it up in Atom has proven to be a bit confusing. This is a guide to help you get it working.
Steps:
- Download and install Python 3.x+
- Ensure that your Python install directory, root scripts and local scripts directories are on your PATH:
- Open up command prompt and use
pip
to install the sqflint package:pip install sqflint
- Set your
PYTHONPATH
environment variable to your local scripts directory: - Install the
linter-sqf
package in Atom and open its settings - Set the "Executable Path" to where pip installed the sqflint.exe file: