cancel
Showing results for 
Search instead for 
Did you mean: 

How to show all files in CubeIDE project? - Search does not work in CubeIDE - BUG

matt-crc
Senior

Hello, 

I downloaded an example "Nx_SNTP_Client", and all the include files are hidden in the file tree (left pane)

1-  Where is the setting to show these files?  (Why is this even an option)?

2- Why does the Search/Find not work with these hidden files? 

I looked at: https://community.st.com/t5/stm32cubeide-mcus/cubeide-imported-example-file-structure-does-not-show-header/m-p/75355#M1515 with a similar question, and i see the "outline" tab, but how does that fix the search problem?  What am I missing?

thanks

Matthew

18 REPLIES 18
matt-crc
Senior

@Andrew Neil 

This is Search Bug.... If you try to search for something in the project, it will fail unless the correct tab in the search window is selected.... 

So if you search for "DNS_SERVER_ADDRESS"  and the search windows displays "File Search" tab... Then the search FAILS.... it will not display the results properly.

mattcrc_0-1744387600819.png

However, if you do the same search again, and before pressing the "Search" button, just select the C/C++ tab, then the Search sort of works....  (no options were changed)

mattcrc_1-1744387720073.png

Why changing the displayed tab before pressing the "search" button makes it work is beyond me....  sigh!!!

 

Strange!

I always use the 'File Search' tab, and it seems to work for me!

(I do it via the Search > File... menu)

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Hi @Andrew Neil 

Result with "file search" tab selected:

mattcrc_1-1744389668843.png

 

Result with "C/C++" tab selected:

mattcrc_2-1744389707463.png

 

This code is very unstable... even the "scope" changes depending on which tab is selected... sigh

 

They are different searches - so not surprising that they have different results, and different defaults.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Hi @Andrew Neil 

I'm not sure why it is always an uphill battle with ST...

Look at the output of the search....

Image1: missing "app_netduo.h" file

Image 2: missing all results from middleware

how can you say either one works properly?

matt-crc
Senior

mattcrc_0-1744392662701.png

Both searches failed.... Why can't we get a single search with all hits?


@matt-crc wrote:

I'm not sure why it is always an uphill battle with ST...


Again, this is Eclipse - not specifically ST.

Have you tried VSCode ?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Hi @Andrew Neil 

I don't understand the line between Eclipse and ST,  but when a user/customer identifies an issue with either one; I would hope that the issue would get addressed and potentially fixed in future releases.  In my opinion, with so many ST employees monitoring this community, not much seems to progress in that manner.  Therefore I created multiple tickets on the ST support website as well.  The common goal should be to try and improve ST's product offering for future customers / products.

As for VSCode, no I was not aware of that option.  But I figure I have another 4-6 weeks to complete the software framework on this board, and then the project gets handed over to a bunch of junior developers to complete the GUI and user code.  I've added a project note stating that VSCode is available, and they can decide which development tool to use in the future.

Quote by Laurell K. Hamilton: “Hope is a lying bitch.”

VS Code has a plenty of its own hurdles. Probably IAR is the most safe and stable option for a Windows user. Of course this comes with a price tag.  ARM/Keil has a free tier now.