-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Warn users when no Indexed Header Paths were set #254
Comments
My guess it that you didn't set any Indexed Header Paths during project setup, so you only indexed your source files, without the corresponding header files. To confirm that please click on the Files node in the overview. I think it will only show To fix this, add your project root directory to Indexed Header Paths so Coati knows that any included file within that directory should be indexed as well. Please let me know if this fixes the issue. Did you use our Visual Studio plugin for creating the compilation database? The Indexed Header Paths will be automatically set in the newest version released yesterday with our new build. You might want to give it a try. |
That did fix that! One other issue, I have used #import for excel. I
needed to #include "excel.tlh" to silence an error. It causes an
additional 18476 errors! I have excluded the directory, but is there a way
to exclude a file?
…On Thu, Dec 15, 2016 at 3:48 PM, Eberhard Gräther ***@***.***> wrote:
My guess it that you didn't set any *Indexed Header Paths* during project
setup, so you only indexed your source files, without the corresponding
header files.
To confirm that please click on the *Files* node in the overview. I think
it will only show .cpp files and no .h files, right?
To fix this, add your project root directory to *Indexed Header Paths* so
Coati knows that any included file within that directory should be indexed
as well. Please let me know if this fixes the issue.
Did you use our Visual Studio plugin for creating the compilation
database? The *Indexed Header Paths* will be automatically set in the
newest version released yesterday with our new build
<https://www.coati.io/downloads>. You might want to give it a try.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#254 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKjavNbXmmtcOVvdbpNUxMbplNcRaMLzks5rIbW_gaJpZM4LOl7v>
.
|
Yes, you can exclude files and directories from indexing by adding them to Exclude Paths in the Advanced Settings of the Edit Project dialog. These files will still be accessed during indexing, but the information won't get stored. If they cause fatal errors, you will still see them though. |
That worked! Thanks!
…On Fri, Dec 16, 2016 at 12:59 AM, Eberhard Gräther ***@***.*** > wrote:
Yes, you can exclude files and directories from indexing by adding them to *Exclude
Paths* in the *Advanced Settings* of the *Edit Project* dialog. These
files will still be accessed during indexing, but the information won't get
stored. If they cause fatal errors, you will still see them though.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#254 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKjavKP8_xyuHLcU9Wfpa9dUtA2cDrTiks5rIjbIgaJpZM4LOl7v>
.
|
Solved with 0.10.82 |
I have a project that has 310 files(which the overview says), but it says I only have 9 classes. This is clearly not the case. I am guessing there is something about how my classes are terminated or something? Any ideas why I might be seeing this strange behavior? BTW, your software did help me fix literally 1000+ "errors" that were not detected by visual studio. I am trying to see if this strange behavior indicates some other strangeness. Thanks!
The text was updated successfully, but these errors were encountered: