Skip to content

idleberg/SublimeLinter-contrib-makensis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SublimeLinter-contrib-makensis

The MIT License Package Control GitHub CircleCI

This linter plugin for SublimeLinter provides an interface to makensis. It will be used with NSIS scripts.

Prerequisites

Before using this plugin, you must ensure that NSIS v3.02.1 (or higher) is installed on your system. To do so, follow these steps:

Windows

Download the NSIS installer from SourceForge and run setup. Once completed, you need to add the installation folder to your environmental variable manually.

Alternatively, you can install NSIS using the Scoop package manager:

$ scoop install nsis/nsis

Linux

Install NSIS from your distribution's default package manager, for example:

# Debian
sudo apt-get install -t unstable nsis

# Red Hat
sudo dnf install nsis

macOS

Install NSIS using Homebrew or MacPorts:

# Homebrew
brew install nsis

# MacPorts
port install nsis

Installation

Package Control

  1. Make sure you have Package Control installed
  2. Choose “Install Package” from the Command Palette (Super+Shift+p)
  3. Type “SublimeLinter-contrib-makensis” and press Enter

With the auto_upgrade setting enabled, Package Control will keep all installed packages up-to-date!

Using Git

  1. Change to your Sublime Text Packages directory
  2. Clone repository git clone https://github.com/idleberg/SublimeLinter-contrib-makensis.git SublimeLinter-contrib-makensis

Settings

Please refer to the official documentation in order to tweak the SublimeLinter settings or linter settings.

Plugin Settings

To configure this plugin, bring up the Command Palette and type Preferences: SublimeLinter Settings. The following options are available:

Option Default Description
preprocess_mode SAFEPPO Lints much faster, but ignores warnings (equivalent of -PPO flag)
strict false Treats warnings as errors (equivalent of -WX flag)

Example:

{
  "linters": {
    "makensis": {
      "@disable": false,
      "args": [],
      "excludes": [],
      "preprocess_mode": "SAFEPPO",
      "strict": false
    }
  }
}

License

This work is licensed under the The MIT License