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
Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9
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.