griebd / clangHelper

Code completion for c/c++/objc/objc++ in Sublime Text 3 (using libclang)
MIT License
5 stars 0 forks source link

CodeCompletion.translation_units are empty #5

Open niosus opened 8 years ago

niosus commented 8 years ago

Ubuntu 14.04.3 x64, Sublime 3 v.3103

If the force in set_view(view, force=False) is False then the CodeCompletion.translation_units are never populated and therefor there is no completion.

By adding a print statement:

settings = view.settings().get('clangHelper')
print("settings:", settings)

I see that they are populated with: {'is_active': False} and so no translation unit is ever added.