{"action":"created","issue":{"url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/245","repository_url":"https://api.github.com/repos/niosus/EasyClangComplete","labels_url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/245/labels{/name}","comments_url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/245/comments","events_url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/245/events","html_url":"https://github.com/niosus/EasyClangComplete/issues/245","id":220942454,"number":245,"title":"Won't auto-complete, highlighting works","user":{"login":"natehawes","id":27285284,"avatar_url":"https://avatars2.githubusercontent.com/u/27285284?v=3","gravatar_id":"","url":"https://api.github.com/users/natehawes","html_url":"https://github.com/natehawes","followers_url":"https://api.github.com/users/natehawes/followers","following_url":"https://api.github.com/users/natehawes/following{/other_user}","gists_url":"https://api.github.com/users/natehawes/gists{/gist_id}","starred_url":"https://api.github.com/users/natehawes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natehawes/subscriptions","organizations_url":"https://api.github.com/users/natehawes/orgs","repos_url":"https://api.github.com/users/natehawes/repos","events_url":"https://api.github.com/users/natehawes/events{/privacy}","received_events_url":"https://api.github.com/users/natehawes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-11T12:56:22Z","updated_at":"2017-04-11T13:29:20Z","closed_at":null,"body":"Have a strange bug- may be an incorrect setup, sorry if it turns out to be easy. I'm on windows 7 and have installed LLVM 3.8 (I saw the note about 4.0 being broken). EasyClangComplete successfully runs the file and will highlight problems, but it won't autocomplete and ends up throwing an error.\r\n\r\nI'm working on a c project for an embedded system and primarily want to autocomplete structure and unions. I've added all my includes and it seems like they're found correctly.\r\n\r\nIn this screenshot you see it picks up an implicit truncation bug just fine:\r\n![image](https://cloud.githubusercontent.com/assets/27285284/24909864/bdd751ba-1e93-11e7-9ecb-3d8daeb3b161.png)\r\n\r\nBut if I try to autocomplete (vars is a global structure defined in a different file):\r\n![image](https://cloud.githubusercontent.com/assets/27285284/24909943/0fc0a558-1e94-11e7-8297-9feb060786bf.png)\r\n\r\nYou can see that it understands what the structure is:\r\n![image](https://cloud.githubusercontent.com/assets/27285284/24909992/3da1d58c-1e94-11e7-950f-9c1c8af8c0ac.png)\r\n\r\nHere's the log:\r\n\r\n```\r\nstartup, version: 3126 windows x64 channel: stable\r\nexecutable: /C/Program Files/Sublime Text 3/sublime_text.exe\r\nworking dir: /C/Program Files/Sublime Text 3\r\npackages path: /C/Users/212349988/AppData/Roaming/Sublime Text 3/Packages\r\nstate path: /C/Users/212349988/AppData/Roaming/Sublime Text 3/Local\r\nzip path: /C/Program Files/Sublime Text 3/Packages\r\nzip path: /C/Users/212349988/AppData/Roaming/Sublime Text 3/Installed Packages\r\nignored_packages: [\"Vintage\"]\r\npre session restore time: 0.224\r\nstartup time: 0.25\r\nfirst paint time: 0.25\r\nfirst paint time: 0.251\r\nreloading plugin Default.auto_indent_tag\r\nreloading plugin Default.block\r\nreloading plugin Default.comment\r\nreloading plugin Default.convert_syntax\r\nreloading plugin Default.copy_path\r\nreloading plugin Default.delete_word\r\nreloading plugin Default.detect_indentation\r\nreloading plugin Default.duplicate_line\r\nreloading plugin Default.echo\r\nreloading plugin Default.exec\r\nreloading plugin Default.fold\r\nreloading plugin Default.font\r\nreloading plugin Default.goto_line\r\nreloading plugin Default.history_list\r\nreloading plugin Default.indentation\r\nreloading plugin Default.install_package_control\r\nreloading plugin Default.kill_ring\r\nreloading plugin Default.mark\r\nreloading plugin Default.new_templates\r\nreloading plugin Default.open_context_url\r\nreloading plugin Default.open_in_browser\r\nreloading plugin Default.pane\r\nreloading plugin Default.paragraph\r\nreloading plugin Default.paste_from_history\r\nreloading plugin Default.profile\r\nreloading plugin Default.quick_panel\r\nreloading plugin Default.run_syntax_tests\r\nreloading plugin Default.save_on_focus_lost\r\nreloading plugin Default.scroll\r\nreloading plugin Default.set_unsaved_view_name\r\nreloading plugin Default.settings\r\nreloading plugin Default.show_scope_name\r\nreloading plugin Default.side_bar\r\nreloading plugin Default.sort\r\nreloading plugin Default.swap_line\r\nreloading plugin Default.switch_file\r\nreloading plugin Default.symbol\r\nreloading plugin Default.transform\r\nreloading plugin Default.transpose\r\nreloading plugin Default.trim_trailing_white_space\r\nreloading plugin CSS.css_completions\r\nreloading plugin Diff.diff\r\nreloading plugin HTML.encode_html_entities\r\nreloading plugin HTML.html_completions\r\nreloading plugin 0_package_control_loader.00-package_control\r\nreloading plugin Package Control.1_reloader\r\nreloading plugin Package Control.2_bootstrap\r\nreloading plugin Package Control.Package Control\r\nreloading plugin EasyClangComplete.EasyClangComplete\r\nplugins loaded\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage: Reading settings...\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  autocomplete_all           <-- 'False'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  c_flags                    <-- '['-std=c11']'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  clang_binary               <-- 'clang++'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  common_flags               <-- '['-I/usr/include', '-I$project_base_path/src', '-I/usr/lib/clang/$clang_version/include', '-Ic:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include', '-Ic:/ti/controlSUITE/device_support/F2837xD/v160/F2837xD_common/include', '-Ic:/ti/controlSUITE/device_support/F2837xD/v160/F2837xD_headers/include']'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  cpp_flags                  <-- '['-std=c++11']'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  use_libclang_caching       <-- 'True'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  errors_on_save             <-- 'True'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  flags_sources              <-- '[{'file': 'CMakeLists.txt'}, {'file': 'compile_commands.json'}, {'file': '.clang_complete'}]'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  hide_default_completions   <-- 'False'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  include_file_folder        <-- 'True'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  include_file_parent_folder <-- 'True'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  max_cache_age              <-- '00:30:00'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  triggers                   <-- '['.', '->', '::']'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  use_libclang               <-- 'True'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  verbose                    <-- 'False'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  show_type_info             <-- 'True'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  libclang_path              <-- '<some_path_here>'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  progress_style             <-- 'Moon'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage: Settings sucessfully read...\r\nINFO:EasyClangComplete.plugin.tools: Getting version from command: `clang++ -v`\r\nINFO:EasyClangComplete.plugin.tools: Found clang version: 3.8.0\r\nINFO:EasyClangComplete.plugin.view_config: init completer based on libclang\r\nINFO:EasyClangComplete.plugin.clang.utils: found libclang library file: 'C:\\Program Files\\LLVM\\bin\\libclang.dll'\r\nINFO:EasyClangComplete.plugin.tools: Getting version from command: `clang++ -v`\r\nINFO:EasyClangComplete.plugin.tools: Found clang version: 3.8.0\r\nINFO:EasyClangComplete.plugin.view_config: init completer based on libclang\r\nPackage Control: Skipping automatic upgrade, last run at 2017-04-11 07:48:34, next run at 2017-04-11 08:48:34 or after\r\nINFO:EasyClangComplete.plugin.tools: Getting version from command: `clang++ -v`\r\nINFO:EasyClangComplete.plugin.tools: Found clang version: 3.8.0\r\nINFO:EasyClangComplete.plugin.view_config: init completer based on libclang\r\nINFO:EasyClangComplete.plugin.view_config: init completer based on libclang\r\nINFO:EasyClangComplete.plugin.view_config: init completer based on libclang\r\nINFO:EasyClangComplete.plugin.tools: Getting version from command: `clang++ -v`\r\nINFO:EasyClangComplete.plugin.tools: Found clang version: 3.8.0\r\nINFO:EasyClangComplete.plugin.view_config: init completer based on libclang\r\nINFO:EasyClangComplete.plugin.view_config: init completer based on libclang\r\nINFO:EasyClangComplete.plugin.view_config: init completer based on libclang\r\nINFO:EasyClangComplete.plugin.view_config: init completer based on libclang\r\nINFO:EasyClangComplete.plugin.view_config: init completer based on libclang\r\nINFO:EasyClangComplete.plugin.view_config: init completer based on libclang\r\nINFO:EasyClangComplete.plugin.view_config: init completer based on libclang\r\nINFO:EasyClangComplete.plugin.view_config: init completer based on libclang\r\nINFO:EasyClangComplete.plugin.view_config: init completer based on libclang\r\nINFO:EasyClangComplete.plugin.view_config: init completer based on libclang\r\nINFO:EasyClangComplete.plugin.view_config: init completer based on libclang\r\nINFO:EasyClangComplete.plugin.view_config: init completer based on libclang\r\nreloading settings Packages/User/Preferences.sublime-settings\r\nreloading settings Packages/User/Preferences.sublime-settings\r\n```\r\nThanks for putting together such a great plugin, I can't wait to get it to work, it looks so nice."},"comment":{"url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/comments/293262882","html_url":"https://github.com/niosus/EasyClangComplete/issues/245#issuecomment-293262882","issue_url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/245","id":293262882,"user":{"login":"niosus","id":1893598,"avatar_url":"https://avatars2.githubusercontent.com/u/1893598?v=3","gravatar_id":"","url":"https://api.github.com/users/niosus","html_url":"https://github.com/niosus","followers_url":"https://api.github.com/users/niosus/followers","following_url":"https://api.github.com/users/niosus/following{/other_user}","gists_url":"https://api.github.com/users/niosus/gists{/gist_id}","starred_url":"https://api.github.com/users/niosus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niosus/subscriptions","organizations_url":"https://api.github.com/users/niosus/orgs","repos_url":"https://api.github.com/users/niosus/repos","events_url":"https://api.github.com/users/niosus/events{/privacy}","received_events_url":"https://api.github.com/users/niosus/received_events","type":"User","site_admin":false},"created_at":"2017-04-11T13:29:20Z","updated_at":"2017-04-11T13:29:20Z","body":"The clang 4.0 being broken is an outdated message. It seems now, that I have fixed that all other clangs are broken :) Please try clang 4.0. \r\n\r\nI will most probably fix this tomorrow night."}}
{"actor":{"display_login":"niosus"}}