Comments (3)
You are supposed to this in Irony. I would place a .clang_complete
file in the root dir of the project and add -Ipath0
, -Ipath1
and so on. You could also share info with Irony in this way.
from company-irony-c-headers.
You are right. I figured this out by using compilation databases for irony using a cmake based project, and got my c headers completion directly. This means company-irony-headers works out the box.
My question however remains. I have filled an issue to irony-mode to ask for user search path specified directly when configuring irony-mode in emas-lisp.
Thanks !
from company-irony-c-headers.
If you are using cmake and INCLUDE_DIRECTORIES
, it should already be in the compilation database. I'm not sure if it's working properly since i've only used the .clang_complete
way.
from company-irony-c-headers.
Related Issues (14)
- Paths from -I command line don't seem to be searched? HOT 8
- Please release company-irony-c-headers on MELPA stable HOT 3
- Add extra include paths/work together with company-c-headers? HOT 8
- Sorting order is confusing sometimes HOT 8
- Why do I need this next to company-irony? HOT 3
- Autocomplete keeps first # HOT 2
- How to use custom include path as libraries path? HOT 8
- Should auto-trigger completion on directories HOT 3
- post-completion shouldn't insert the end character if already present HOT 3
- Completion not working if without .clang_complete file in working directory. HOT 7
- Compiler options such as -MMD confuse header path reload HOT 2
- Incorrect working directory on reload compiler output HOT 1
- Dosen't completes system headers HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from company-irony-c-headers.