Closed heejaechang closed 2 years ago
This would need to go through an API proposal. in general, the reason we don't just make things public is because it increases maintenance costs and locks down our ability to change things in teh future. We can open things up, but we have a process that requests need to go through to make sure the appropriate people weigh in and the right API shape is determined and shipped.
currently, each codefix/refactoring does its own logic to handle trivia when tree transform for code generation.
this makes each code fix/refactoring to have different degree of trivia handling and also different behavior.
this can't be 100% automated or make to have 100% same behavior. but we can provide some helper so that they have similar behavior.
we should have something that help in this area.