Refactor

Refactor is a "quick fix" menu option that works by highlighting an entire method or class and clicking Refactor.

This will instruct the AI to produce cleaner and more concise code and implement error handling where it thinks its appropriate.