Keil Logo

Absence of Coloring in Keil IDE

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Author
Mst Tpzl
Posted
30-Jul-2017 16:02 GMT
Toolset
ARM
New! Absence of Coloring in Keil IDE

Hi everyone. My English not well sory.
So far, I have used some of IDE such as Eclipse, Qt Creator that have code coloring skills. Unfortunately, in the Keil IDE, I did'nt see any coloring skills. For example in eclipse IDE , there is unused code coloring dynamically (I always need to use this). As instance;

#define VAL

#if defined(VAL) bla bla bla... // White colored by eclipse IDE
#else bla bla bla... // Gry colored by eclipse IDE
#endif

Thus, I trace code three (include files), defined sections, undefined sections etc with ease. There is any skills or configuration for Keil IDE?

Author
Christopher Seidl
Posted
1-Aug-2017 09:55 GMT
Toolset
ARM
New! RE: Absence of Coloring in Keil IDE

Hello,

you should see syntax coloring like shown on this page: http://www2.keil.com/mdk5/uvision#editor. If not, check your settings under Edit - Configuration. Also, check this knowledge base article: http://www.keil.com/support/docs/3580.htm

Kind regards,

Christopher

Author
Mst Tpzl
Posted
2-Aug-2017 14:11 GMT
Toolset
ARM
New! RE: Absence of Coloring in Keil IDE

I visited links, watched videos but there is no skills about unused code area coloring.
I think, KEIL IDE not have this and devolopers sholud add this skill to KEIL IDE as earliest as possible.

Author
Christopher Seidl
Posted
2-Aug-2017 14:44 GMT
Toolset
ARM
New! RE: Absence of Coloring in Keil IDE

What do you mean by unused code? We do have profiling options available that will show the coverage and color your code accordingly. This works in simulation and on real target hardware with ULINKpro. Please check out <a href="http://www.keil.com/support/man/docs/uv4/uv4_ui_editormarks.htm">editor marks - code execution</a>.

Author
Robert McNamara
Posted
2-Aug-2017 20:50 GMT
Toolset
ARM
New! RE: Absence of Coloring in Keil IDE

What do you mean by unused code?

#define VAL

#if defined(VAL) bla bla bla... // White colored by eclipse IDE  this code is used
#else bla bla bla... // Gry colored by eclipse IDE  this code is unused
#endif
Author
Carsten Groen
Posted
7-Aug-2017 10:29 GMT
Toolset
ARM
New! RE: Absence of Coloring in Keil IDE

It would indeed be great if the Keil IDE editor would gray out code that is "#ifdef" and not active (like many other IDE's does)

Author
Philip Botha
Posted
8-Aug-2017 16:42 GMT
Toolset
ARM
New! RE: Absence of Coloring in Keil IDE

Yes, #if colouring would be fantastic. Definitely one of the most annoying missing features.

Next Thread | Thread List | Previous Thread Start a Thread | Settings

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.