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

Easy​Clang​Complete

by niosus ST3

:boom: Robust C/C++ code completion for Sublime Text 3/4

Details

Installs

  • Total 53K
  • Win 21K
  • Mac 10K
  • Linux 22K
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 Apr 16 Apr 15
Windows 2 3 7 1 3 1 2 2 6 5 2 3 3 2 5 3 7 6 1 2 1 2 0 2 3 4 1 4 2 7 4 7 7 7 6 7 3 4 3 5 2 6 1 3 7 2
Mac 0 0 3 3 1 3 2 2 0 2 6 2 1 1 1 0 1 0 0 0 2 1 0 2 0 2 1 0 0 1 0 0 0 3 2 2 1 1 1 0 0 1 0 1 3 3
Linux 0 2 2 1 1 3 3 5 2 6 4 2 2 3 2 0 6 4 2 2 1 2 1 2 1 1 1 3 4 2 1 2 5 6 7 5 0 0 2 4 2 2 2 1 1 2

Readme

Source
raw.​githubusercontent.​com

EasyClangComplete

Plugin for Sublime Text 3 for easy to use, out of the box autocompletions for C, C++, Objective-C, and Objective-C++.

Example

Documentation Release Downloads Month GitHub build Coverage Badge Donate OpenCollective Backers

Simple start in just 3 steps!

1. Install this plugin

  • In Sublime Text press CTRL+Shift+P and install EasyClangComplete using Package Control.

2. Install clang

  • Ubuntu : sudo apt-get install clang
  • OSX : ships clang by default. You are all set!
  • Windows : install the latest release from clang website.
  • Other Systems : use your package manager or install from clang website.
  • clang website: http://llvm.org/releases/download.html

3. Configure your compiler flags and include folders

Do you use CMake?

You're in luck! The plugin will run cmake on a proper CMakeLists.txt in your project folder and will use information from it to complete your code out of the box! For more details, read the plugin docs about CMake.

Bazel? (Linux and MacOS only)

If you use Bazel, you can run a command Generate compilation database that is shipped with this plugin, which will generate a compile_commands.json in the source folder of your project. The plugin will take it from there.

Don't like CMake or Bazel?

Don't worry! There are plenty of ways to configure the plugin! Read the related documentation for more info!

Extensive documentation

There are so many things I want to tell you! There is so much the plugin is capable of! Read the docs to get started!

Contribute to the project

This project exists thanks to all the people who contribute. Feel free to open an issue if something is not clear or a PR if you want to implement some missing functionality or fix a bug. Check out the contribution guide for that.

Support this project!

╔═╗┌─┐┌─┐┬ ┬  ╔═╗┬  ┌─┐┌┐┌┌─┐  ╔═╗┌─┐┌┬┐┌─┐┬  ┌─┐┌┬┐┌─┐
                     ║╣ ├─┤└─┐└┬┘  ║  │  ├─┤││││ ┬  ║  │ ││││├─┘│  ├┤  │ ├┤
                     ╚═╝┴ ┴└─┘ ┴   ╚═╝┴─┘┴ ┴┘└┘└─┘  ╚═╝└─┘┴ ┴┴  ┴─┘└─┘ ┴ └─┘