ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Sublime​Linter-contrib-clang-format

by harrymander ST3

SublimeLinter plugin for clang-format

Details

Installs

  • Total 793
  • Win 392
  • Mac 171
  • Linux 230
May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17
Windows 0 1 1 0 2 0 1 1 1 0 2 0 0 0 0 1 1 0 1 1 0 0 0 3 1 0 0 0 0 0 0 1 2 2 2 0 1 0 0 1 1 2 0 2 2
Mac 0 0 1 3 0 0 0 0 0 0 1 0 0 0 0 0 0 2 2 2 0 0 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 1 0 0 1 1 0
Linux 0 1 0 0 1 2 0 1 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 2 1 0 1 0 0 0 1 0 1 0 1 1 0
01234May 31May 28May 25May 22May 19May 16May 13May 10May 7May 4May 1Apr 28Apr 25Apr 22Apr 19May 31 Linux: 0 Mac: 0 Windows: 0May 30 Linux: 1 Mac: 0 Windows: 1May 29 Linux: 0 Mac: 1 Windows: 1May 28 Linux: 0 Mac: 3 Windows: 0May 27 Linux: 1 Mac: 0 Windows: 2May 26 Linux: 2 Mac: 0 Windows: 0May 25 Linux: 0 Mac: 0 Windows: 1May 24 Linux: 1 Mac: 0 Windows: 1May 23 Linux: 0 Mac: 0 Windows: 1May 22 Linux: 0 Mac: 0 Windows: 0May 21 Linux: 0 Mac: 1 Windows: 2May 20 Linux: 0 Mac: 0 Windows: 0May 19 Linux: 0 Mac: 0 Windows: 0May 18 Linux: 1 Mac: 0 Windows: 0May 17 Linux: 1 Mac: 0 Windows: 0May 16 Linux: 0 Mac: 0 Windows: 1May 15 Linux: 1 Mac: 0 Windows: 1May 14 Linux: 0 Mac: 2 Windows: 0May 13 Linux: 0 Mac: 2 Windows: 1May 12 Linux: 0 Mac: 2 Windows: 1May 11 Linux: 0 Mac: 0 Windows: 0May 10 Linux: 0 Mac: 0 Windows: 0May 9 Linux: 0 Mac: 0 Windows: 0May 8 Linux: 0 Mac: 0 Windows: 3May 7 Linux: 1 Mac: 0 Windows: 1May 6 Linux: 1 Mac: 0 Windows: 0May 5 Linux: 0 Mac: 0 Windows: 0May 4 Linux: 0 Mac: 0 Windows: 0May 3 Linux: 0 Mac: 0 Windows: 0May 2 Linux: 0 Mac: 1 Windows: 0May 1 Linux: 0 Mac: 1 Windows: 0Apr 30 Linux: 2 Mac: 0 Windows: 1Apr 29 Linux: 1 Mac: 1 Windows: 2Apr 28 Linux: 0 Mac: 0 Windows: 2Apr 27 Linux: 1 Mac: 0 Windows: 2Apr 26 Linux: 0 Mac: 0 Windows: 0Apr 25 Linux: 0 Mac: 0 Windows: 1Apr 24 Linux: 0 Mac: 0 Windows: 0Apr 23 Linux: 1 Mac: 0 Windows: 0Apr 22 Linux: 0 Mac: 1 Windows: 1Apr 21 Linux: 1 Mac: 0 Windows: 1Apr 20 Linux: 0 Mac: 0 Windows: 2Apr 19 Linux: 1 Mac: 1 Windows: 0Apr 18 Linux: 1 Mac: 1 Windows: 2Apr 17 Linux: 0 Mac: 0 Windows: 2May 31 Linux: 0 Mac: 0 Windows: 0May 30 Linux: 1 Mac: 0 Windows: 1May 29 Linux: 0 Mac: 1 Windows: 1May 28 Linux: 0 Mac: 3 Windows: 0May 27 Linux: 1 Mac: 0 Windows: 2May 26 Linux: 2 Mac: 0 Windows: 0May 25 Linux: 0 Mac: 0 Windows: 1May 24 Linux: 1 Mac: 0 Windows: 1May 23 Linux: 0 Mac: 0 Windows: 1May 22 Linux: 0 Mac: 0 Windows: 0May 21 Linux: 0 Mac: 1 Windows: 2May 20 Linux: 0 Mac: 0 Windows: 0May 19 Linux: 0 Mac: 0 Windows: 0May 18 Linux: 1 Mac: 0 Windows: 0May 17 Linux: 1 Mac: 0 Windows: 0May 16 Linux: 0 Mac: 0 Windows: 1May 15 Linux: 1 Mac: 0 Windows: 1May 14 Linux: 0 Mac: 2 Windows: 0May 13 Linux: 0 Mac: 2 Windows: 1May 12 Linux: 0 Mac: 2 Windows: 1May 11 Linux: 0 Mac: 0 Windows: 0May 10 Linux: 0 Mac: 0 Windows: 0May 9 Linux: 0 Mac: 0 Windows: 0May 8 Linux: 0 Mac: 0 Windows: 3May 7 Linux: 1 Mac: 0 Windows: 1May 6 Linux: 1 Mac: 0 Windows: 0May 5 Linux: 0 Mac: 0 Windows: 0May 4 Linux: 0 Mac: 0 Windows: 0May 3 Linux: 0 Mac: 0 Windows: 0May 2 Linux: 0 Mac: 1 Windows: 0May 1 Linux: 0 Mac: 1 Windows: 0Apr 30 Linux: 2 Mac: 0 Windows: 1Apr 29 Linux: 1 Mac: 1 Windows: 2Apr 28 Linux: 0 Mac: 0 Windows: 2Apr 27 Linux: 1 Mac: 0 Windows: 2Apr 26 Linux: 0 Mac: 0 Windows: 0Apr 25 Linux: 0 Mac: 0 Windows: 1Apr 24 Linux: 0 Mac: 0 Windows: 0Apr 23 Linux: 1 Mac: 0 Windows: 0Apr 22 Linux: 0 Mac: 1 Windows: 1Apr 21 Linux: 1 Mac: 0 Windows: 1Apr 20 Linux: 0 Mac: 0 Windows: 2Apr 19 Linux: 1 Mac: 1 Windows: 0Apr 18 Linux: 1 Mac: 1 Windows: 2Apr 17 Linux: 0 Mac: 0 Windows: 2May 31 Linux: 0 Mac: 0 Windows: 0May 30 Linux: 1 Mac: 0 Windows: 1May 29 Linux: 0 Mac: 1 Windows: 1May 28 Linux: 0 Mac: 3 Windows: 0May 27 Linux: 1 Mac: 0 Windows: 2May 26 Linux: 2 Mac: 0 Windows: 0May 25 Linux: 0 Mac: 0 Windows: 1May 24 Linux: 1 Mac: 0 Windows: 1May 23 Linux: 0 Mac: 0 Windows: 1May 22 Linux: 0 Mac: 0 Windows: 0May 21 Linux: 0 Mac: 1 Windows: 2May 20 Linux: 0 Mac: 0 Windows: 0May 19 Linux: 0 Mac: 0 Windows: 0May 18 Linux: 1 Mac: 0 Windows: 0May 17 Linux: 1 Mac: 0 Windows: 0May 16 Linux: 0 Mac: 0 Windows: 1May 15 Linux: 1 Mac: 0 Windows: 1May 14 Linux: 0 Mac: 2 Windows: 0May 13 Linux: 0 Mac: 2 Windows: 1May 12 Linux: 0 Mac: 2 Windows: 1May 11 Linux: 0 Mac: 0 Windows: 0May 10 Linux: 0 Mac: 0 Windows: 0May 9 Linux: 0 Mac: 0 Windows: 0May 8 Linux: 0 Mac: 0 Windows: 3May 7 Linux: 1 Mac: 0 Windows: 1May 6 Linux: 1 Mac: 0 Windows: 0May 5 Linux: 0 Mac: 0 Windows: 0May 4 Linux: 0 Mac: 0 Windows: 0May 3 Linux: 0 Mac: 0 Windows: 0May 2 Linux: 0 Mac: 1 Windows: 0May 1 Linux: 0 Mac: 1 Windows: 0Apr 30 Linux: 2 Mac: 0 Windows: 1Apr 29 Linux: 1 Mac: 1 Windows: 2Apr 28 Linux: 0 Mac: 0 Windows: 2Apr 27 Linux: 1 Mac: 0 Windows: 2Apr 26 Linux: 0 Mac: 0 Windows: 0Apr 25 Linux: 0 Mac: 0 Windows: 1Apr 24 Linux: 0 Mac: 0 Windows: 0Apr 23 Linux: 1 Mac: 0 Windows: 0Apr 22 Linux: 0 Mac: 1 Windows: 1Apr 21 Linux: 1 Mac: 0 Windows: 1Apr 20 Linux: 0 Mac: 0 Windows: 2Apr 19 Linux: 1 Mac: 1 Windows: 0Apr 18 Linux: 1 Mac: 1 Windows: 2Apr 17 Linux: 0 Mac: 0 Windows: 2

Readme

Source
raw.​githubusercontent.​com

SublimeLinter-contrib-clang-format

This linter plugin for SublimeLinter provides an interface to clang-format. It will be used with files that have the C and C++ syntaxes.

Installation

SublimeLinter must be installed in order to use this plugin.

Please use Package Control to install the linter plugin.

Before installing this plugin, you must ensure that clang-format is installed on your system.

In order for clang-format to be executed by SublimeLinter, you must ensure that its path is available to SublimeLinter. The docs cover troubleshooting PATH configuration.

Settings

By default, linting will only be enabled if a .clang-format file is present in one of the parent directories of the file being processed. To override this behaviour, set the style or fallback-style options (see table below) to one of the preset styles: run clang-format --help for a list of the available presets.

Setting Description
style Formatting style. Default is file, which will use the .clang-format file in one of the parent directories of the file being linted.
fallback-style Style to use if style is file and no .clang-format file can be found. Default is none, which disables linting if no .clang-format file is found.

For example, to use GNU style, add the following to your Sublime Text settings or project settings:

{
    "SublimeLinter.linters.clang-format.style": "GNU"
}