Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newline after return type in function declaration / definition changes coloring #662

Open
1 task done
surr34 opened this issue Oct 13, 2024 · 0 comments
Open
1 task done

Comments

@surr34
Copy link

surr34 commented Oct 13, 2024

Checklist

  • This problem exists even with the setting "C_Cpp.enhancedColorization": "Disabled"

The code with a problem is:

type7 function3(type8 value8, type9 value9);

type10
function4(type11 value11, type12 value12);

Our code style is fairly unique, as the return type of a function and the name are not on the same line (see function4 above). For some reason this causes a color change - is this expected?
 

It looks like:

image

It should look like:

same coloring as without the newline

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

No branches or pull requests

1 participant