Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Failure to parse syntax correctly when function name and open-paren are separated by a newline #53

Open
zachriggle opened this issue Sep 22, 2020 · 1 comment

Comments

@zachriggle
Copy link

zachriggle commented Sep 22, 2020

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.

Screen Shot 2020-09-22 at 5 17 18 PM

Using the default C syntax, everything works as expected:

Screen Shot 2020-09-22 at 5 18 58 PM

@zachriggle zachriggle changed the title Failure to parse syntax correctly when function name and open-paren are separated by a colon Failure to parse syntax correctly when function name and open-paren are separated by a newline Sep 22, 2020
@abusalimov
Copy link
Owner

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants