bytecode-viewer icon indicating copy to clipboard operation
bytecode-viewer copied to clipboard

Moving through classes

Open foxiwhitee opened this issue 7 months ago • 7 comments

Hello. I recently started using your software. I have a few questions.

  1. Is it possible to make it so that when I highlight a part of the code, it is highlighted in the same file? (Like in Intelij IDEA for example) Because it is inconvenient to use Ctrl + F every time.
  2. Is it possible to somehow conveniently move between classes if they are present? It is a little difficult to explain, so I will give an example. In jd-gui, if a class is present, it is underlined and when you click on it, you go to this class

foxiwhitee avatar Jun 10 '25 07:06 foxiwhitee

Hello,

  1. We can see if we can get something like that to work.
  2. You can go to a class (along with field/method declarations). There are two ways, Ctrl + click or Ctrl + b (same as default IntelliJ key bindings). You just can't get their usages.

If you have any issues, let us know.

Bl3nd avatar Jun 10 '25 14:06 Bl3nd

Regarding the answer to the second question. I didn't get it using the key combinations you provided. In IDEA it's done with F4

foxiwhitee avatar Jun 10 '25 14:06 foxiwhitee

And also the question is whether it is possible to close all files at once?

foxiwhitee avatar Jun 10 '25 14:06 foxiwhitee

Regarding the answer to the second question. I didn't get it using the key combinations you provided. In IDEA it's done with F4

What version are you using? If you are using the latest or 2.13.0, you hover over the thing you want to go to first, then do the key binds. F4 and the other two combinations I mentioned do the exact same thing for me in IJ, but cool to know.

Note: if the class/method/field is contained in a java.*** type package, it won't work.

Bl3nd avatar Jun 10 '25 19:06 Bl3nd

https://github.com/user-attachments/assets/b691573f-3bf8-4da5-8a85-a4363eda6130

Code highlighting bug

foxiwhitee avatar Jun 11 '25 09:06 foxiwhitee

2025-06-11.12-30-20.mp4 Code highlighting bug

Sorry it has been a while since your last comment, but I cannot get the behavior you are getting. Is there anything specific that you did to make this happen other than selecting portions of text?

Bl3nd avatar Jun 29 '25 05:06 Bl3nd

No, I was just highlighting parts of the code, sometimes this happens just when you click.

foxiwhitee avatar Jun 29 '25 11:06 foxiwhitee