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