Skip to content

dynamically indent comments in decompiler view #575

@williballenthin

Description

@williballenthin

Is your feature request related to a problem? Please describe.
The decompiler view emits comments at a static indent level. When code is nested at various levels, such as with if or while blocks, then indentation changes, and comments don't line up with other source code.

Describe the solution you'd like
For the indentation of comments to match that of the surrounding source code.

Additional context

static comment indentation configuration:

image

example showing comments not lining up with surrounding source code:

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions