• Stars
    star
    569
  • Rank 78,369 (Top 2 %)
  • Language
    Python
  • License
    MIT License
  • Created over 8 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

💥 Robust C/C++ code completion for Sublime Text 3/4

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!

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