Basically, my code would look like this:
- Code: Select all
#include "foo.h"
#ifdef __cplusplus
extern "C" {
#endif
/*
Actual code
*/
#ifdef __cplusplus
}
#endif
ST2 recognizes the file as C files (and that's correct), but it ignores everything within the extern "C" declaration, and thus all symbols declared are missing from Ctrl+R key binding.
Any way to overcome this issue?
Thanks.
I've attached a sample code, try to navigate it with cmd+r/ctrl+r; now comment extern "C" and try to navigate again, it works.