Comments (7)
You need to fill in the relevant data in .clang_complete
file, that is include paths that you use in your project so clang_complete
can utilize them while assisting you in code auto-complete. For further information you should have a look at clang_complete
docs.
It would be handy to generate these entries automatically if possible but as of now there is no such support in Yavide
.
from yavide.
Thanks for quick response. From what i read .clang_complete containing CFLAGS to gcc should be enough, but its not. For now i have very simple directory structure which contains all headers files and implementation files in main directory tree. It looks like this:
https://github.com/liscju/SimpleOS
nothing fancy here iso/boot dir is only for output. Probably you are not person i should ask to guide how .clang_complete should look like for such a simple project but i give it a try :P
from yavide.
From what I know, clang_complete
basically expects include paths that you would normally pass to your compiler through your build system (i.e. make
) in order to build your stuff successfully. In your case I think that .clang_complete
file, if it's in your root directory, would consist of single entry which is ./
from yavide.
As you suggested i put "./" in .clang_complete file and now autocompletion shows with TAB correctly. Many thanks for taking your time for vim novice user, issue can be closed
from yavide.
It was my pleasure.
from yavide.
A little thing more: sometimes after adding new symbol going to definition is not working, how can i manually refresh ctags?
from yavide.
Can you please open a new ticket regarding this issue? Generally, this shouldn't be happening under normal circumstances. Also provide some more details please.
I.e.
- In what way are you trying to jump to definition (pressing
F12
or some other way?)? - Did you save the file where you added a new symbol?
- Make sure that indexer is running fine in the background (if not please report it to me) by checking the output of
ps -aux | grep yavide_indexer
. You should see something likepython /opt/yavide/core/indexer/yavide_indexer.py 6000
.
from yavide.
Related Issues (20)
- Error when executing: "function Y_Env_Init[2]..Y_ServerStart" HOT 8
- Multiple errors on startup. HOT 5
- Debian issues with libclang HOT 15
- vim-gnome on Debian buster links with python3 HOT 3
- Is it plan to include some kind of debugging tool? HOT 1
- using neovim as base? HOT 2
- how to use it with gdb, keymap for no-gui HOT 1
- Unable to start Yavide HOT 14
- Getting started documentation required HOT 2
- Add support for colorized parentheses HOT 1
- Could not build project by shortcut HOT 1
- Very strange behavior with autocomplete HOT 6
- Python clang binding not functioning correctly in line 8 of clang_parser.py. (clang_complete not working) HOT 1
- Aborting while importing a project HOT 2
- Add highlight for some cpp keywords
- Errors on startup and while typing HOT 4
- Feature Request: Implement 'Open call hierarchy'
- Installation on fedora 29 HOT 1
- chown cannot access destop not a directory, Elementary OS HOT 2
- Failing to run yavide
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 yavide.