In the DOS era I used a text editor (forgot the name) which had a outstanding feature.
Whenever i was over a function call, hitting a key combination it took me to the function definition. Also, when I was in the function definition, I was able to see all calls to that function. Something like
This function is called from:
- function1, line 154, source1.c
- function3, line 500, source2.c
I loved this feature and I miss it. Is there any actual editor with a feature like this?
I’m on windows, but if I can get this function, i’m capable of buy a mac 😀 (kidding)
Update
I’m using php. My example was with .c files because I used that editor with c
The most recent versions of Kate, KDE’s advanced text editor, come with a plugin called ctags that does exactly what you want. Since KDE 4, you can install some KDE programs in Windows thanks to the KDE on Windows project. Kate is one of those you can install.
Once you have launched it please go to Settings -> Configure Kate…, choose Plugins from the left pane and enable the ctags plugin.