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