if language != "c++" and language != "c" and language != "objc":
unsaved_files = [(view.file_name(), view.substr(Region(0, 65536)))]
unsaved_files = [(view.file_name(), view.substr(Region(0, view.size())))]
Traceback (most recent call last):
File ".\sublimeclang.py", line 190, in recompile
File ".\clang\cindex.py", line 208, in location
ValueError: Procedure called with not enough arguments (4 bytes missing) or wrong calling convention
if platform.system() == "Windows":
self.file = None
self.line = 0
self.column = 0
quarnster wrote:I'm not too familiar with Objective-C/Objective-C++, but I've just submitted a shot at adding basic support.
As for listing symbols that aren't available, I only list the completions provided by clang + some filtering. If you have any suggestions for how to better filter or any options that should be provided to clang to suggest better completions, I'd be happy to change.
Users browsing this forum: Majestic-12 [Bot] and 2 guests