2024-06-23 12:30 AM
Hi Expert,
syntax coloring is not functional when the code is long. Is this IDE restriction? How to fix this issue?
for example, the hal_uart.c is not coloring.
Thanks
Peter
2024-06-23 12:52 AM - edited 2024-06-23 01:02 AM
Hi,
if i open hal_uart.c ->
:)
Somewhere in preferences is the line number limit, you can set to any size, to get it analyzed/colored .
Maybe you got a message from eclipse IDE, on opening the file, about the file > limit...but you didnt change the limit. I cant tell you, where it is - :) - , i just dont remember...sooo many options.
ed
Ok, found a limit, i set to 8MB : menu -> window -> Preferences
2024-06-23 01:09 AM - edited 2024-06-23 01:19 AM
I just looked: hal_uart.c is only 160KB , so this some MB limit is not the reason for your coloring-or-not .
(from your pic)
AND there is a coloring, red, grey, light-grey, so its about your adjustment of syntax colors , editors, etc. ,
you can modify .
There is a lot, you can adjust, in Eclipse !
btw
Look, what you have set/preset here ->
2024-06-23 11:26 AM
Hi,
i found the problem. We are developing a dual-core project. You have to choose the file under project folder, although it is linked from a common Drivers directory.