If there is an error where the code is not showing up in the window follow one of the following steps.
window -> New Window <-- Worked for me window -> reset perspective