Code Providers – Embed Selection
The Embed Selection code provider allows you to wrap the selection into the predefined code blocks from the Code Embedding feature of CodeRush. The code provider is available when a whole line or multiple lines are selected and at least one embedding is predefined for the current language.
To apply the code provider, select the text or a code block in the code editor, and choose one of the available embeddings from the Embed Selection menu:
