The functionality described below is only available in .NET/.NET Core and ASP.NET Core projects and requires Smart Mode to be enabled.
There are two ways of refactoring code in JetBrains Fleet: apply local code transformations (or context actions) and apply global refactorings which will analyze the entire solution and make sure that all affected references are properly updated.
To list context actions available for the current caret position, press AltEnter. Press 0↑ or 0↓ to pick the desired action, and then press Enter to apply it.
tip
When an action is selected in the AltEnter menu, press Ctrl0P to preview the result of that action.
In contrast to local transformations, global refactorings have dedicated shortcuts and menu entries. For example, to rename a symbol and all its usages in the current solution, press F2 or choose Code | Refactor | Rename from the menu (you can start either at the declaration or at any usage). JetBrains Fleet will show how many usages there are in the solution, and then you type a new name right over the old one and press Enter to apply the refactoring, or press Esc to cancel it.