Code Monkey home page Code Monkey logo

clangcomplete's Introduction

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).

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

clangcomplete's People

Contributors

abuus avatar pfultz2 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.