Sublime Forum

Recursive search in .h files

#1

Hi Sublime Forum,

That’s a great editor, I just started using in after being an Emacs user for years. I wanted to ask how it’s possible to look-up a symbol in the included libraries of the current file, similarly to how eclipse and visual studio handle “GoTo definition”. I.e: if I have this C code in main.c

#include "helper.h"

int main(){
    helperFunction();
}

I’d like when I select helperFunction() and click “GoTo definition” or “Goto Symbol” for sublime to also look inside “helper.h” and open it if necessary. It already does that if the symbol is in main.c.

Thank you.

0 Likes