I want Speedbar to display outlines (list of variables, functions and other "interesting" objects") I have in source files it doesn't understand yet. I have code to generate TAGS for the sources in question, where should I look for a hook / configuration to do that?
Speedbar how to add support for custom source files?
1k views Asked by AudioBubble At
1
You can use
speedbar-add-supported-extension
function to add new files that speedbar doesn't understand by default.From
speedbar.el
:In addition to that, you may want to teach speedbar how to parse the tags for this new file using
speedbar-fetch-etags-parse-list
. For a C/C++ style language with a file extension.foo
you might want to do something like this.