Added code to detect Enter. Btw, to refresh your project, do File-Refresh. It will reupdate your project according to the source files.