• Stars
    star
    110
  • Rank 316,770 (Top 7 %)
  • Language
    C++
  • Created over 11 years ago
  • Updated almost 6 years ago

Reviews

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

Repository Details

Clang completion for sublime

ClangComplete

Description

Clang completion for Sublime Text 3. Additionally, it provides diagnostics and some simple navigation capabilites.

Installation

First, clone this repo into your sublime packages folder(it doesn't use Package Control). Then cd into the complete directory and type:

make

This will build the complete.so binary. It requires the development version of Clang to build(the package libclang-dev on debian-based distros). To get the appropriate development package on OS X, install LLVM via Homebrew:

brew install --with-clang --with-all-targets --with-rtti --universal --jit llvm

Usage

ClangComplete provides code completion for C, C++, and Objective-C files. To figure out the compiler flags needed to parse the file, ClangComplete looks into the build directory in the project folder for the cmake build settings. If the build directory is placed somewhere else the build_dir can be set to the actual build directory. Also if cmake is not used, options can be manually set by setting the default_options setting.

ClangComplete also shows diagnostics whenever a file is saved, and provides Goto Definition functionality. Here are the default shortcuts for ClangComplete:

Key Action
alt+d, alt+d Go to definition
alt+d, alt+c Clear cache
alt+d, alt+t Show type

Support

Donate

More Repositories

1

Cloak

A mini-preprocessor library to demostrate the recursive capabilites of the preprocessor
C
882
star
2

Linq

Linq for list comprehension in C++
C++
650
star
3

cget

C++ package retrieval
Python
437
star
4

Tick

Trait introspection and concept creator for C++11
C++
182
star
5

args

Simple and type-safe commandline argument parser for C++14
C++
65
star
6

cmake-get

Get dependencies with cmake
CMake
63
star
7

ZLang

A plugin framework for namespace macros in C/C++
C
31
star
8

Pythy

Having it all now: Pythy syntax for C++11
C
23
star
9

Pino

Python template preprocessor
Python
16
star
10

cget-recipes

Recipes for cget
CMake
16
star
11

Hero

C++ heterogeneous sequence library
C++
10
star
12

cppcheck-rules

C++
8
star
13

Ripple

C preprocessor library
C
7
star
14

hmr

high-performance modern ranges
C++
5
star
15

boost-cmake

CMake
5
star
16

libclangpp

C++ bindings for libclang
C++
5
star
17

cppcheck-fuzzer

Fuzzing scripts for cppcheck
Python
4
star
18

mkdocs-boost

Boost theme for mkdocs
CSS
4
star
19

Zelda

The missing link for C++
C++
4
star
20

boost-cmake-demo

C++
4
star
21

Prove

Lightweight C++ test framework
C++
3
star
22

Zx11

The C++11 library
Objective-C
3
star
23

Yeta

Yet another metaprogramming library
C++
2
star
24

Fusion-Fun

Macro extensions to boost fusion
2
star
25

Zen

C++
2
star
26

tidy-example

CMake
2
star
27

sphinx-boost

Boost theme for sphinx
CSS
1
star
28

Apex

The culmination of algorithms in C++
1
star
29

pcre

C
1
star
30

Wind

C++14 Parser combinator library
C++
1
star
31

Introspection

Introspection library for C++11
1
star
32

cget-travis-recipes

Cget recipes for travis
CMake
1
star
33

Swamp

Soak testing for C++, using Docker
Shell
1
star
34

Cake

Cmake as easy as cake
CMake
1
star
35

cget-boost-recipes

Cget recipes for boost libraries
CMake
1
star