ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Line​Messages

by nfaggian ST3 Missing

A generic sublime text plugin for tools that generate line enumerated content that could be visible in the status bar or as regions - for example linters or profilers.

Details

Installs

  • Total 99
  • Win 52
  • OS X 27
  • Linux 20
Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

SublimeLineMessages

A generic sublime text plugin for tools that generate line enumerated content that could be visible in the status bar or as regions - for example linters or profilers

Configuration

Update your configuration to point at your tool executables, like so:

{
    "tools": [
        {
            "name": "pylint",
            "command": "/usr/bin/pylint",
            "options": "--msg-template=\"{path}:{line}: [{msg_id}] {msg}\" -r no",
            "parser": "(.*):(.*):(.*)",
        },
        {
            "name": "pep8",
            "command": "/usr/bin/pep8",
            "options": "",
            "parser": "(.*):.*:(.*):(.*)",
        }
    ],
    "highlight": false,
    "verbose": true
}

Note the user of a parser regular expression, which is used to extract three important components of data from the output of the tool (command).

1. The filename.
2. The line number containing the message.
3. The message (lint output).

Usage

When editing python files, use the key-binding (ctrl-alt-l) to invoke the tools.