EasyClangComplete icon indicating copy to clipboard operation
EasyClangComplete copied to clipboard

Plugin is not using the include directories provided in .clang-complete

Open cpagravel opened this issue 9 years ago • 4 comments

I recently made a fresh Ubuntu 14.04 install and after following steps which I previously followed to get Easy Clang working, I find that the plugin is not using my include directory. Is there an easy way to determine if the locations in my .clang-complete file are being checked?

I notice that Sublime is scanning only a handful of folders from the directory (see console [picture).]

1

cpagravel avatar Feb 17 '17 02:02 cpagravel

The behaviour is that I am not able to get any code completion, but it will detect what it thinks are errors because it hasn't processed the header files. 2

cpagravel avatar Feb 17 '17 02:02 cpagravel

Update: I am able to get this to work if I put all of my include directories in the settings file under common_flags. So it seems that the problem is strictly that the .clang-complete file is either not being found or not being read.

3

cpagravel avatar Feb 17 '17 04:02 cpagravel

I would say that there is a typo in your .clang_complete filename and you are using "-" instead of "_". But I won't say that :(

simia avatar Feb 17 '17 10:02 simia

Simia, thank you. I've been spending too much time in front of the computer I think. This is not an issue then, perhaps a feature request to prompt that the file has been found or not (like what's done for the library). Though, maybe I'm the only person that this has happened to.

cpagravel avatar Feb 17 '17 14:02 cpagravel