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