> ## Documentation Index
> Fetch the complete documentation index at: https://docs.firebender.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Refactoring Tools

> Multi-file changes in an instant

Firebender takes advantage of built-in LSP refactoring actions. This lets it edit typed languages like Kotlin/Java much faster and safer.

## Rename Symbol

Here, the AI made 56 edits across 18 files in a few seconds. This would take \~215x longer if AI had to make each change with search-replace.

<video autoPlay loop muted playsInline style={{width: '100%', borderRadius: '12px'}}>
  <source src="https://mintcdn.com/firebendercorp/Rje__1HVJrEM1hrR/assets/rename-symbol-refactor.webm?fit=max&auto=format&n=Rje__1HVJrEM1hrR&q=85&s=ace39ddade9a7acc5b3751c26390f6c7" type="video/webm" data-path="assets/rename-symbol-refactor.webm" />
</video>

Uses IntelliJ's rename refactoring. Updates getters/setters, test names, imports, and type annotations. Warns on naming conflicts.

## Delete Symbol

Remove unused code. Checks for usages first, blocks deletion if symbol is still referenced. Optional force mode for intentional breaking changes.

In this example, the AI deletes a 318-line function in \< 1 second.

<video autoPlay loop muted playsInline style={{width: '100%', borderRadius: '12px'}}>
  <source src="https://mintcdn.com/firebendercorp/xsTfsDD0HRh_Ywn8/assets/jetbrains-delete-symbol.webm?fit=max&auto=format&n=xsTfsDD0HRh_Ywn8&q=85&s=5d0d24f4fcde495ff30990968e499076" type="video/webm" data-path="assets/jetbrains-delete-symbol.webm" />
</video>
