mooz / auto-complete-c-headers Goto Github PK
View Code? Open in Web Editor NEWAn auto-complete source for C/C++ header files
An auto-complete source for C/C++ header files
;; auto-complete-config with emacs
(require 'auto-complete)
(require 'auto-complete-config)
(ac-config-default)
;; auto-complete-config c/c++ headers
(defun my:ac-c-header-init ()
(require 'auto-complete-c-headers)
(add-to-list 'ac-sources 'ac-source-c-headers)
(add-to-list 'achead:include-directories '"/usr/include/c++/5"))
(add-hook 'c++-mode-hook 'my:ac-c-header-init)
(add-hook 'c-mode-hook 'my:ac-c-header-init)
When I visit a remote file via tramp I am not able to complete the file paths, because there is a remote prefix that is missing.
The package cl-lib
has existed since Emacs 24.3, released in 2013.
It supplies everything you need from the package cl
and is smaller (leading to slightly faster compilation times).
As of Emacs 27.1, the package cl
is deprecated and all users should have switched to the package cl-lib
. (This produces a warning message when auto-complete-c-headers
is compiled)
It would be great, if it finds a file called ".clang_complete" to read from it the list of include directories.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.