Position the caret at an error or warning and press &shortcut:ShowIntentionActions; to invoke a quick-fix.