Skip to content

Conversation

@Hmikihiro
Copy link
Contributor

@Hmikihiro Hmikihiro commented Jul 10, 2025

follow up #20218

  • Migrated the remaining calls to SourceChangeBuilder::replace to use the SyntaxEditor
  • Replaced usage of format! for AST generation with SyntaxFactory methods

It seems that with the current replacement, indentation is not preserved, so it may be necessary to migrate IndentLevel::increase_indent first.

@ShoyuVanilla
Copy link
Member

It seems that with the current replacement, indentation is not preserved, so it may be necessary to migrate IndentLevel::increase_indent first.

Oh, I'll take a look on it this weekend

@Hmikihiro Hmikihiro closed this Jul 22, 2025
@Hmikihiro Hmikihiro deleted the migrate_syntaxchangebuilder branch July 22, 2025 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants