Is your feature request related to a problem? Please describe.
Currently, the output file contains a bunch of partial class directives, often one after the other, but sometimes scattered around the output. This makes the outputted file harder to read (e.g: especially for plugin reviewers who don't have access to the full structured repository).
Describe the solution you'd like
An option to merge partial classes into one non-partial class. This would also make plugins look more like most plugins where there's no evidence of a merge tool having been used.
The ultimate goal of this is to make the output plugin more readable. While it's common in software to have outputs not human-readable, the use-case for Rust plugins has a different reality. A lot of people who consume the final merged plugin may find it more enjoyable to look and edit for their own needs if they're working in a structured file, without needing to track down all the partial classes.
Describe alternatives you've considered
Nothing.
Additional context
- This would probably come into conflict with orderings. Just something to keep in mind.
Is your feature request related to a problem? Please describe.
Currently, the output file contains a bunch of
partial classdirectives, often one after the other, but sometimes scattered around the output. This makes the outputted file harder to read (e.g: especially for plugin reviewers who don't have access to the full structured repository).Describe the solution you'd like
An option to merge partial classes into one non-partial class. This would also make plugins look more like most plugins where there's no evidence of a merge tool having been used.
The ultimate goal of this is to make the output plugin more readable. While it's common in software to have outputs not human-readable, the use-case for Rust plugins has a different reality. A lot of people who consume the final merged plugin may find it more enjoyable to look and edit for their own needs if they're working in a structured file, without needing to track down all the partial classes.
Describe alternatives you've considered
Nothing.
Additional context