TruePERSPECTIVES_logo.png

Read the GNU compiler runtime library API documentation using mouse hover in the editor

Posted by Magnus Unemyr on Apr 16, 2015 12:23:00 PM

High-end ECLIPSE-based embedded IDE’s extend standard ECLIPSE in many ways, and one nice extension added to the Atollic TrueSTUDIO IDE for ARM Cortex devices is the capability to view the GNU compiler runtime library manual as tooltips by hovering with the mouse over the runtime library function call in the editor.

Perhaps you are uncertain on the parameter list in a function call to the runtime library, or perhaps you can’t remember the type of the return code. By positioning the mouse over the function call in the C/C++ editor, Atollic TrueSTUDIO will show a tooltip with the API reference manual for that particular function in the GNU compiler runtime library:

tooltipmanual1

The default behavior in the ECLIPSE C/C++ editor when hovering the mouse over a function call is to show the code implementation of the function. This is useful too, and still works in the Atollic TrueSTUDIO editor for function calls that are not to API calls into the compiler runtime library:

tooltipmanual2

While this is only one of many extensions made to standard ECLIPSE, it is a very useful time saver that comes in handy when you can’t remember the exact parameter list, return type or behavior of runtime library functions.

In both cases, clicking in the tooltip (or pressing F2) provide you with scroll capabilities so you can see more of the runtime library reference manual or function implementation, dependent on which case was the current one.

For more information on what commercial extensions the Atollic TrueSTUDIO IDE for ARM Cortex devices add, read this white paper:

Read our ARM development whitepaper!

 

Topics: ECLIPSE, GNU tools (GCC/GDB), Atollic TrueSTUDIO, Embedded Software Development