cancel
Showing results for 
Search instead for 
Did you mean: 

Shaded codes in editor

yilmazkircicek
Associate III

Hi All, 

1 - HAL_QSPI_MODULE_ENABLED is defined and the shaded code areas are combiled. But I could not find why these codes seems shaded, do you ?

2, 3 - I can see file icon on the top left corner of the stm32h7xx_hal_conf.h file name and context menu shows absoulte path when mouse over while other files path seems relative to project directory. Do you know why ?

Regards. 

Shaded.png

1 ACCEPTED SOLUTION

Accepted Solutions

If you right-click on HAL_QSPI_MODULE_ENABLED (at line 240), and then Go To Definition (F3, or via Right-Click menu), does it take you to that definition in stm32h7xx_hal_conf.h ?

Have you tried rebuilding the Index ?

In the Project Context menu:

AndrewNeil_0-1743782819136.png

 


@yilmazkircicek wrote:

2, 3 - I can see file icon on the top left corner of the stm32h7xx_hal_conf.h file name and context menu shows absoulte path when mouse over while other files path seems relative to project directory.


Not sure what you mean by that.

Show an example where you think you're getting "relative" paths ?

 

PS:

The indexing/referencing/shading is standard Eclipse stuff - not specific to STM32:

https://mcuoneclipse.com/2012/03/20/fixing-the-eclipse-index/

View solution in original post

2 REPLIES 2

If you right-click on HAL_QSPI_MODULE_ENABLED (at line 240), and then Go To Definition (F3, or via Right-Click menu), does it take you to that definition in stm32h7xx_hal_conf.h ?

Have you tried rebuilding the Index ?

In the Project Context menu:

AndrewNeil_0-1743782819136.png

 


@yilmazkircicek wrote:

2, 3 - I can see file icon on the top left corner of the stm32h7xx_hal_conf.h file name and context menu shows absoulte path when mouse over while other files path seems relative to project directory.


Not sure what you mean by that.

Show an example where you think you're getting "relative" paths ?

 

PS:

The indexing/referencing/shading is standard Eclipse stuff - not specific to STM32:

https://mcuoneclipse.com/2012/03/20/fixing-the-eclipse-index/

Hi Mr. Neil, 

Thanks for prompt response. Rebuilding index solve the shading problem. 

Prior to this operation, F3 was not working. 

Rebuild Index.png

 

Regarding file path and symbol;

There is a file icon top left of the stm32h7xx_hal_conf.h file name, I do not know why is it ?

Also, when the mouse cursor over the file name, a path is shown in IDE, as you can see. The files without file icon path is relative to project but full path for the files without icon. I have tried with different file types. I wonder why ?

Regards. 

Icon.png