GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - pfultz2/ClangComplete: Clang completion for sublime

BranchesTags
Open more actions menu

Latest commit

 

History

127 Commits
127 Commits

Folders and files

NameName
Last commit message
Last commit date
complete
complete
 
 
.gitignore
.gitignore
 
 
ClangComplete.sublime-settings
ClangComplete.sublime-settings
 
 
Default.sublime-commands
Default.sublime-commands
 
 
Default.sublime-keymap
Default.sublime-keymap
 
 
ErrorPanel.tmLanguage
ErrorPanel.tmLanguage
 
 
Main.sublime-menu
Main.sublime-menu
 
 
README.md
README.md
 
 
clangcomplete.py
clangcomplete.py
 
 

Repository files navigation

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

About

Clang completion for sublime

Resources

Readme
Activity

Stars

110 stars

Watchers

12 watching

Forks

17 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.