To inline resource
- Position the caret at the name of resource in code file:
or in .resx file:
- On the main menu, choose ReSharper | Refactor | Inline or press
Ctrl+Alt+N. The Inline Resource
dialog box opens:
- Specify refactoring options:
- Inline all usages: if selected, inlines all usages of the resource. If deselected, inlines only the resource usage where the caret is positioned in the editor.
- Remove inlined resource declaration: if selected, removes resource declaration. If deselected, leaves declaration intact.
- Click Next to apply the refactoring.