ide: Make Escape in CodeEditor only fill up space if a ProjectView is opened