Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add search functionality to ESP-IDF serial terminal monitor (IEP-1298) #1024

Open
emaayan opened this issue Jul 26, 2024 · 3 comments
Open
Labels
enhancement New feature or request
Milestone

Comments

@emaayan
Copy link

emaayan commented Jul 26, 2024

it would be a huge help it were possible to have a simple find window in side the serial terminal to search for specific log entries.
just press either Ctrl+F or have a button in the terminal toolbar (or both) that pops up a window to search for a string to jump to that place.

@github-actions github-actions bot changed the title Add search functionality to ESP-IDF serial terminal monitor Add search functionality to ESP-IDF serial terminal monitor (IEP-1298) Jul 26, 2024
@kolipakakondal kolipakakondal added the enhancement New feature or request label Jul 29, 2024
@kolipakakondal
Copy link
Collaborator

Hi @emaayan Thanks for your request. We could think of implementing something similar to console search

Screenshot 2024-07-29 at 10 12 02 AM

@kolipakakondal kolipakakondal modified the milestones: v3.2, v3.2.0 Jul 29, 2024
@emaayan
Copy link
Author

emaayan commented Jul 29, 2024

Hi @emaayan Thanks for your request. We could think of implementing something similar to console search

Screenshot 2024-07-29 at 10 12 02 AM

Exactly ,sometimes when compiling and i look for something, it's easy to miss
2 other suggestions for the serial monitor , almost all of my api call are accompanied with esp_error_check however when i fail and it goes into a boot loop, it super hard to stop the monitor from scrolling so fast to actually see the error, not sure if it's possible to tell the monitor, maybe i just need to disconnect it.

I've noticed the serial monitor has hyperlinks to the tags, but those aren't very conclusive as they always assume it's a resource name, i'm not sure what's the convention for tags in logs, but in theory i think you could use the absract syntax tree to know what calls to logs use what tags, so if one hyper links on a tag it would be offered only files that actually use said tag.

@kolipakakondal
Copy link
Collaborator

By the way, we have a simple search filter available when launching the serial monitor. You can specify the text you want to filter out. If you know the exact tag/text you are looking for, you can use this feature for now.

Screenshot 2024-07-29 at 10 49 07 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants