SublimeCImproved
SublimeCImproved copied to clipboard
Failure to parse syntax correctly when function name and open-paren are separated by a newline
With C Improved, the function name bad
does not appear in Go To Symbol (Cmd+R). Here's a minimal case:
void good() {
}
void
bad
()
{}
void good2(){}
This ends up breaking the indexing, so that "Go to definition" does not work for functions whose signatures are formatted this way.
You can see in the screenshot that bad() doesn't show up, when using C Improved syntax.

Using the default C syntax, everything works as expected:

@zachriggle Unfortunately, I do not maintain this plugin anymore, sorry for that.