Tomasz Kaczkowski
Tomasz Kaczkowski
Ok. I think I've got the fix: `if not self.tu or not self.tu.cursor.location.file:` instead of: `if not self.tu`: in lib_complete.py:update() Works for me. Would be nice if @silva6 could verify...
Did you modify the if as I described and restart sublime (restart after changing lib_complete.py is essential)? Could you also add print under with Completer.rlock: print(self.tu) print(self.tu.cursor) print(self.tu.cursor.location) ?
Ok. So I haven't put my changes into repo yet. Could you remove those print() calls and then replace: `if not self.tu:` with: `if not self.tu or not self.tu.cursor.location.file:` in...
I can't make pr until I am back home. Line for change is: https://github.com/niosus/EasyClangComplete/blob/master/plugin/completion/lib_complete.py#L218
Maybe try to add path to common flags in ECC config?
Maybe you are missing other includes so that you are trying to print some custom object and overloaded operator is not visible?
This is hard. Could you provide exact error information?
I understand. If it compiles fine on gcc then we have configuration issue. I hope so many questions doesn't discourage you. If we get to bottom of this it will...
Well I think the more important question is if plugin works:) We should aim to make it work properly with libclang turned on.
Do you have clang binary set correctly in EasyClangComplete and is it in your PATH system env? Maybe that's the problem?