Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.46 KB

README.md

File metadata and controls

40 lines (30 loc) · 1.46 KB

SublimeLinter-annotations

Build Status

This linter plugin for SublimeLinter highlights annotations in comments such as FIXME, NOTE, TODO, @todo, XXX, and README. It will be used with all files.

Installation

SublimeLinter must be installed in order to use this plugin.

Please use Package Control to install the linter plugin.

Settings

Additional SublimeLinter-annotations settings:

Setting Description
warnings Comma-delimited list of words that will be highlighted as warnings.
errors Comma-delimited list of words that will be highlighted as errors.
infos Comma-delimited list of words that will be highlighted as infos.
mark_message Whether the rest of the comment line should be marked or just the word.
selector_ (advanced) A scope selector for regions that the word lists will be searched in.

Matching is case-sensitive and matches whole words.

For example:

"linters": {
    "annotations": {
        "infos": ["NOTA BENE", "FYI"],
        "warnings": ["FOO", "BAR"],
        "errors": ["WHAT?", "OMG!"]
    }
}