Skip to content
New issue

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

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

Already on GitHub? # to your account

[Feature Request] allow searching for class/field/method declarations within the current file #263

Open
SpaceWalkerRS opened this issue Feb 26, 2025 · 2 comments · May be fixed by #266
Open
Labels
enhancement New feature or request user interface affects the enigma ui

Comments

@SpaceWalkerRS
Copy link

The current search dialog allows searching through the entire jar, but sometimes I'm looking for a specific method in the current file. The search dialog or even the ctrl+f search are not convenient when looking for a specific field/method (or even inner class sometimes) in the current file if it's very long.

  • ctrl+f just matches the string, which includes calls to the desired field/method/class and even entirely different entries if the search key is part of their name.
  • ctrl+shift+f searches for declarations through the whole jar, and if you're searching for a method that is implemented by many classes, or if the field/method name appears in several classes, it's a pain to sift through the results.

A variation of the search dialog that is limited to just the current file would be a convenient solution.

@ix0rai ix0rai added enhancement New feature or request user interface affects the enigma ui labels Feb 26, 2025
@ix0rai
Copy link
Member

ix0rai commented Feb 26, 2025

i think that situating this search bar in the structure panel is the best move here -- we could also have a keybind to open the structure panel with the search highlighted

@SpaceWalkerRS
Copy link
Author

sounds great!

@ix0rai ix0rai linked a pull request Feb 28, 2025 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request user interface affects the enigma ui
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants