Refresh resources in gui thread asynchronous
Choose first open project for compilation unit creation