Skip to content

Latest commit

 

History

History
106 lines (79 loc) · 4.19 KB

README.md

File metadata and controls

106 lines (79 loc) · 4.19 KB

SublimeLinter

Build Status

The code linting framework for Sublime Text 3. No linters included: get them via Package Control.

Installation

By Package Control

  1. Download & Install Sublime Text 3 (https://www.sublimetext.com/3)
  2. Go to the menu Tools -> Install Package Control, then, wait few seconds until the installation finishes up
  3. Now, Go to the menu Preferences -> Package Control
  4. Type Add Channel on the opened quick panel and press Enter
  5. Then, input the following address and press Enter
    https://raw.githubusercontent.com/evandrocoan/StudioChannel/master/channel.json
    
  6. Go to the menu Tools -> Command Palette... (Ctrl+Shift+P)
  7. Type Preferences: Package Control Settings – User on the opened quick panel and press Enter
  8. Then, find the following setting on your Package Control.sublime-settings file:
    "channels":
    [
        "https://packagecontrol.io/channel_v3.json",
        "https://raw.githubusercontent.com/evandrocoan/StudioChannel/master/channel.json",
    ],
  9. And, change it to the following, i.e., put the https://raw.githubusercontent... line as first:
    "channels":
    [
        "https://raw.githubusercontent.com/evandrocoan/StudioChannel/master/channel.json",
        "https://packagecontrol.io/channel_v3.json",
    ],
    • The https://raw.githubusercontent... line must to be added before the https://packagecontrol.io... one, otherwise, you will not install this forked version of the package, but the original available on the Package Control default channel https://packagecontrol.io...
  10. Now, go to the menu Preferences -> Package Control
  11. Type Install Package on the opened quick panel and press Enter
  12. Then, search for SublimeLinter and press Enter

See also:

  1. ITE - Integrated Toolset Environment
  2. Package control docs for details.

Settings

Settings are mostly documented in the default settings. When you open the SublimeLinter settings you'll see them on the left.

  • Additional information is in our docs at sublimelinter.com.
  • Read about all the changes between 3 and 4 here.

Key Bindings

SublimeLinter comes with some pre-defined keyboard shortcuts. You can customize these via the Package Settings menu.

Command Linux & Windows MacOS
Lint this view CTRL + K, L CTRL + CMD + L
Show all errors CTRL + K, A CTRL + CMD + A
Goto next error CTRL + K, N CTRL + CMD + E
Goto prev error CTRL + K, P CTRL + CMD + SHIFT + E

Support & Bugs

Please use the debug mode and include all console output, and your settings in your bug report. If your issue is specific to a particular linter, please report it on that linter's repository instead.

Creating a linter plugin

Fork the template to get started on your plugin. It contains a howto with all the information you need.


If you use SublimeLinter and feel it is making your coding life better and easier, please consider making a donation for all the coffee and beer involved in this project. Thank you!

Donate via: