2025-04-10 6:53 PM - edited 2025-04-11 9:03 AM
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
Solved! Go to Solution.
2025-04-11 9:11 AM - edited 2025-04-11 9:28 AM
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.
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)
Why changing the displayed tab before pressing the "search" button makes it work is beyond me.... sigh!!!
2025-04-11 9:39 AM
Strange!
I always use the 'File Search' tab, and it seems to work for me!
(I do it via the Search > File... menu)
2025-04-11 9:43 AM
Hi @Andrew Neil
Result with "file search" tab selected:
Result with "C/C++" tab selected:
This code is very unstable... even the "scope" changes depending on which tab is selected... sigh
2025-04-11 9:59 AM
They are different searches - so not surprising that they have different results, and different defaults.
2025-04-11 10:04 AM
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?
2025-04-11 10:31 AM
Both searches failed.... Why can't we get a single search with all hits?
2025-04-12 1:31 AM
@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 ?
2025-04-12 11:54 AM - edited 2025-04-12 1:18 PM
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.
2025-04-12 4:41 PM - edited 2025-04-12 5:02 PM
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.