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

Source file search overlay similar to sublime/atom/chrome debugger's ctrl+p #192

Open
chenlijun99 opened this issue May 11, 2018 · 4 comments

Comments

@chenlijun99
Copy link

Hi,

I was just wondering whether gdbgui provides a way to quick access the source files of the binary, maybe through fuzzy search.
For example chrome debugger supports this with Ctrl+p.

AFAIK the source files are retrievable from gdb with the info source command.

@chenlijun99
Copy link
Author

Sorry for not paying enough attention to the screencast.
This feature is already available.

@chenlijun99
Copy link
Author

chenlijun99 commented May 12, 2018

Currently it's not so pleasant to use though, compared to the quick access menu that chrome debugger supplies.
screenshot from 2018-05-12 17-07-19

If the paths of files are quite long, I can't see the full path.
IMHO it would be more user friendly to have the suggestion menu overlay all the windows.
The autocomplete suggestions menu shouldn't be cut by the edge of the window in which it resides.

@chenlijun99 chenlijun99 reopened this May 12, 2018
@cs01 cs01 added the feature label May 28, 2018
@cs01 cs01 changed the title Quick access all the involved source files Source file search overlay similar to sublime/atom/chrome debugger's ctrl+p May 28, 2018
@cs01
Copy link
Owner

cs01 commented May 28, 2018

Originally the source file input was a long bar that went across the entire window (underneath the input to enter the executable). When I created the file tree viewer, I moved it, but it is now in a smaller pane. Have you tried resizing the far left pane? Probably not ideal, but it might help.

@chenlijun99
Copy link
Author

Resizing the pane could be a temporary workaround, but it's kind of hassling.
Anyway, thank you for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants