ClangAutoComplete
ClangAutoComplete copied to clipboard
Cleaned up changes into 1 pull
The reason large solutions where slow I think might be due to os.walk triggering on each completion. I change it to only trigger on view change or save. This should not break anything.
You added quite a bit of features! This is great, but it doesn't work on my system. I don't have much time to look into it these days so I'll keep what I have working right now since I need it for work.
I suggest you can continue maintaining this project as a fork or something (not too familiar with GitHub) ?
However I'd like to use your output format improvements as it is simple change and works well out of the box for me!
Yea the go to definition stuff is a mess. There is a single function to call in libclang that gives does all the background work. I sort of started on a libclang wrapper library to abstract libclang even more. But have not created a clean version that is commitable. Maybe I will revisit it soon. There just looks like a truckload of work (so far have solid go-to-def and autocomplete). Also the fact sublime has tons of issues and is not open source is discouraging. For example I would like icons and better sorting on the autocomplete menu. Libclang treats tabs as offset size 1, while sublime as offset size 4. There is no option to treat tab as size 1. Tons more of annoyances like this.
EDIT: On second thought it is definately more feasible to just use the python binding directly. Will give it a shot the next few days.