cancel
Showing results for 
Search instead for 
Did you mean: 

Some keywords in STM32CubeIDE seems like the comment

FLast.2
Associate II

Hi, I installed STM32CubeIDE for the first time. As the picture illustrated, the keywords, GPIO_PinState and uint32_t, seems like the comment, is there anyway to solve this problem?

Best regards.0690X00000AtRXqQAN.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
GSome
Associate III

Click on Window -> Preferences -> C/C++ -> Editor -> Syntax Coloring

Change values you don't like.

View solution in original post

10 REPLIES 10
andy2399
Senior

Looks fine to me - a comment is Green in colour whereas the quoted text is Black !

Can you explain your problem in more detail?

Andy

Hi, andy2399, thank you for replying.

As the picture illustrated, the comment is Green, but GPIO_PinState and uint32_t are also Green. It is unconvient to read the code.

andy2399
Senior

Well that is odd, when I look at your attached screenshot, the comment above GPIO_PinState... is clearly Green and the text you quoted looks Black to me !

Andy

andy2399
Senior

0690X00000AtRyXQAV.png

This is how it looks to me

Andy

andy2399
Senior

One of us is color blind ;)

Hi, Andy, I didn't explain it clearly, it's my fault.

The comment is light Green, GPIO_PinState and uint32_t is a little dark Green to me.

They're all green, so it's not easy to distinguish them.

:face_with_tears_of_joy: :face_with_tears_of_joy:

GSome
Associate III

Click on Window -> Preferences -> C/C++ -> Editor -> Syntax Coloring

Change values you don't like.

Was coming to the thread to say this. It's very customizable!