JetBrains Rider
 
Get JetBrains Rider
You are viewing the documentation for an earlier version of JetBrains Rider.

Context actions

Last modified: 10 August 2022

Alt+Enter

Context actions are code transformations helpers available right in the editor. In contrast to quick-fixes, context actions do not aim to resolve a problem or improve your code, instead, they allow you to quickly introduce minor changes like changing access modifiers, generating code that checks for null, convert 'foreach' to 'for', etc.

JetBrains Rider provides hundreds of context actions in all supported languages. You can find the full list on the Editor | Context Actions page of JetBrains Rider settings Ctrl+Alt+S and in the list of context actions.