2020-09-13 10:57 PM
2023-03-22 09:44 AM
Does anyone know of the reason for this. I have the same issue when I start a new project from .ioc file. If i imported an example project the syntax highlighting works fine.
2023-03-23 01:54 AM
Hi,
I still have the same problem. But I have seen that if you add the file as "link" to your project, the colour changes.
2023-03-23 01:57 AM
Hi,
Thanks for your reply. Its a useful workaround but still a silly bug for a major IDE.
2023-03-23 02:53 AM
Hi,
recently I was using Eclipse 2022-12 for C++, and I tried to use the same trick but it did not work.
But still there were some functions with different color. In this case they were functions from a library which I have only the header file and the compiled.
But if you change theme, in my case dark, all functions had the same color. Interesting.
2023-03-23 05:54 AM
Hi,
Found a way of helping highlight the functions normally:
go to 'Window' tab > Preferences > C/C++ > Editor > Syntax Coloring Then go into 'Code > Functions' and enable it and choose your highlighting colour etc.
2023-03-23 08:24 AM
Then it looks like the project that you've imported has local settings that affect the coloring. It overrides the workspace level settings.