Open plafosse opened 7 years ago
This also applies to structures and arrays.
I would love to see this implemented
With HLIL and linear view this would be really nice. Right now if you have an indent block that spans more than a screen width in HLIL's linear view, it can be very difficult to find the indentation points where blocks are terminated.
There's a feature branch experimenting with adding indentation lines as well to help with this particular problem, though there's been some debate internally as to the right way to do it.
This would ideally include the ability to fold code blocks, e.g. long if
statements. (#3311)
I very much support the suggestion mentioned by @psifertex 【Code blocks, e.g. if statement branches and Sections and Structures and arrays】This is very user friendly
My original comment is super old and we actually do those bits. Code is not only indented according to structure but there are also empty lines to help differentiate:
The only thing left for this issue is the actual folding.
My original comment is super old and we actually do those bits. Code is not only indented according to structure but there are also empty lines to help differentiate:
The only thing left for this issue is the actual folding. Yes, it would be very comfortable if you could add actual folding
Regions in linear view should be collapsable and should have a default preference. By default things like ELF/PE headers, IAT/PLT entries should be collapsed. Should also implement keystrokes and clickable buttons to expand/collapse these regions.
Proposed foldable items:
if
statement branches