If you saved the changes before committing it should available in your local project just try to reopen the project in valid version or If you have been using version control systems like Git or svn, you can check if you have committed and pushed your changes before the crash. In that case, you can clone the repository and retrieve the latest committed changes.