I've got a bunch of (also unity build) modules of my own. It's pretty damn annoying. I'm going to see if VS2015 works any better...
I wonder if there's any way of persuading it to work. It has the primary .cpp file in the project, so I'm buggered if I know why it refuses to follow the include structure and work this all out...
I've reported it to Microsoft ... not expecting a quick fix mind you, so if anyone has any other ideas for a workaround, I'm all ears (metaphorically).
Did you try also to remove the intellisense database in your project folder, to see if VS2013 recreates it properly ? I remember I did this a few times on VS2008... And do you have the update 5 of VS2013 ?
Put using namespace ::juce at the top of the file and it all works fine ... I presume there's no bad side effect of duplicating the using namespace stuff?
2013 seems cool with it. And it'll probably fix the issue with CLion as well which hates includes inside namespaces.
I'll have an experiment with 2015 at some point and see if there's some way of getting the warning to go away. Though a warning like that seems better than red-ink all over everythign like it's broken :)
I reported this problem to both JetBrains (Resharper C++) and Microsoft.
JetBrains have now replied to say it's more or less (their words) fixed! And I've just done a quick check and it looks good. So if you're using Visual Studio and JUCE I'd highly recommend trying the demo of Resharper C++ v1.1 and seeing if it works for you.