Skip to main content
FLast.2
Associate II
Dec 9, 2019 12:10 PM UTC
Solved

Some keywords in STM32CubeIDE seems like the comment

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

This topic has been closed for replies.
GSome
GSomeBest answer
Visitor II
Dec 9, 2019 2:46 PM UTC

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

Change values you don't like.

10 replies

andy2399
Senior
Dec 9, 2019 1:01 PM UTC

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

FLast.2
FLast.2Author
Associate II
Dec 9, 2019 1:14 PM UTC

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
Dec 9, 2019 1:45 PM UTC

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

FLast.2
FLast.2Author
Associate II
Dec 9, 2019 1:54 PM UTC

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.

andy2399
Senior
Dec 9, 2019 1:46 PM UTC

0690X00000AtRyXQAV.png

This is how it looks to me

Andy

andy2399
Senior
Dec 9, 2019 1:46 PM UTC

One of us is color blind ;)

FLast.2
FLast.2Author
Associate II
Dec 9, 2019 1:57 PM UTC

:face_with_tears_of_joy: :face_with_tears_of_joy:

GSome
GSomeBest answer
Visitor II
Dec 9, 2019 2:46 PM UTC

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

Change values you don't like.

Markus GIRDLAND
ST Employee
Dec 9, 2019 3:30 PM UTC

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