You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows 7 64 bit, Sublime Text 3083 32 bit, Clang 3.7.0:
I get this when Sublime Text is loading:
Traceback (most recent call last):
File "C:\Program Files (x86)\Sublime Text\Sublime Text\sublime_plugin.py", line 158, in on_api_ready
m.plugin_loaded()
File "C:\Program Files (x86)\Sublime Text\Sublime Text\Data\Packages\clangHelper\codeCompletion.py", line 48, in plugin_loaded
set_view(view)
File "C:\Program Files (x86)\Sublime Text\Sublime Text\Data\Packages\clangHelper\codeCompletion.py", line 118, in set_view
CodeCompletion.translation_units[view.id()] = TranslationUnit.from_source(
NameError: global name 'TranslationUnit' is not defined
Also looks like autocomplete doesn't work.
The text was updated successfully, but these errors were encountered:
Could you try commenting lines 14 to 32 except by line 30 (your version of LLVM) removing the indentation. I want to check if the problem is the system LLVM python bindings, with this change you will be using a modified one.
Something like:
# try:# from clang.cindex import TranslationUnit# # use customized clang python bindings# except:# from clangHelper.tools.libclang_version import get_libclang_version# if get_libclang_version() == '32':# from clangHelper.clang.cindex32 import TranslationUnit# if get_libclang_version() == '33':# from clangHelper.clang.cindex33 import TranslationUnit# if get_libclang_version() == '34':# from clangHelper.clang.cindex34 import TranslationUnit# if get_libclang_version() == '35':# from clangHelper.clang.cindex35 import TranslationUnit# if get_libclang_version() == '36':# from clangHelper.clang.cindex36 import TranslationUnit# elif get_libclang_version() == '37':fromclangHelper.clang.cindex37importTranslationUnit# if get_libclang_version() == '38':# from clangHelper.clang.cindex38 import TranslationUnit
Windows 7 64 bit, Sublime Text 3083 32 bit, Clang 3.7.0:
I get this when Sublime Text is loading:
Also looks like autocomplete doesn't work.
The text was updated successfully, but these errors were encountered: